-
Notifications
You must be signed in to change notification settings - Fork 19
/
Dockerfile
51 lines (45 loc) · 1.78 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
# Dockerfile for RNASeQC
FROM ubuntu:20.04
MAINTAINER Aaron Graubert
RUN apt-get update && apt-get install -y software-properties-common && \
apt-get update && apt-get install -y \
build-essential \
cmake \
git \
python3 \
python3-pip \
libboost-filesystem-dev \
libboost-regex-dev \
libboost-system-dev \
libbz2-dev \
libcurl3-dev \
liblzma-dev \
libpthread-stubs0-dev \
wget \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
# Python
RUN python3 -m pip install --upgrade pip setuptools pyarrow jupyter
# SeqLib
COPY Makefile /opt/rnaseqc/Makefile
RUN cd /opt/rnaseqc && git clone --recursive https://github.com/walaj/SeqLib.git && \
cd SeqLib && git checkout 7e1f98267b5057f9505dbff119308137a0e006db && cd .. && \
make SeqLib/lib/libseqlib.a
# python
RUN cd /opt && git clone https://github.com/francois-a/rnaseq-utils rnaseq && cd rnaseq && \
git checkout f1c6a5677bbca465ea1edd06c2293a5d1078a18b && python3 -m pip install --upgrade pip setuptools && \
python3 -m pip install numpy && python3 -m pip install pandas matplotlib scipy pyBigWig bx-python \
agutil nbformat seaborn sklearn qtl && mkdir -p /root/.config/matplotlib && echo "backend : Agg" > /root/.config/matplotlib/matplotlibrc
ENV PYTHONPATH $PYTHONPATH:/opt/
#RNASeQC
COPY src /opt/rnaseqc/src
COPY python /opt/rnaseqc/python
COPY args.hxx /opt/rnaseqc
COPY bioio.hpp /opt/rnaseqc
RUN cd /opt/rnaseqc && make && ln -s /opt/rnaseqc/rnaseqc /usr/local/bin/rnaseqc && make clean && python3 -m pip install -e /opt/rnaseqc/python
# clean up
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
apt-get autoclean && \
apt-get autoremove -y && \
rm -rf /var/lib/{apt,dpkg,cache,log}/