-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from getwilds/df-reorg
Reorganizing Dockerfiles into Subdirectories
- Loading branch information
Showing
14 changed files
with
253 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
|
||
# Using the Ubuntu base image | ||
FROM ubuntu:noble-20240114 | ||
|
||
# Adding labels for the GitHub Container Registry | ||
LABEL org.opencontainers.image.title="annovar" | ||
LABEL org.opencontainers.image.description="Container image for the use of Annovar using hg38 in FH DaSL's WILDS" | ||
LABEL org.opencontainers.image.version="hg38" | ||
LABEL org.opencontainers.image.authors="[email protected]" | ||
LABEL org.opencontainers.image.url=https://hutchdatascience.org/ | ||
LABEL org.opencontainers.image.documentation=https://getwilds.org/ | ||
LABEL org.opencontainers.image.source=https://github.com/getwilds/wilds-docker-library | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
# Installing prerequisites | ||
RUN apt-get update \ | ||
&& apt-get install -y build-essential wget perl \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Pulling and extracting Annovar source code | ||
RUN wget http://www.openbioinformatics.org/annovar/download/0wgxR2rIVP/annovar.latest.tar.gz | ||
RUN tar -xvf annovar.latest.tar.gz | ||
ENV PATH="${PATH}:/annovar" | ||
|
||
# Downloading GRCh38 resources | ||
RUN annotate_variation.pl -buildver hg38 -downdb -webfrom annovar refGene /annovar/humandb/ | ||
RUN annotate_variation.pl -buildver hg38 -downdb -webfrom annovar knownGene /annovar/humandb/ | ||
RUN annotate_variation.pl -buildver hg38 -downdb -webfrom annovar cosmic70 /annovar/humandb/ | ||
RUN annotate_variation.pl -buildver hg38 -downdb -webfrom annovar esp6500siv2_all /annovar/humandb/ | ||
RUN annotate_variation.pl -buildver hg38 -downdb -webfrom annovar clinvar_20180603 /annovar/humandb/ | ||
RUN annotate_variation.pl -buildver hg38 -downdb -webfrom annovar gnomad211_exome /annovar/humandb/ | ||
|
||
# Cleanup | ||
RUN rm /annovar/humandb/hg19_* | ||
RUN rm -rf annovar.latest.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
# Using the Ubuntu base image | ||
FROM ubuntu:noble-20240114 | ||
|
||
# Adding labels for the GitHub Container Registry | ||
LABEL org.opencontainers.image.title="annovar" | ||
LABEL org.opencontainers.image.description="Container image for the use of Annovar using hg19 in FH DaSL's WILDS" | ||
LABEL org.opencontainers.image.version="latest" | ||
LABEL org.opencontainers.image.authors="[email protected]" | ||
LABEL org.opencontainers.image.url=https://hutchdatascience.org/ | ||
LABEL org.opencontainers.image.documentation=https://getwilds.org/ | ||
LABEL org.opencontainers.image.source=https://github.com/getwilds/wilds-docker-library | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
# Installing prerequisites | ||
RUN apt-get update \ | ||
&& apt-get install -y build-essential wget perl \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Pulling and extracting Annovar source code | ||
RUN wget http://www.openbioinformatics.org/annovar/download/0wgxR2rIVP/annovar.latest.tar.gz | ||
RUN tar -xvf annovar.latest.tar.gz | ||
ENV PATH="${PATH}:/annovar" | ||
|
||
# Downloading GRCh38 resources | ||
RUN annotate_variation.pl -buildver hg19 -downdb -webfrom annovar refGene /annovar/humandb/ | ||
RUN annotate_variation.pl -buildver hg19 -downdb -webfrom annovar knownGene /annovar/humandb/ | ||
RUN annotate_variation.pl -buildver hg19 -downdb -webfrom annovar cosmic70 /annovar/humandb/ | ||
RUN annotate_variation.pl -buildver hg19 -downdb -webfrom annovar esp6500siv2_all /annovar/humandb/ | ||
RUN annotate_variation.pl -buildver hg19 -downdb -webfrom annovar clinvar_20180603 /annovar/humandb/ | ||
RUN annotate_variation.pl -buildver hg19 -downdb -webfrom annovar gnomad211_exome /annovar/humandb/ | ||
|
||
# Cleanup | ||
RUN rm -rf annovar.latest.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
# Using the Ubuntu base image | ||
FROM ubuntu:noble-20240114 | ||
|
||
# Adding labels for the GitHub Container Registry | ||
LABEL org.opencontainers.image.title="biobambam2" | ||
LABEL org.opencontainers.image.description="Container image for the use of biobambam2 in FH DaSL's WILDS" | ||
LABEL org.opencontainers.image.version="latest" | ||
LABEL org.opencontainers.image.authors="[email protected]" | ||
LABEL org.opencontainers.image.url=https://hutchdatascience.org/ | ||
LABEL org.opencontainers.image.documentation=https://getwilds.org/ | ||
LABEL org.opencontainers.image.source=https://github.com/getwilds/wilds-docker-library | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
# Installing biobambam2 via apt-get | ||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends biobambam2 \ | ||
&& rm -rf /var/lib/apt/lists/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
|
||
# Using the Ubuntu base image | ||
FROM ubuntu:noble-20240114 | ||
|
||
# Adding labels for the GitHub Container Registry | ||
LABEL org.opencontainers.image.title="bwa" | ||
LABEL org.opencontainers.image.description="Container image for the use of bwa in FH DaSL's WILDS" | ||
LABEL org.opencontainers.image.version="latest" | ||
LABEL org.opencontainers.image.authors="[email protected]" | ||
LABEL org.opencontainers.image.url=https://hutchdatascience.org/ | ||
LABEL org.opencontainers.image.documentation=https://getwilds.org/ | ||
LABEL org.opencontainers.image.source=https://github.com/getwilds/wilds-docker-library | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
# Installing prerequisites | ||
RUN apt-get update \ | ||
&& apt-get install -y build-essential wget zlib1g-dev autoconf automake libncurses5-dev libbz2-dev liblzma-dev libssl-dev libcurl4-gnutls-dev \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Pulling and extracting bwa source code | ||
RUN wget https://github.com/lh3/bwa/releases/download/v0.7.17/bwa-0.7.17.tar.bz2 | ||
RUN tar -jxf bwa-0.7.17.tar.bz2 | ||
|
||
# Installing bwa | ||
WORKDIR /bwa-0.7.17 | ||
RUN make CC='gcc -fcommon' | ||
WORKDIR / | ||
ENV PATH="${PATH}:/bwa-0.7.17" | ||
|
||
# Pulling and extracting Samtools source code | ||
RUN wget https://github.com/samtools/samtools/releases/download/1.11/samtools-1.11.tar.bz2 | ||
RUN tar -jxf samtools-1.11.tar.bz2 | ||
|
||
# Installing Samtools | ||
WORKDIR /samtools-1.11 | ||
RUN ./configure && make && make install | ||
WORKDIR / | ||
|
||
# Cleanup | ||
RUN rm -rf samtools-1.11 samtools-1.11.tar.bz2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
|
||
# Using the Miniconda base image | ||
FROM continuumio/miniconda3 | ||
|
||
# Adding labels for the GitHub Container Registry | ||
LABEL org.opencontainers.image.title="gatk" | ||
LABEL org.opencontainers.image.description="Container image for the use of GATK in FH DaSL's WILDS" | ||
LABEL org.opencontainers.image.version="latest" | ||
LABEL org.opencontainers.image.authors="[email protected]" | ||
LABEL org.opencontainers.image.url=https://hutchdatascience.org/ | ||
LABEL org.opencontainers.image.documentation=https://getwilds.org/ | ||
LABEL org.opencontainers.image.source=https://github.com/getwilds/wilds-docker-library | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
# Installing GATK via conda | ||
RUN conda install -c bioconda gatk4=4.3.0.0 | ||
|
||
# Installing Samtools prerequisites | ||
RUN apt-get update \ | ||
&& apt-get install -y build-essential wget zlib1g-dev autoconf automake libncurses5-dev libbz2-dev liblzma-dev libssl-dev libcurl4-gnutls-dev \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Pulling and extracting Samtools source code | ||
RUN wget https://github.com/samtools/samtools/releases/download/1.11/samtools-1.11.tar.bz2 | ||
RUN tar -jxf samtools-1.11.tar.bz2 | ||
|
||
# Installing Samtools | ||
WORKDIR /samtools-1.11 | ||
RUN ./configure && make && make install | ||
WORKDIR / | ||
|
||
# Cleanup | ||
RUN rm -rf samtools-1.11 samtools-1.11.tar.bz2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
|
||
# Using the Ubuntu base image | ||
FROM ubuntu:noble-20240114 | ||
|
||
# Adding labels for the GitHub Container Registry | ||
LABEL org.opencontainers.image.title="picard" | ||
LABEL org.opencontainers.image.description="Container image for the use of Picard in FH DaSL's WILDS" | ||
LABEL org.opencontainers.image.version="latest" | ||
LABEL org.opencontainers.image.authors="[email protected]" | ||
LABEL org.opencontainers.image.url=https://hutchdatascience.org/ | ||
LABEL org.opencontainers.image.documentation=https://getwilds.org/ | ||
LABEL org.opencontainers.image.source=https://github.com/getwilds/wilds-docker-library | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
# Installing Java | ||
RUN apt-get update && \ | ||
apt-get install -y openjdk-17-jdk && \ | ||
apt-get install -y ant && \ | ||
apt-get install -y wget && \ | ||
apt-get install -y r-base && \ | ||
apt-get clean; | ||
|
||
# Updating Java certificates | ||
RUN apt-get update && \ | ||
apt-get install ca-certificates-java && \ | ||
apt-get clean && \ | ||
update-ca-certificates -f; | ||
ENV JAVA_HOME /usr/lib/jvm/java-17-openjdk-amd64/ | ||
RUN export JAVA_HOME | ||
|
||
# Pulling Picard jar to a location that will persist in Apptainer | ||
RUN mkdir /usr/picard | ||
RUN wget -P /usr/picard/ https://github.com/broadinstitute/picard/releases/download/3.1.1/picard.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
# Using the Ubuntu base image | ||
FROM ubuntu:noble-20240114 | ||
|
||
# Adding labels for the GitHub Container Registry | ||
LABEL org.opencontainers.image.title="samtools" | ||
LABEL org.opencontainers.image.description="Container image for the use of Samtools in FH DaSL's WILDS" | ||
LABEL org.opencontainers.image.version="latest" | ||
LABEL org.opencontainers.image.authors="[email protected]" | ||
LABEL org.opencontainers.image.url=https://hutchdatascience.org/ | ||
LABEL org.opencontainers.image.documentation=https://getwilds.org/ | ||
LABEL org.opencontainers.image.source=https://github.com/getwilds/wilds-docker-library | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
# Installing prerequisites | ||
RUN apt-get update \ | ||
&& apt-get install -y build-essential wget zlib1g-dev autoconf automake libncurses5-dev libbz2-dev liblzma-dev libssl-dev libcurl4-gnutls-dev \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Pulling and extracting Samtools source code | ||
RUN wget https://github.com/samtools/samtools/releases/download/1.11/samtools-1.11.tar.bz2 | ||
RUN tar -jxf samtools-1.11.tar.bz2 | ||
|
||
# Installing Samtools | ||
WORKDIR /samtools-1.11 | ||
RUN ./configure && make && make install | ||
WORKDIR / | ||
|
||
# Cleanup | ||
RUN rm -rf samtools-1.11 samtools-1.11.tar.bz2 |