Skip to content

Commit

Permalink
Add preemptible tries parameter to TrainGqRecalibratorTask
Browse files Browse the repository at this point in the history
  • Loading branch information
mwalker174 committed Feb 26, 2024
1 parent 17ac4ea commit 84704f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wdl/TrainGqRecalibrator.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ task TrainGqRecalibratorTask {
Float mem_scale_vcf_size = 25.2
Float mem_scale_num_entries = "3.7e-7"
Float mem_gb_overhead = 1.5
Int preemptible_tries = 3
}

Int disk_gb = round(1000 + size([train_vcf, train_vcf_index, ped_file, truth_file], "GiB") +
Expand All @@ -68,7 +69,7 @@ task TrainGqRecalibratorTask {
runtime {
docker: gatk_docker
cpu: 1
preemptible: 3
preemptible: preemptible_tries
max_retries: 1
memory: mem_gb + " GiB"
disks: "local-disk " + disk_gb + " HDD"
Expand Down

0 comments on commit 84704f9

Please sign in to comment.