-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM cfljam/pyrat | ||
FROM cfljam/pyrat_genetics | ||
|
||
MAINTAINER John McCallum [email protected] | ||
|
||
|
@@ -21,7 +21,7 @@ RUN set -xe ;\ | |
apt-get install -y \ | ||
build-essential \ | ||
python-setuptools \ | ||
python-biopython | ||
python-biopython | ||
|
||
### Install python packages | ||
### Note explicit use of Py version to avoid pip version issues | ||
|
@@ -34,22 +34,22 @@ ENV PERL5LIB /usr/local/lib/perl5 | |
|
||
## Install VCF lib | ||
RUN set -xe ;\ | ||
cachebust=ce69f84cf5 git clone --recursive https://github.com/ekg/vcflib.git ;\ | ||
git clone --recursive https://github.com/ekg/vcflib.git ;\ | ||
cd vcflib ;\ | ||
make ;\ | ||
cp ./bin/* /usr/local/bin/ | ||
|
||
## Install HTS lib | ||
RUN set -xe ;\ | ||
cachebust=dfd67733e1 git clone --branch=develop https://github.com/samtools/htslib.git ;\ | ||
git clone --branch=develop https://github.com/samtools/htslib.git ;\ | ||
cd htslib ;\ | ||
make ;\ | ||
make test ;\ | ||
make install | ||
|
||
## Install samtools | ||
RUN set -xe ;\ | ||
cachebust=29b03673d6 git clone --branch=develop https://github.com/samtools/samtools.git ;\ | ||
git clone --branch=develop https://github.com/samtools/samtools.git ;\ | ||
cd samtools ;\ | ||
make HTSDIR=/tmp/htslib;\ | ||
make test ;\ | ||
|
@@ -61,7 +61,7 @@ RUN set -xe ;\ | |
|
||
### Install Exonerate | ||
RUN set -xe ;\ | ||
cachebust=9c09e4f4ae git clone https://github.com/nathanweeks/exonerate.git ;\ | ||
git clone https://github.com/nathanweeks/exonerate.git ;\ | ||
cd exonerate ;\ | ||
git checkout v2.4.0;\ | ||
autoreconf -f -i ;\ | ||
|
@@ -72,18 +72,13 @@ RUN set -xe ;\ | |
|
||
## Install BCF tools | ||
RUN set -xe ;\ | ||
cachebust=18444012a9 git clone --branch=develop https://github.com/samtools/bcftools.git ;\ | ||
git clone --branch=develop https://github.com/samtools/bcftools.git ;\ | ||
cd bcftools ;\ | ||
make HTSDIR=/tmp/htslib;\ | ||
make test ;\ | ||
make install | ||
|
||
|
||
## Install R packages for Genetics | ||
ADD R-requirements.txt /tmp/ | ||
RUN install2.r --error $(cat /tmp/R-requirements.txt) \ | ||
&& Rscript -e 'source("http://bioconductor.org/biocLite.R"); biocLite("Gviz")' | ||
|
||
## Install VCF tools | ||
RUN set -xe ;\ | ||
git clone https://github.com/vcftools/vcftools;\ | ||
|