NBISweden / aMeta

Ancient microbiome snakemake workflow
MIT License
19 stars 15 forks source link

Need to add -threads: 1 to all rules as a default #128

Closed ZoePochon closed 9 months ago

ZoePochon commented 1 year ago

Sometimes when we run a one-threaded rule, it fails because it only uses one core and needs more memory than the one that core contains (KrakenUniq2krona, aggregate, Deamination, etc). In order to be able to give more memory to that rule we need to be able to give it more cores even if it won't use several threads. To do so, the rule need to have at least this definition in its snakemake:

LeandroRitter commented 9 months ago

I close it since the issue was fixed in the previous PR