Skip to content

Commit

Permalink
Set memory resources required to sanitize metadata
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
huddlej committed Oct 6, 2021
1 parent c1616bc commit 48a6f97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions workflow/snakemake_rules/main_workflow.smk
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 48a6f97

Please sign in to comment.