Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parameterize machine_mem_gb for ancestral_traits task #427

Merged
merged 2 commits into from
Jun 10, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pipes/WDL/tasks/tasks_nextstrain.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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"
Expand Down