Skip to content

Commit 363d9b8

Browse files
authored
Updated to GATK 4.6.1.0 and added new parameter for extra memory for joint calling (#505)
* Updated to GATK 4.6.1.0 for joint genotyping. - Updated the following tasks to use GATK 4.6.1.0: - GnarlyGenotypeGVCFs - GenotypeGVCFs - ImportGVCFs * Added parameter for extra memory to ImportGVCFs
1 parent 335f45f commit 363d9b8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

wdl/tasks/VariantCalling/SRJointGenotyping.wdl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ task ImportGVCFs {
165165
Int batch_size = 50
166166

167167
RuntimeAttr? runtime_attr_override
168+
Int extra_mem_gb = 0
168169
}
169170

170171
Int ref_size = ceil(size(ref_fasta, "GB") + size(ref_fasta_fai, "GB") + size(ref_dict, "GB"))
@@ -226,12 +227,12 @@ task ImportGVCFs {
226227
#########################
227228
RuntimeAttr default_attr = object {
228229
cpu_cores: 4,
229-
mem_gb: 32,
230+
mem_gb: 32 + extra_mem_gb,
230231
disk_gb: disk_size,
231232
boot_disk_gb: 25,
232233
preemptible_tries: 0,
233234
max_retries: 1,
234-
docker: "us.gcr.io/broad-gatk/gatk:4.5.0.0"
235+
docker: "us.gcr.io/broad-gatk/gatk:4.6.1.0"
235236
}
236237
RuntimeAttr runtime_attr = select_first([runtime_attr_override, default_attr])
237238
runtime {
@@ -343,7 +344,7 @@ task GenotypeGVCFs {
343344
boot_disk_gb: 25,
344345
preemptible_tries: 1,
345346
max_retries: 1,
346-
docker: "us.gcr.io/broad-gatk/gatk:4.5.0.0"
347+
docker: "us.gcr.io/broad-gatk/gatk:4.6.1.0"
347348
}
348349
RuntimeAttr runtime_attr = select_first([runtime_attr_override, default_attr])
349350
runtime {
@@ -453,7 +454,7 @@ task GnarlyGenotypeGVCFs {
453454
boot_disk_gb: 25,
454455
preemptible_tries: 1,
455456
max_retries: 1,
456-
docker: "us.gcr.io/broad-gatk/gatk:4.5.0.0"
457+
docker: "us.gcr.io/broad-gatk/gatk:4.6.1.0"
457458
}
458459
RuntimeAttr runtime_attr = select_first([runtime_attr_override, default_attr])
459460
runtime {

0 commit comments

Comments
 (0)