-
Notifications
You must be signed in to change notification settings - Fork 4
/
Dockerfile
64 lines (49 loc) · 1.54 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
FROM ileena/strtools:latest
# Get necessary packages
RUN apt-get update
RUN apt-get install -qqy \
autotools-dev \
automake \
libtool libtool-bin \
libgsl-dev
#install latest cmake (needed for STRDenovoTools)
ADD https://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.sh /cmake-3.7.2-Linux-x86_64.sh
RUN mkdir /opt/cmake
RUN sh /cmake-3.7.2-Linux-x86_64.sh --prefix=/opt/cmake --skip-license
RUN ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake
RUN cmake --version
# Install packages
RUN pip3 install pycrypto
RUN pip3 install pandas
# Download, compile, and install GangSTR v2.4.4 for chrX
RUN wget -O GangSTR-2.4.4.tar.gz https://github.com/gymreklab/GangSTR/releases/download/v2.4.4/GangSTR-2.4.4.tar.gz
RUN tar -xzvf GangSTR-2.4.4.tar.gz
WORKDIR GangSTR-2.4.4
RUN ./install-gangstr.sh
RUN ldconfig
WORKDIR ..
# Download, compile, and install Vcftools
RUN wget https://github.com/vcftools/vcftools/releases/download/v0.1.16/vcftools-0.1.16.tar.gz
RUN tar -xzvf vcftools-0.1.16.tar.gz
WORKDIR vcftools-0.1.16
RUN ./autogen.sh && ./configure && make && make install
WORKDIR ..
# Download, compile, and install CookieMonSTR
RUN apt-get update && apt-get install -qqy cmake
RUN git clone https://github.com/gymreklab/STRDenovoTools
WORKDIR STRDenovoTools
RUN mkdir build
WORKDIR build
RUN cmake ..
RUN make
RUN make install
WORKDIR ..
WORKDIR ..
# Download, compile, and install Datamash
RUN wget http://ftp.gnu.org/gnu/datamash/datamash-1.3.tar.gz
RUN tar -xzf datamash-1.3.tar.gz
WORKDIR datamash-1.3
RUN ./configure
RUN make
RUN make check
RUN make install