diff --git a/gatk.wdl b/gatk.wdl index 6f5249073e88616d43d9b0dcf29881dfa795d86e..78c53b88627293a9309603ca25191a21e5d2bfe5 100644 --- a/gatk.wdl +++ b/gatk.wdl @@ -56,12 +56,17 @@ task BaseRecalibrator { File inputBamIndex String recalibrationReportPath Array[File]+ sequenceGroupInterval - Array[File]+ knownIndelsSitesVCFs - Array[File]+ knownIndelsSitesIndices + Array[File]? knownIndelsSitesVCFs + Array[File]? knownIndelsSitesIndices + File? dbsnpVCF + File? dbsnpVCFindex File refDict File refFasta File refFastaIndex + Array[File]+ knownIndelsSitesVCFsArg = select_all(flatten([knownIndelsSitesVCFs, [dbsnpVCF]])) + Array[File]+ knownIndelsSitesIndicesArg = select_all(flatten([knownIndelsSitesIndices, [dbsnpVCFindex]])) + Float? memory Float? memoryMultiplier @@ -80,7 +85,7 @@ task BaseRecalibrator { -I ${inputBam} \ --use-original-qualities \ -O ${recalibrationReportPath} \ - --known-sites ${sep=" --known-sites " knownIndelsSitesVCFs} \ + --known-sites ${sep=" --known-sites " knownIndelsSitesVCFsArg} \ -L ${sep=" -L " sequenceGroupInterval} }