Skip to content

Commit b275fef

Browse files
perf: reasonable maximum for freebayes cores (#439)
1 parent 5432e83 commit b275fef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

workflow/rules/candidate_calling.smk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ rule freebayes:
1818
config["params"]["freebayes"].get("min_alternate_fraction", "0.05"),
1919
config["params"]["freebayes"].get("extra", ""),
2020
),
21-
threads: max(workflow.cores - 1, 1) # use all available cores -1 (because of the pipe) for calling
21+
threads: 96 # with more cores, we expect freebayes to become too IO bound and memory hungry
2222
wrapper:
2323
"v2.7.0/bio/freebayes"
2424

0 commit comments

Comments
 (0)