-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile
67 lines (53 loc) · 1.79 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
FROM ubuntu:22.04
LABEL version="1.1.1"
WORKDIR /amir-p3
RUN apt-get update
RUN apt-get install -y autoconf
RUN apt-get install -y gcc-multilib
RUN apt-get install -y git
RUN apt-get install -y make
RUN apt-get install -y openjdk-8-jdk
RUN apt-get install -y perl
RUN apt-get install -y python3.10
RUN apt-get install -y sqlite3
RUN apt-get install -y tar
RUN apt-get install -y unzip
RUN apt-get install -y wget
RUN apt-get install -y ncbi-blast+
RUN apt-get install -y bedtools
RUN apt-get install -y texlive-font-utils
RUN apt-get install -y build-essential
RUN apt-get install -y python3-pip
RUN apt-get install -y gfortran
COPY ./software /amir-p3/software
WORKDIR /amir-p3/software
RUN find . -type f -wholename '*.tar.gz' -exec sh -c 'tar -xzvf {} && rm {}' \;
# unafold
RUN cd ./unafold-3.7 && ./configure && make && make install
# mfold
RUN cd ./mfold-3.6 && ./configure && make && make install
# contrafold
RUN cd ./contrafold/src && make clean && make
# mxfold
# RUN wget https://github.com/keio-bioinformatics/mxfold2/releases/download/v0.1.1/mxfold2-0.1.1.tar.gz
# RUN pip3 install mxfold2-0.1.1.tar.gz
# RUN rm mxfold2-0.1.1.tar.gz
# vieena
RUN wget https://www.tbi.univie.ac.at/RNA/download/sourcecode/2_5_x/ViennaRNA-2.5.1.tar.gz
RUN tar -xzvf ViennaRNA-2.5.1.tar.gz && rm ViennaRNA-2.5.1.tar.gz
RUN cd ./ViennaRNA-2.5.1 && ./configure && make && make install
WORKDIR /amir-p3
RUN pip3 install numpy==1.24.3
RUN pip3 install pandas==1.3.4
RUN pip3 install tqdm==4.62.3
RUN pip3 install urllib3==1.25.8
RUN pip3 install sklearn==0.0
RUN pip3 install networkx==2.5.1
RUN pip3 install seaborn==0.10.1
RUN pip3 install matplotlib==3.7.1
RUN pip3 install tensorflow-cpu==2.12.0
RUN pip3 install keras==2.12.0
COPY ./data /amir-p3/data
COPY ./config /amir-p3/config
COPY ./src /amir-p3/src
RUN mkdir experiment