Skip to content

Commit

Permalink
Pass the tree rule's mem_mb through to IQ-TREE
Browse files Browse the repository at this point in the history
While most of our mem_mb definitions are only heuristics for Snakemake's
scheduler and the commands themselves aren't limited or aware of the
mem_mb defined, IQ-TREE *does* support memory limits.

Resolves <#949>.
  • Loading branch information
tsibley committed May 25, 2022
1 parent 5a7e4d7 commit acb198e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/snakemake_rules/main_workflow.smk
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ rule tree:
"""
augur tree \
--alignment {input.alignment} \
--tree-builder-args {params.args} \
--tree-builder-args {params.args}' --mem {resources.mem_mb}M' \
{params.exclude_sites} \
--output {output.tree} \
--nthreads {threads} 2>&1 | tee {log}
Expand Down

0 comments on commit acb198e

Please sign in to comment.