-
Notifications
You must be signed in to change notification settings - Fork 54
/
Dockerfile
41 lines (38 loc) · 1.29 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
FROM debian:bullseye
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
2to3 \
ca-certificates \
curl \
git \
&& rm -rf /var/lib/apt/lists/* \
# Install conda to /conda
&& mkdir /conda \
&& cd /conda \
&& curl -L 'https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh' -O \
&& bash Miniconda3-latest-Linux-x86_64.sh -b -p /conda/install \
&& /conda/install/bin/conda init \
# Use libmamba solver
&& /conda/install/bin/conda install conda-libmamba-solver \
&& /conda/install/bin/conda config --set solver libmamba \
&& git clone https://github.com/Xinglab/rmats2sashimiplot.git /rmats2sashimiplot \
&& cd /rmats2sashimiplot \
# && git checkout {commit} \
&& /conda/install/bin/conda install -c conda-forge -c bioconda \
'python>3' \
numpy \
scipy \
matplotlib-base \
pysam \
samtools \
bedtools \
&& ./2to3.sh \
&& /conda/install/bin/pip install ./
# Make conda installed programs available on PATH
ENV PATH /conda/install/bin:${PATH}
# Set defaults for running the image.
# The ENTRYPOINT AND CMD are empty to be compatible with
# CWL and WDL implementations that cannot override those values
WORKDIR /rmats2sashimiplot
ENTRYPOINT []
CMD []