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

in export_auspice_json parameterize task mem, raise default to 64GB; increase AUGUR_RECURSION_LIMIT from 10k to 15k #429

Merged
merged 1 commit into from
Jun 16, 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
7 changes: 4 additions & 3 deletions pipes/WDL/tasks/tasks_nextstrain.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -1688,6 +1688,7 @@ task export_auspice_json {

String out_basename = basename(basename(tree, ".nwk"), "_timetree")

Int? machine_mem_gb
String docker = "nextstrain/base:build-20211012T204409Z"
}

Expand Down Expand Up @@ -1735,7 +1736,7 @@ task export_auspice_json {
echo --auspice-config >> exportargs
echo "~{auspice_config}" >> exportargs

(export AUGUR_RECURSION_LIMIT=10000; cat exportargs | grep . | tr '\n' '\0' | xargs -0 -t augur export v2 \
(export AUGUR_RECURSION_LIMIT=15000; cat exportargs | grep . | tr '\n' '\0' | xargs -0 -t augur export v2 \
~{"--metadata " + sample_metadata} \
~{"--lat-longs " + lat_longs_tsv} \
~{"--colors " + colors_tsv} \
Expand All @@ -1750,10 +1751,10 @@ task export_auspice_json {
>>>
runtime {
docker: docker
memory: "32 GB"
memory: select_first([machine_mem_gb, 64]) + " GB"
cpu : 4
disks: "local-disk 100 HDD"
dx_instance_type: "mem3_ssd1_v2_x4"
dx_instance_type: "mem3_ssd1_v2_x8"
preemptible: 0
maxRetries: 2
}
Expand Down