forked from sanger-pathogens/ariba
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
36 lines (31 loc) · 929 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FROM ubuntu:17.04
RUN apt-get update
RUN apt-get install --no-install-recommends -y \
build-essential \
cd-hit \
curl \
git \
libbz2-dev \
liblzma-dev \
mummer \
python \
python3-dev \
python3-setuptools \
python3-pip \
python3-tk \
python3-matplotlib \
unzip \
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 bowtie2-2.2.9-linux-x86_64.zip
# 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"
RUN git clone https://github.com/sanger-pathogens/ariba.git \
&& cd ariba \
&& git checkout v2.10.1 \
&& python3 setup.py test \
&& python3 setup.py install
CMD ariba