forked from nuno-agostinho/rmats-docker
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
59 lines (46 loc) · 1.18 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
FROM ubuntu:14.04
RUN apt-get update
# samtools
# Usage: samtools [OPTIONS]
RUN apt-get install -y gcc
RUN apt-get install -y libncurses5-dev
RUN apt-get install -y libbz2-dev
RUN apt-get install -y liblzma-dev
RUN apt-get install -y libcurl4-openssl-dev
RUN apt-get install -y libssl-dev
RUN apt-get install -y zlib1g-dev
RUN apt-get install -y make
ENV SW=/root/software
WORKDIR ${SW}
ENV samtools=samtools-1.5
ADD ${samtools}.tar.bz2 .
WORKDIR ${samtools}
RUN ./configure
RUN make
RUN make install
WORKDIR ${SW}
# STAR
# Usage: STAR [options]
ENV star=STAR-2.5.3a
ADD ${star}.tar.bz2 .
ENV PATH="${PATH}:${SW}/${star}/bin"
# Python 2.7
ADD get-pip.py .
RUN apt-get install -y python
RUN python get-pip.py
RUN rm get-pip.py
RUN pip install --upgrade pip
RUN pip install numpy
RUN pip install scipy
RUN pip install pysam
RUN apt-get install -y python-dev
RUN apt-get install -y build-essential
RUN pip install matplotlib
RUN apt-get install -y bedtools
RUN sudo apt-get install -y libblas-dev liblapack-dev
RUN sudo apt-get install -y libgsl0ldbl
RUN sudo apt-get install -y gfortran
# rMATS
# Usage: python ${rmats}/RNASeq-MATS.py [options]
ENV rmats=rMATS.4.0.2
ADD rMATS.4.0.2 /${SW}/rmats