diff --git a/gatk.wdl b/gatk.wdl index 99a5b2c472b2b812cdcdae9a0b6cfa5ff454599d..25c273a6a8779cbfcbb05512199210d2c121f523 100644 --- a/gatk.wdl +++ b/gatk.wdl @@ -123,18 +123,12 @@ task CombineGVCFs { command { set -e -o pipefail ~{preCommand} - - if [ ~{length(gvcfFiles)} -gt 1 ]; then - ~{toolCommand} \ - CombineGVCFs \ - -R ~{reference.fasta} \ - -O ~{outputPath} \ - -V ~{sep=' -V ' gvcfFiles} \ - -L ~{sep=' -L ' intervals} - else # TODO this should be handeled in wdl - ln -sf ~{gvcfFiles[0]} ~{outputPath} - ln -sf ~{gvcfFiles[0]} ~{outputPath}.tbi - fi + ~{toolCommand} \ + CombineGVCFs \ + -R ~{reference.fasta} \ + -O ~{outputPath} \ + -V ~{sep=' -V ' gvcfFiles} \ + -L ~{sep=' -L ' intervals} } output {