-
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.
Adding Annovar Docker container to WILDS
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 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
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.source=https://github.com/getwilds/wilds-docker-library | ||
LABEL org.opencontainers.image.description="Container image for the use of Annovar using GRCh38 in FH DaSL's WILDS" | ||
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 |