From e5ec972a496e5a544089b7a8e8702e61ba54c410 Mon Sep 17 00:00:00 2001 From: Darryl Nousome Date: Fri, 12 Jan 2024 16:53:57 -0500 Subject: [PATCH] feat: add GATK v3 for variant combine --- docker/logan_base/Dockerfile | 26 +++++++++++++++++++------- docker/logan_base/build.sh | 6 +++--- docker/logan_base/meta.yml | 2 +- 3 files changed, 23 insertions(+), 11 deletions(-) diff --git a/docker/logan_base/Dockerfile b/docker/logan_base/Dockerfile index 91233ed..a250c8c 100644 --- a/docker/logan_base/Dockerfile +++ b/docker/logan_base/Dockerfile @@ -27,10 +27,11 @@ RUN apt-get update \ # bwa/0.7.17-4 bowtie/1.2.3 bowtie2/2.3.5.1 # bedtools/2.27.1 bedops/2.4.37 samtools/1.10 # bcftools/1.10.2 vcftools/0.1.16 -# Previous tools already installed trimmomatic/0.39 tabix/1.10.2 +# Previous tools already installed tabix/1.10.2 ##trimmomatic/0.39 RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \ - tabix \ - trimmomatic + tabix + #\ + #trimmomatic # Install BWA-MEM2 v2.2.1 RUN wget https://github.com/bwa-mem2/bwa-mem2/releases/download/v2.2.1/bwa-mem2-2.2.1_x64-linux.tar.bz2 \ @@ -57,6 +58,16 @@ ENV PATH="/opt2/gatk-4.4.0.0:$PATH" RUN wget https://github.com/BimberLab/DISCVRSeq/releases/download/1.3.62/DISCVRSeq-1.3.62.jar ENV DISCVRSeq_JAR="/opt2/DISCVRSeq-1.3.62.jar" +# Install last release of GATK3 (GATK/3.8-1) +# Only being used for the CombineVariants +# command that is not available in GATK4 +# Available via env variable: $GATK_JAR +# Requires Java8 or 1.8 +RUN wget https://storage.googleapis.com/gatk-software/package-archive/gatk/GenomeAnalysisTK-3.8-1-0-gf15c1c3ef.tar.bz2 \ + && tar -xvjf /opt2/GenomeAnalysisTK-3.8-1-0-gf15c1c3ef.tar.bz2 \ + && rm /opt2/GenomeAnalysisTK-3.8-1-0-gf15c1c3ef.tar.bz2 +ENV GATK_JAR="/opt2/GenomeAnalysisTK-3.8-1-0-gf15c1c3ef/GenomeAnalysisTK.jar" + # Install dependencies needed to add a new repository over HTTPS RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \ gnupg \ @@ -163,9 +174,9 @@ RUN wget https://github.com/AstraZeneca-NGS/VarDictJava/releases/download/v1.8.3 ENV PATH="/opt2/VarDict-1.8.3/bin:$PATH" # Fastp From Opengene github -RUN wget http://opengene.org/fastp/fastp.0.23.2 \ +RUN wget http://opengene.org/fastp/fastp.0.23.4 \ && mkdir fastp \ - && mv fastp.0.23.2 fastp/fastp \ + && mv fastp.0.23.4 fastp/fastp \ && chmod a+x fastp/fastp ENV PATH="/opt2/fastp:$PATH" @@ -194,9 +205,11 @@ ENV PATH="/opt2/svaba:$PATH" # LOFREQ RUN wget https://github.com/CSB5/lofreq/raw/master/dist/lofreq_star-2.1.5_linux-x86-64.tgz \ && tar -xzf lofreq_star-2.1.5_linux-x86-64.tgz \ - && chmod a+x lofreq_star-2.1.5_linux-x86-64/bin/lofreq + && chmod a+x lofreq_star-2.1.5_linux-x86-64/bin/lofreq \ + && rm lofreq_star-2.1.5_linux-x86-64.tgz ENV PATH="/opt2/lofreq_star-2.1.5_linux-x86-64/bin/:$PATH" + # MUSE RUN wget -O muse_2.0.4.tar.gz https://github.com/wwylab/MuSE/archive/refs/tags/v2.0.4.tar.gz \ && tar -xzf muse_2.0.4.tar.gz \ @@ -210,7 +223,6 @@ RUN wget -O muse_2.0.4.tar.gz https://github.com/wwylab/MuSE/archive/refs/tags/v ENV PATH="/opt2/MuSE:$PATH" - # Add Dockerfile and argparse.bash script # and export environment variables ADD Dockerfile /opt2/base_gatk4_wgs.dockerfile diff --git a/docker/logan_base/build.sh b/docker/logan_base/build.sh index 0328ebc..efb12e3 100644 --- a/docker/logan_base/build.sh +++ b/docker/logan_base/build.sh @@ -6,11 +6,11 @@ docker build --platform linux/amd64 --tag ccbr_logan_base:v0.3.3 -f Dockerfile . -docker tag ccbr_logan_base:v0.3.3 dnousome/ccbr_logan_base:v0.3.3 -docker tag ccbr_logan_base:v0.3.3 dnousome/ccbr_logan_base +docker tag ccbr_logan_base:v0.3.4 dnousome/ccbr_logan_base:v0.3.4 +docker tag ccbr_logan_base:v0.3.4 dnousome/ccbr_logan_base -docker push dnousome/ccbr_logan_base:v0.3.3 +docker push dnousome/ccbr_logan_base:v0.3.4 docker push dnousome/ccbr_logan_base:latest diff --git a/docker/logan_base/meta.yml b/docker/logan_base/meta.yml index 473f5d1..b7893e7 100644 --- a/docker/logan_base/meta.yml +++ b/docker/logan_base/meta.yml @@ -1,4 +1,4 @@ dockerhub_namespace: dnousome image_name: ccbr_logan_base -version: v0.3.3 +version: v0.3.4 container: "$(dockerhub_namespace)/$(image_name):$(version)"