diff --git a/pipes/WDL/tasks/tasks_nextstrain.wdl b/pipes/WDL/tasks/tasks_nextstrain.wdl index 692f78cc4..a68ded809 100644 --- a/pipes/WDL/tasks/tasks_nextstrain.wdl +++ b/pipes/WDL/tasks/tasks_nextstrain.wdl @@ -1347,6 +1347,7 @@ task ancestral_traits { File? weights Float? sampling_bias_correction + Int? machine_mem_gb String docker = "nextstrain/base:build-20211012T204409Z" } String out_basename = basename(tree, '.nwk') @@ -1367,7 +1368,7 @@ task ancestral_traits { >>> runtime { docker: docker - memory: "32 GB" + memory: select_first([machine_mem_gb, 32]) + " GB" cpu : 4 disks: "local-disk 100 HDD" dx_instance_type: "mem3_ssd1_v2_x4"