-
Notifications
You must be signed in to change notification settings - Fork 55
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 #274 from sanger-pathogens/rt660940_add_spades_to_…
…docker RT 660940 - add spades to docker file
- Loading branch information
Showing
4 changed files
with
27 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,11 @@ ENV DEBIAN_FRONTEND=noninteractive | |
|
||
MAINTAINER [email protected] | ||
|
||
# Software version numbers | ||
ARG BOWTIE2_VERSION=2.2.9 | ||
ARG SPADES_VERSION=3.13.1 | ||
ARG ARIBA_VERSION=2.14.2 | ||
|
||
RUN apt-get -qq update && \ | ||
apt-get install --no-install-recommends -y \ | ||
build-essential \ | ||
|
@@ -22,19 +27,25 @@ RUN apt-get -qq update && \ | |
wget \ | ||
zlib1g-dev | ||
|
||
RUN wget -q http://downloads.sourceforge.net/project/bowtie-bio/bowtie2/2.2.9/bowtie2-2.2.9-linux-x86_64.zip \ | ||
&& unzip bowtie2-2.2.9-linux-x86_64.zip \ | ||
&& rm -f bowtie2-2.2.9-linux-x86_64.zip | ||
RUN wget -q http://downloads.sourceforge.net/project/bowtie-bio/bowtie2/${BOWTIE2_VERSION}/bowtie2-${BOWTIE2_VERSION}-linux-x86_64.zip \ | ||
&& unzip bowtie2-${BOWTIE2_VERSION}-linux-x86_64.zip \ | ||
&& rm -f bowtie2-${BOWTIE2_VERSION}-linux-x86_64.zip | ||
|
||
RUN wget -q https://github.com/ablab/spades/releases/download/v${SPADES_VERSION}/SPAdes-${SPADES_VERSION}-Linux.tar.gz \ | ||
&& tar -zxf SPAdes-${SPADES_VERSION}-Linux.tar.gz \ | ||
&& rm -f SPAdes-${SPADES_VERSION}-Linux.tar.gz | ||
|
||
# Need MPLBACKEND="agg" to make matplotlib work without X11, otherwise get the error | ||
# _tkinter.TclError: no display name and no $DISPLAY environment variable | ||
ENV ARIBA_BOWTIE2=$PWD/bowtie2-2.2.9/bowtie2 ARIBA_CDHIT=cdhit-est MPLBACKEND="agg" | ||
ENV ARIBA_BOWTIE2=$PWD/bowtie2-${BOWTIE2_VERSION}/bowtie2 ARIBA_CDHIT=cdhit-est MPLBACKEND="agg" | ||
ENV PATH=$PATH:$PWD/SPAdes-${SPADES_VERSION}-Linux/bin | ||
|
||
RUN cd /usr/local/bin && ln -s /usr/bin/python3 python && cd | ||
|
||
RUN git clone https://github.com/sanger-pathogens/ariba.git \ | ||
&& cd ariba \ | ||
&& git checkout v2.14.1 \ | ||
&& git checkout v${ARIBA_VERSION} \ | ||
&& rm -rf .git \ | ||
&& python3 setup.py test \ | ||
&& python3 setup.py install | ||
|
||
|
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