-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
72 lines (53 loc) · 2.01 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
FROM ubuntu:14.04
MAINTAINER Jeff Cole <coleti16@students.ecu.edu>
# Install all the software needed to run the pipeline
RUN apt-get -qq update
RUN apt-get install -y wget git build-essential cmake unzip curl
RUN apt-get install -qqy python3-setuptools python3-docutils python3-flask
RUN easy_install3 pip
# RUN pip install snakemake
ARG package
WORKDIR /home/usr
RUN mkdir data
RUN apt-get -y install libboost-dev
RUN apt-get -y install libboost-program-options-dev
RUN wget ftp://pbil.univ-lyon1.fr/pub/logiciel/silix/silix-1.2.11.tar.gz
RUN tar zxvf silix-1.2.11.tar.gz
WORKDIR /home/usr/silix-1.2.11
RUN ./configure
RUN make
RUN make check
RUN make install
WORKDIR /home/usr
#RUN git clone https://github.com/veg/hyphy.git
#WORKDIR /home/usr/hyphy
#RUN cmake . ;cmake .; make HYPHYMP; make install
WORKDIR /home/usr
RUN git clone https://github.com/tijeco/FUSTr.git
RUN wget -qO- -O tmp.zip https://sourceforge.net/projects/evolveagene/files/EvolvAGene4%20Package.zip && \
unzip tmp.zip && rm tmp.zip
RUN echo 'for name in *\ *; do mv -v "$name" "${name// /}"; done' > tmp.sh
RUN ["bash", "tmp.sh"]
RUN cp EvolvAGene4Package/EvolveAGene4-linux-x86-64 /usr/bin/EvolveAGene
WORKDIR /home/usr/FUSTr/Simulations/
RUN git pull
# RUN ["python3","/home/usr/FUSTr/Simulations/makeSeed.py","8"]
#
# RUN snakemake
# -d /home/usr/FUSTr/Simulations/seeds/
RUN echo 'export PATH=/opt/conda/bin:$PATH' > /etc/profile.d/conda.sh && \
wget --quiet https://repo.continuum.io/miniconda/Miniconda3-4.3.14-Linux-x86_64.sh -O ~/miniconda.sh && \
/bin/bash ~/miniconda.sh -b -p /opt/conda && \
rm ~/miniconda.sh
#RUN conda install numpy biopython scipy -y
RUN pip install numpy biopython scipy
##
ENV PATH /opt/conda/bin:$PATH
RUN conda install snakemake -c bioconda
ENV PATH /home/usr/FUSTr/bin:$PATH
# RUN wget http://topaz.gatech.edu/GeneMark/tmp/GMtool_nNklB/gmst_linux_64.tar.gz
RUN ln -sf /bin/bash /bin/sh
# RUN rm /bin/sh && ln -sf /bin/bash /bin/sh
# RUN source ~/.profile && cmd
WORKDIR /home/usr/
COPY $package /home/usr/data