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.
@@ -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 \
