From 1133b478203ea480bae82ce36312dd2bd514b60c Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Wed, 28 Mar 2018 15:05:31 -0400 Subject: [PATCH] gga mode added to M2 wdl --- scripts/mutect2_wdl/mutect2.wdl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/mutect2_wdl/mutect2.wdl b/scripts/mutect2_wdl/mutect2.wdl index 7b05f39e44f..23ceb18fd46 100755 --- a/scripts/mutect2_wdl/mutect2.wdl +++ b/scripts/mutect2_wdl/mutect2.wdl @@ -84,6 +84,8 @@ workflow Mutect2 { Boolean make_bamout_or_default = select_first([make_bamout, false]) Boolean? compress_vcfs Boolean compress = select_first([compress_vcfs, false]) + File? gga_vcf + File? gga_vcf_idx # oncotator inputs Boolean? run_oncotator @@ -182,6 +184,8 @@ workflow Mutect2 { m2_extra_args = m2_extra_args, make_bamout = make_bamout_or_default, compress = compress, + gga_vcf = gga_vcf, + gga_vcf_idx = gga_vcf_idx, gatk_override = gatk_override, gatk_docker = gatk_docker, preemptible_attempts = preemptible_attempts, @@ -425,6 +429,8 @@ task M2 { String? m2_extra_args Boolean? make_bamout Boolean compress + File? gga_vcf + File? gga_vcf_idx String output_vcf = "output" + if compress then ".vcf.gz" else ".vcf" String output_vcf_index = output_vcf + if compress then ".tbi" else ".idx" @@ -468,6 +474,7 @@ task M2 { ${"--germline-resource " + gnomad} \ ${"-pon " + pon} \ ${"-L " + intervals} \ + ${"--genotyping-mode GENOTYPE_GIVEN_ALLELES --alleles " + gga_vcf} \ -O "${output_vcf}" \ ${true='--bam-output bamout.bam' false='' make_bamout} \ ${m2_extra_args}