This repository has been archived by the owner on Oct 5, 2018. It is now read-only.
forked from nf-core/rnafusion
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
72 lines (63 loc) · 1.62 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:16.04
description="Docker image containing all requirements for NGI-RNAfusion pipeline"
#Fusioncatcher
RUN apt-get -y update
RUN apt-get -y install \
build-essential\
libncurses5-dev \
default-jdk \
default-jre \
gawk \
gcc \
g++ \
bzip2 \
cmake \
automake \
make \
gzip \
zip \
unzip \
zlibc \
zlib1g-dev \
zlib1g \
wget \
curl \
pigz \
tar \
parallel \
libtbb-dev \
libtbb2 \
libdb-dev \
python \
python-dev \
python-numpy \
python-biopython \
python-xlrd \
python-openpyxl
ENV SRC /usr/local/src
ENV BIN /usr/local/bin
WORKDIR $SRC
RUN mkdir fusioncatcher && cd fusioncatcher && \
wget http://sf.net/projects/fusioncatcher/files/bootstrap.py -O bootstrap.py && \
python bootstrap.py -t -y && \
rm bootstrap.py
ENV PATH=$SRC/fusioncatcher/:${PATH}
RUN wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda2.sh && \
sh miniconda2.sh -b -p $SRC/miniconda2
ENV PATH=$SRC/miniconda2/bin/:$PATH
RUN /bin/bash -c "source ${SRC}/miniconda2/bin/activate"
## perl lib installations
RUN curl -L https://cpanmin.us | perl - App::cpanminus
RUN cpanm install Set::IntervalTree \
DB_File \
URI::Escape\
Set::IntervalTree \
Carp::Assert \
JSON::XS.pm \
PerlIO::gzip
# # Conda
COPY environment.yml /
RUN conda env create -f /environment.yml && conda clean -a
ENV PATH /usr/local/src/miniconda2/envs/nf-core-ngi-rnafusion-1.0/bin:$PATH
WORKDIR /