-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
65 lines (55 loc) · 2.02 KB
/
Dockerfile
File metadata and controls
65 lines (55 loc) · 2.02 KB
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
FROM ubuntu
LABEL MAINTAINER "Lourdes Peña-Castillo <lourdes@mun.ca>" \
VERSION "1.0" \
DESCRIPTION "sRNA-Characterization-Pipeline-nf"
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y gnupg2
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 51716619E084DAB9
#install neeeded tools
#ADD CRAN to the list of repositories
RUN echo "deb http://cran.rstudio.com/bin/linux/ubuntu xenial/" >> /etc/apt/sources.list \
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
#bedtools v 2.27, R 3.4.4, boost 1.58
RUN apt-get update --fix-missing -qq && apt-get install -y -q \
bedtools \
libboost-all-dev \
curl \
wget \
gawk \
unzip \
build-essential \
g++ \
r-base \
&& apt-get clean \
&& apt-get purge \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
#install ViennaRNA
# -f fail silently
RUN curl -f https://www.tbi.univie.ac.at/RNA/download/sourcecode/2_4_x/ViennaRNA-2.4.18.tar.gz | tar xz && \
cd ViennaRNA-2.4.18 && \
./configure && \
make && \
make install
#install CentroidFold v 0.0.15
# -L follows redirection, -o save into a file
RUN curl -sL https://github.com/satoken/centroid-rna-package/archive/master.zip -o master.zip && \
unzip master.zip && \
rm master.zip && \
cd centroid-rna-package-master && \
./configure && make && make install
#install transtermHP 2.09
RUN curl -fsL http://transterm.cbcb.umd.edu/transterm_hp_v2.09.zip -o transterm_hp_v2.09.zip && \
unzip transterm_hp_v2.09.zip && \
rm transterm_hp_v2.09.zip && \
cd transterm_hp_v2.09
# make clean transterm
# install Python3 and its libraries
RUN apt-get update --fix-missing -qq && apt-get -y install -y -q \
software-properties-common && \
add-apt-repository ppa:deadsnakes/ppa && \
apt-get update && \
apt-get install -y python3 && \
apt-get install -y python3-pip && \
apt-get install -y python3-skbio
ENV PATH $PATH:/transterm_hp_v2.09:/lin/
ENV TERM_DATA="/transterm_hp_v2.09/expterm.dat"