Starting from version 3.7, threads can also be a callable that returns an int value. Snakemake will always round the calculated value down (while enforcing a minimum of 1 thread). E.g., in the above example, we reserve 75% of the given cores for the rule. The number of given cores is globally available in the Snakefile as an attribute of the workflow object: res.Īny arithmetic operation can be performed to derive a number of threads from this. Integrating foreign workflow management systems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |