Skip to content

Commit

Permalink
Adding Annovar Docker container to WILDS
Browse files Browse the repository at this point in the history
  • Loading branch information
tefirman committed Feb 16, 2024
1 parent 96b7d16 commit 5c37a3b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
docker build --platform linux/amd64 -t ghcr.io/getwilds/bwa:latest -f Dockerfile_bwa --push .
docker build --platform linux/amd64 -t ghcr.io/getwilds/picard:latest -f Dockerfile_picard --push .
docker build --platform linux/amd64 -t ghcr.io/getwilds/biobambam2:latest -f Dockerfile_biobambam2 --push .
docker build --platform linux/amd64 -t ghcr.io/getwilds/annovar:latest -f Dockerfile_annovar --push .
30 changes: 30 additions & 0 deletions Dockerfile_annovar
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

0 comments on commit 5c37a3b

Please sign in to comment.