-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathDockerfile
More file actions
35 lines (29 loc) · 1.07 KB
/
Copy pathDockerfile
File metadata and controls
35 lines (29 loc) · 1.07 KB
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
FROM centos
# Install some utilities
RUN yum install -y wget tar perl perl-DBI perl-DBD-MySQL gcc make mysql
# Make a software folder
RUN mkdir /software
# Install blast
RUN cd /software \
&& wget ftp://ftp.ncbi.nlm.nih.gov/blast/executables/release/LATEST/blast-2.2.26-x64-linux.tar.gz \
&& tar -xzvf blast-2.2.26-x64-linux.tar.gz \
&& rm blast-2.2.26-x64-linux.tar.gz
# Install MCL
RUN cd /software \
&& wget http://micans.org/mcl/src/mcl-14-137.tar.gz \
&& tar -xzvf mcl-14-137.tar.gz \
&& rm mcl-14-137.tar.gz \
&& cd /software/mcl-14-137 \
&& ./configure --enable-blast --prefix=/software/mcl \
&& make install \
&& cd /software \
&& rm -rf /software/mcl-14-137
# Install OrthoMCL
RUN cd /software \
&& wget http://www.orthomcl.org/common/downloads/software/v2.0/orthomclSoftware-v2.0.9.tar.gz \
&& tar -xzvf orthomclSoftware-v2.0.9.tar.gz \
&& rm orthomclSoftware-v2.0.9.tar.gz
# Setup the paths
ENV PATH $PATH:/software/blast-2.2.26/bin
ENV PATH $PATH:/software/mcl/bin
ENV PATH $PATH:/software/orthomclSoftware-v2.0.9/bin