From 48a6f9751247e26a652d655ff3c7e7e6249c2f2c Mon Sep 17 00:00:00 2001 From: John Huddleston Date: Tue, 5 Oct 2021 15:21:12 -0700 Subject: [PATCH] Set memory resources required to sanitize metadata Testing of full open and GISAID metadata required 700 and 600 MB of memory at peak use, respectively, so we set the requested memory for this job to 2000 MB for a little extra buffer. --- workflow/snakemake_rules/main_workflow.smk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/workflow/snakemake_rules/main_workflow.smk b/workflow/snakemake_rules/main_workflow.smk index 6f174c70c..e578bdc95 100644 --- a/workflow/snakemake_rules/main_workflow.smk +++ b/workflow/snakemake_rules/main_workflow.smk @@ -16,6 +16,8 @@ rule sanitize_metadata: rename_fields=config["sanitize_metadata"]["rename_fields"], strain_prefixes=config["strip_strain_prefixes"], error_on_duplicate_strains="--error-on-duplicate-strains" if config["sanitize_metadata"].get("error_on_duplicate_strains") else "", + resources: + mem_mb=2000 shell: """ python3 scripts/sanitize_metadata.py \