-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from broadinstitute/dpark-dev
change subsampled reads from fastq to bam, add installation instructions to RTD
- Loading branch information
Showing
16 changed files
with
190 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Command line tools | ||
================== | ||
|
||
.. toctree:: | ||
|
||
taxon_filter | ||
assembly | ||
interhost | ||
intrahost | ||
read_utils | ||
reports | ||
broad_utils | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
Installation | ||
============ | ||
|
||
|
||
System dependencies | ||
------------------- | ||
|
||
This is known to install cleanly on most modern Linux systems with Python, | ||
Java, and some basic development libraries. On Ubuntu 14.04 LTS, the | ||
following APT packages should be installed on top of the vanilla setup:: | ||
|
||
python3 python3-pip python3-nose | ||
python-software-properties | ||
zlib zlib1g zlib1g-dev | ||
libblas3gf libblas-dev liblapack3gf liblapack-dev | ||
libatlas-dev libatlas3-base libatlas3gf-base libatlas-base-dev | ||
gfortran | ||
oracle-java8-installer | ||
libncurses5-dev | ||
|
||
The Fortran libraries (including blas and atlas) are required to install | ||
numpy via pip from source. numpy is not actually required if you have | ||
Python 3.4, if you want to avoid this system dependency. | ||
|
||
**Java >= 1.7** is required by GATK and Picard. | ||
|
||
|
||
Python dependencies | ||
------------------- | ||
|
||
The **command line tools** require Python >= 2.7 or >= 3.4. Required packages | ||
(like pysam and Biopython) are listed in requirements.txt and can be | ||
installed the usual pip way:: | ||
|
||
pip install -r requirements.txt | ||
|
||
Additionally, in order to use the **pipeline infrastructure**, Python 3.4 | ||
is required (Python 2 is not supported) and you must install snakemake | ||
as well:: | ||
|
||
pip install snakemake==3.2 yappi=0.94 | ||
|
||
You should either sudo pip install or use a virtualenv (recommended). | ||
|
||
|
||
Tool dependencies | ||
----------------- | ||
|
||
A lot of effort has gone into writing auto download/compile wrappers for | ||
most of the bioinformatic tools we rely on here. They will auto-download | ||
and install the first time they are needed by any command. If you want | ||
to pre-install all of the external tools, simply type this:: | ||
|
||
python -m unittest test.test_tools.TestToolsInstallation -v | ||
|
||
However, there are two tools in particular that cannot be auto-installed | ||
due to licensing restrictions. You will need to download and install | ||
these tools on your own (paying for it if your use case requires it) and | ||
set environment variables pointing to their installed location. | ||
|
||
* GATK - http://www.broadinstitute.org/gatk/ | ||
* Novoalign - http://www.novocraft.com/products/novoalign/ | ||
|
||
The environment variables you will need to set are GATK_PATH and | ||
NOVOALIGN_PATH. These should be set to the full directory path | ||
that contains these tools (the jar file for GATK and the executable | ||
binaries for Novoalign). | ||
|
||
Alternatively, if you are using the Snakemake pipelines, you can create | ||
a dictionary called "env_vars" in the config.json file for Snakemake, | ||
and the pipelines will automatically set all environment variables prior | ||
to running any scripts. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
Using the Snakemake pipelines | ||
============================= | ||
|
||
Much more documentation to come... | ||
|
||
This utilizes Snakemake, which is documented at | ||
https://bitbucket.org/johanneskoester/snakemake/wiki/Home | ||
|
||
Note that Python 3.4 is required to use these tools with Snakemake. | ||
|
||
|
||
Setting up an analysis directory | ||
-------------------------------- | ||
|
||
|
||
Configuring for your compute platform | ||
------------------------------------- | ||
|
||
|
||
|
||
Assembly of pre-filtered reads | ||
------------------------------ | ||
|
||
Taxonomic filtration of raw reads | ||
--------------------------------- | ||
|
||
Starting from Illumina BCL directories | ||
-------------------------------------- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Reports | ||
reports.py - produce various metrics and reports | ||
===================================== | ||
|
||
.. argparse:: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,16 +12,7 @@ | |
Then type "ref_assisted" and wait a few hours for aligned BAMs, VCFs, and | ||
FASTAs. | ||
This is designed for use on a single linux computer (e.g. Ubuntu 14.04 LTS) with: | ||
apt-get install: | ||
python3 python3-pip python-software-properties | ||
zlib zlib1g zlib1g-dev | ||
libblas3gf libblas-dev liblapack3gf liblapack-dev | ||
libatlas-dev libatlas3-base libatlas3gf-base libatlas-base-dev | ||
gfortran git oracle-java8-installer | ||
libncurses5-dev python3-nose | ||
pip3 install -r requirements.txt | ||
pip3 install snakemake==3.2 yappi==0.94 | ||
This is designed for use on a single linux computer. | ||
""" | ||
|
||
__author__ = 'Daniel Park <[email protected]>' | ||
|
Oops, something went wrong.