forked from jmonlong/sveval
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
65 lines (55 loc) · 1.43 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
FROM ubuntu:20.04
MAINTAINER [email protected]
# Prevent dpkg from trying to ask any questions, ever
ENV DEBIAN_FRONTEND noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN true
RUN apt-get update && \
apt-get install -y --no-install-recommends \
wget \
git \
gcc \
make \
bzip2 \
tabix \
r-base r-base-dev \
libxml2-dev \
libssl-dev \
libmariadbclient-dev \
libcurl4-openssl-dev \
apt-transport-https \
software-properties-common \
dirmngr \
gpg-agent \
libncurses5-dev \
libncursesw5-dev \
zlib1g-dev \
libbz2-dev \
liblzma-dev \
&& rm -rf /var/lib/apt/lists/*
## R with sveval package
ADD . /sveval
WORKDIR /sveval
RUN R -f install.R
## bcftools
RUN wget --no-check-certificate https://github.com/samtools/bcftools/releases/download/1.17/bcftools-1.17.tar.bz2 && \
tar -xjf bcftools-1.17.tar.bz2 && \
cd bcftools-1.17 && \
./configure && make && make install && \
cd .. && rm -rf bcftools-1.17.tar.bz2
## Dependencies
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
wget \
git \
curl \
python3 \
python3-dev \
python3-pip \
python3-setuptools \
tabix \
&& rm -rf /var/lib/apt/lists/*
## Install snakemake
RUN pip3 install --upgrade pip
RUN pip3 install --no-cache-dir snakemake==7.29.0
RUN mkdir /.cache; chmod a+rwX /.cache
WORKDIR /home