forked from nmohamm5/no-toil-rnaseq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
43 lines (37 loc) · 1.13 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
FROM ubuntu:14.04
RUN apt-get update && apt-get install -y \
python=2.7.5-5ubuntu3 \
python-pip=1.5.4-1ubuntu4 \
python-dev=2.7.5-5ubuntu3 \
build-essential=11.6ubuntu6 \
wget=1.15-1ubuntu1.14.04.5 \
perl-doc=5.18.2-2ubuntu1.7 \
cython=0.20.1+git90-g0e6e38e-1ubuntu2 \
zlib1g-dev=1:1.2.8.dfsg-1ubuntu1.1 \
libncurses-dev
# install cutadapt 1.9
WORKDIR /tmp
RUN wget https://github.com/marcelm/cutadapt/archive/refs/tags/v1.9.tar.gz
RUN tar -xzf v1.9.tar.gz
WORKDIR /tmp/cutadapt-1.9
RUN python setup.py install
RUN python setup.py build_ext -i
# install STAR 2.4.2a
WORKDIR /tmp
RUN wget https://github.com/alexdobin/STAR/archive/refs/tags/STAR_2.4.2a.tar.gz
RUN tar -xzf STAR_2.4.2a.tar.gz
WORKDIR /tmp/STAR-STAR_2.4.2a/source
RUN make STAR
RUN mv STAR /usr/local/bin
# install RSEM 1.2.25
WORKDIR /opt
RUN wget https://github.com/deweylab/RSEM/archive/refs/tags/v1.2.25.tar.gz
RUN tar -xzf v1.2.25.tar.gz
WORKDIR /opt/RSEM-1.2.25
RUN make
ENV PATH /opt/RSEM-1.2.25:$PATH
# copy over run script and set workdir
RUN mkdir /opt/rna_seq
WORKDIR /opt/rna_seq
COPY wrapper.sh /opt/rna_seq/
ENTRYPOINT ["/bin/bash", "/opt/rna_seq/wrapper.sh"]