Skip to content

Commit

Permalink
feat: add GATK v3 for variant combine
Browse files Browse the repository at this point in the history
  • Loading branch information
dnousome committed Jan 12, 2024
1 parent b982a89 commit e5ec972
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 11 deletions.
26 changes: 19 additions & 7 deletions docker/logan_base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand Down Expand Up @@ -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"

Expand Down Expand Up @@ -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 \
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions docker/logan_base/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
2 changes: 1 addition & 1 deletion docker/logan_base/meta.yml
Original file line number Diff line number Diff line change
@@ -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)"

0 comments on commit e5ec972

Please sign in to comment.