Skip to content

Commit

Permalink
Merge pull request #5 from eweitz/segment-docs
Browse files Browse the repository at this point in the history
Document principles and example, enable use in Jupyter
  • Loading branch information
eweitz authored Jan 15, 2020
2 parents 2154ad0 + 2197633 commit 0a5dd6e
Show file tree
Hide file tree
Showing 35 changed files with 1,474 additions and 706 deletions.
2 changes: 1 addition & 1 deletion degenome/dge_to_ideogram.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'''Convert differential gene expression (DGE) matrix into Ideogram annotations
'''Convert differential gene expression (DGE) matrix into Ideogram JSON
This pipeline converts a DGE matrix file containing gene expression summary
statistics into an Ideogram.js annotations JSON file. The resulting JSON file
Expand Down
Binary file removed docs/_build/.DS_Store
Binary file not shown.
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file not shown.
Binary file modified docs/_build/doctrees/index.doctree
Binary file not shown.
Binary file not shown.
Binary file added docs/_build/doctrees/reduce-gtf.doctree
Binary file not shown.
Binary file not shown.
Binary file added docs/_build/doctrees/tutorial.doctree
Binary file not shown.
Binary file not shown.
5 changes: 4 additions & 1 deletion docs/_build/html/_sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@ https://eweitz.github.io/ideogram/differential-expression.
:maxdepth: 2
:hidden:

installation
installation
reduce-gtf
transform-dge-matrix
tutorial
34 changes: 34 additions & 0 deletions docs/_build/html/_sources/index.rst.txt~Stashed changes
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
DEGenome – Differential expression across the genome
====================================================
|Build| |Coverage|


DEGenome transforms differential gene expression (DGE) data to Ideogram_ JSON.

Written in Python, the DEGenome pipeline takes in genome annotations and DGE
matrices, and outputs Ideogram.js JSON annotation files.

You can then upload Ideogram JSON to the cloud, and explore it in an
interactive genome visualization at
https://eweitz.github.io/ideogram/differential-expression.

.. _Ideogram: https://github.com/eweitz/ideogram

.. |Build| image:: https://img.shields.io/circleci/build/github/eweitz/degenome.svg
:target: https://circleci.com/gh/eweitz/degenome

.. |Coverage| image:: https://codecov.io/gh/eweitz/degenome/branch/master/graph/badge.svg
:target: https://codecov.io/gh/eweitz/degenome

.. image:: images/explore_differential_expression_across_the_genome.png
:width: 690
:alt: Explore differential expression across the genome

.. toctree::
:maxdepth: 2
:hidden:

installation
reduce-gtf
transform-dge-matrix
tutorial
17 changes: 17 additions & 0 deletions docs/_build/html/_sources/reduce-gtf.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Reduce GTF
==========
Each organism processed by DEGenome will need a reduced GTF, i.e. a "gen_pos.tsv" file.

The `gtf_to_gen_pos.py` CLI module converts a GTF genome annotation file from
GENCODE, Ensembl, or NCBI into a smaller, simpler, and more metadata-rich TSV
gene position ("gen_pos") file. The purpose is to speed up, simplify, and
enrich downstream pipelines that require only data on genes, and not e.g.
transcripts or exons.

Example GTF files
^^^^^^^^^^^^^^^^^
* `Human (Homo sapiens), from GENCODE <ftp://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_32/gencode.v32.basic.annotation.gtf.gz>`_
* `Mouse (Mus musculus), from GENCODE <ftp://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_mouse/release_M23/gencode.vM23.basic.annotation.gtf.gz>`_
* `Thale cress (Arabidopsis thaliana), from Ensembl <ftp://ftp.ensemblgenomes.org/pub/release-45/plants/gtf/arabidopsis_thaliana/Arabidopsis_thaliana.TAIR10.45.gtf.gz>`_
* `Worm (Caenorhabditis elegans), from Ensembl <ftp://ftp.ensemblgenomes.org/pub/release-45/metazoa/gtf/caenorhabditis_elegans/Caenorhabditis_elegans.WBcel235.45.gtf.gz>`_
* `Rat (Rattus norvegicus), from Ensembl <ftp://ftp.ensembl.org/pub/release-98/gtf/rattus_norvegicus/Rattus_norvegicus.Rnor_6.0.98.chr.gtf.gz>`_
45 changes: 45 additions & 0 deletions docs/_build/html/_sources/transform-dge-matrix.rst.txt

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions docs/_build/html/_sources/tutorial.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Tutorial
========

For a walk-through example of using DEGenome to convert a differential gene expression
matrix to Ideogram JSON, see the `"DEGenome tutorial" Jupyter Notebook on
Terra <https://app.terra.bio/#workspaces/degenome/degenome/notebooks/launch/degenome-tutorial.ipynb>`_.
Loading

0 comments on commit 0a5dd6e

Please sign in to comment.