-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
133 lines (119 loc) · 3.8 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
FROM ubuntu:17.10
MAINTAINER Rob Syme <[email protected]>
RUN apt-get update \
&& apt-get install -qqy \
aragorn \
bowtie2 \
build-essential \
cufflinks \
default-jre \
exonerate \
genometools \
git \
iputils-ping \
libbamtools-dev \
libbio-perl-perl \
libboost-graph-dev \
libboost-iostreams-dev \
libdbi-perl \
libgsl-dev \
libio-string-perl \
liblpsolve55-dev \
libmysqlclient-dev \
libparallel-forkmanager-perl \
libpng-dev \
libsqlite3-dev \
libssl-dev \
libsuitesparse-dev \
lua5.1 \
openssl \
python \
python-dev \
python-numpy \
r-base \
r-cran-dplyr \
r-cran-magrittr \
r-cran-phangorn \
r-cran-reshape2 \
rsync \
tabix \
time \
unzip \
wget \
zlib1g-dev
WORKDIR /usr/local
# Install Augustus
RUN wget http://bioinf.uni-greifswald.de/augustus/binaries/augustus-3.3.tar.gz \
&& tar -xvf augustus*.tar.gz \
&& rm augustus*.tar.gz \
&& cd augustus \
&& echo "COMPGENEPRED = true" >> common.mk \
&& echo "SQLITE = true" >> common.mk \
&& make \
&& make install
# Install ProgressiveCactus
RUN ln -s /usr/lib/python2.7/plat-*/_sysconfigdata_nd.py /usr/lib/python2.7/
RUN git clone git://github.com/glennhickey/progressiveCactus.git \
&& cd progressiveCactus \
&& git checkout tags/0.1 -b 0.1 \
&& git submodule update --init
COPY patches/ktremote.patch progressiveCactus/submodules/kyototycoon/
COPY patches/ktulog.patch progressiveCactus/submodules/kyototycoon/
COPY patches/kyotocabinet-1.2.76-gcc6.patch progressiveCactus/submodules/kyotocabinet/
RUN cd progressiveCactus/submodules/kyototycoon && patch < ktulog.patch && patch < ktremote.patch
RUN cd progressiveCactus/submodules/kyotocabinet && patch < kyotocabinet-1.2.76-gcc6.patch
RUN cd progressiveCactus && make
# Install Hisat2
RUN wget ftp://ftp.ccb.jhu.edu/pub/infphilo/hisat2/downloads/hisat2-2.1.0-Linux_x86_64.zip \
&& unzip hisat2-2.1.0-Linux_x86_64.zip \
&& mv hisat2-2.1.0 hisat2 \
&& rm *.zip
# Install MASH v2.0
RUN wget https://github.com/marbl/Mash/releases/download/v2.0/mash-Linux64-v2.0.tar \
&& tar -xvf mash*.tar \
&& rm mash*.tar \
&& mv mash-* mash
# Install newick utils
RUN wget http://cegg.unige.ch/pub/newick-utils-1.6-Linux-x86_64-disabled-extra.tar.gz \
&& tar -xvf newick-utils*.tar.gz \
&& rm newick-utils*.tar.gz \
&& mv newick-utils-* newick-utils \
&& cd newick-utils \
&& ./configure \
&& make
# Install CodingQuarry
RUN wget https://downloads.sourceforge.net/project/codingquarry/CodingQuarry_v2.0.tar.gz \
&& tar -xvf CodingQuarry*.tar.gz \
&& rm CodingQuarry*.tar.gz \
&& mv CodingQuarry_v2.0 codingquarry \
&& cd codingquarry \
&& make
# Install kentUtils
RUN git clone git://github.com/ENCODE-DCC/kentUtils.git \
&& cd kentUtils \
&& make
# Install blat
RUN wget http://hgwdev.cse.ucsc.edu/~kent/src/blatSrc36.zip \
&& mkdir -p /root/bin/x86_64 \
&& unzip blatSrc36.zip \
&& rm -rf blat*.zip \
&& mv blatSrc blat \
&& cd blat \
&& make
# Install Trinity v2.5.1
RUN wget https://github.com/trinityrnaseq/trinityrnaseq/archive/Trinity-v2.5.1.tar.gz \
&& tar -xvf Trinity*.tar.gz \
&& rm Trinity*.tar.gz \
&& mv trinityrnaseq-Trinity-v2.5.1 trinity
COPY patches/Chrysalis_makefile.patch /usr/local/trinity/Chrysalis/
RUN cd /usr/local/trinity/Chrysalis \
&& patch < Chrysalis_makefile.patch \
&& cd /usr/local/trinity \
&& make \
&& make plugins \
&& make install
ENV TRINITY_HOME /usr/local/bin/trinity
ENV QUARRY_PATH /usr/local/codingquarry/QuarryFiles
ENV AUGUSTUS_CONFIG_PATH /usr/local/augustus/config
ENV PYTHONPATH /usr/local/progressiveCactus/submodules
ENV PATH /usr/local/augustus/bin:/usr/local/augustus/scripts:/usr/local/progressiveCactus/bin:/usr/local/progressiveCactus/submodules/kentToolBinaries:/usr/local/hisat2:/usr/local/mash:/usr/local/progressiveCactus/submodules/hal/bin:/usr/local/newick-utils/src:/usr/local/codingquarry:/usr/local/kentUtils/bin:/root/bin/x86_64:/usr/local/bin/trinity:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin