Skip to content

Commit

Permalink
Set memory resources required to sanitize metadata
Browse files Browse the repository at this point in the history
Local testing of full GISAID metadata required 300 MB of memory at peak
use, so we set the requested memory for this job to 500 MB for a little
extra buffer.
  • Loading branch information
huddlej committed Oct 5, 2021
1 parent 79497a1 commit ec9d3fe
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=500
shell:
"""
python3 scripts/sanitize_metadata.py \
Expand Down

0 comments on commit ec9d3fe

Please sign in to comment.