-
Notifications
You must be signed in to change notification settings - Fork 683
/
Copy pathDockerfile
42 lines (32 loc) · 1.14 KB
/
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
37
38
39
40
41
FROM pditommaso/dkrbase:1.2
MAINTAINER Paolo Di Tommaso <[email protected]>
RUN apt-get update -y && apt-get install -q -y gnuplot python && apt-get clean
#
# Required PERL modules
#
RUN cpanm Math::CDF Math::Round && \
rm -rf /root/.cpanm/work/
#
# BLAST
#
RUN wget -q ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.29/ncbi-blast-2.2.29+-x64-linux.tar.gz && \
tar xf ncbi-blast-2.2.29+-x64-linux.tar.gz && \
mv ncbi-blast-2.2.29+ /opt/ && \
rm -rf ncbi-blast-2.2.29+-x64-linux.tar.gz && \
ln -s /opt/ncbi-blast-2.2.29+/ /opt/blast
#
# install T-Coffee
#
RUN wget -q http://tcoffee.org/Packages/Stable/Version_11.00.8cbe486/linux/T-COFFEE_installer_Version_11.00.8cbe486_linux_x64.tar.gz && \
tar xf T-COFFEE_installer_Version_11.00.8cbe486_linux_x64.tar.gz -C /opt && \
mv /opt/T-COFFEE_installer_Version_11.00.8cbe486_linux_x64 /opt/tcoffee && \
rm -rf /opt/tcoffee/plugins/linux/* && \
rm T-COFFEE_installer_Version_11.00.8cbe486_linux_x64.tar.gz
#
# Add AMPA script to bin folder
#
ADD bin/AMPA.pl /usr/local/bin/
#
# Configure the env
#
ENV PATH="$PATH:/opt/ncbi-blast-2.2.29+/bin:/opt/tcoffee/bin"