forked from litd/docker-sigprofiler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
40 lines (33 loc) · 1.11 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
# % Last Change: Wed Jun 23 04:36:33 PM 2021 CDT
# Base Image
FROM debian:10.9
# File Author / Maintainer
# Based on the work performed by Tiandao Li <[email protected]>
LABEL maintainer="Matthieu Vizuete-Forster"
ENV PATH /opt/conda/bin:$PATH
# Installation
RUN echo "deb http://deb.debian.org/debian buster contrib" >> /etc/apt/sources.list && \
apt-get update --fix-missing && \
apt-get install -y \
fontconfig \
python3 \
python3-pip \
rsync \
ttf-mscorefonts-installer \
wget && \
apt-get clean all && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/log/dpkg.log /var/tmp/*
# install SigProfiler tools
RUN pip3 install -U --no-cache-dir \
SigProfilerPlotting \
SigProfilerMatrixGenerator \
SigProfilerExtractor \
SigProfilerSimulator \
SigProfilerTopography \
SigProfilerHotSpots
RUN echo "from SigProfilerMatrixGenerator import install as genInstall" > /opt/ref.py && \
echo "genInstall.install('GRCh37')" >> /opt/ref.py && \
echo "genInstall.install('GRCh38')" >> /opt/ref.py && \
/usr/bin/python3 /opt/ref.py && \
rm /opt/ref.py
CMD [ "/bin/bash" ]