-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
41 lines (37 loc) · 1.61 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
ARG BASE_IMAGE=broadinstitute/gatk
ARG BASE_TAG=latest
FROM $BASE_IMAGE:$BASE_TAG
LABEL maintainer="arnstrm"
LABEL version="1.0"
LABEL description="Docker image for GATK nextflow workflows"
RUN curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add
RUN apt-get update
RUN apt-get install -y build-essential wget curl git autoconf automake
RUN apt-get install -y gcc g++ bison make
RUN apt-get install -y perl zlib1g-dev libbz2-dev liblzma-dev libcurl4-gnutls-dev libssl-dev libncurses5-dev
# install conda
RUN apt-get update && apt-get install -y wget && rm -rf /var/lib/apt/lists/*
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh
RUN bash ~/miniconda.sh -b -u -p /opt/miniconda
ENV PATH="/opt/miniconda/bin:${PATH}"
RUN conda update -n base -c defaults conda
# snpeff uses older java on conda so install snpeff manually
RUN cd /opt && \
wget https://snpeff.blob.core.windows.net/versions/snpEff_latest_core.zip && \
unzip snpEff_latest_core.zip && \
rm snpEff_latest_core.zip
ENV PATH="/opt/snpEff:${PATH}"
# install conda packages
RUN conda install -y -c bioconda pbmm2
RUN conda install -y -c bioconda minimap2
RUN conda install -y -c bioconda bcftools
RUN conda install -y -c bioconda freebayes
RUN conda install -y -c bioconda bwa
RUN conda install -y -c bioconda datamash
RUN conda install -y -c bioconda bedtools
RUN conda install -y -c bioconda vcftools
RUN conda install -y -c bioconda samtools
RUN conda install -y -c bioconda star
RUN conda install -y -c bioconda bwa-mem2
RUN conda install -y -c bioconda bioawk
RUN conda install -y -c bioconda seqtk