Sam Wilkinson
03/13/2026, 1:05 PMPhil Ewels
03/13/2026, 1:19 PMwithLabel: "*" if you likeSam Wilkinson
03/13/2026, 1:21 PMSam Wilkinson
03/13/2026, 2:34 PM23.04.2Arthur
03/13/2026, 7:43 PMArthur
03/13/2026, 7:45 PMwithLabel: ".*" (pretty sure I've made this mistake before)Sam Wilkinson
03/13/2026, 8:35 PMSam Wilkinson
03/13/2026, 8:37 PMPhil Ewels
03/13/2026, 8:46 PMThomas Danhorn
03/13/2026, 8:46 PMresourceLimits and withLabel statements equivalent, you would have to to remove the * task.attempt.
â—¦ The older versions of nf-core pipelines used --max_cpus and --max_memory parameters in conjunction with a Groovy function to cap the values passed to cpus and memory in the config, so that * task.attempt could be used without blowing the limit,
• Also, I'm not sure I like that resource limits are set in a specific profile inside the nextflow.config. Any kind of limits are typically driven by your computing setup, not really by the pipeline itself, so they should be in a separate config file (like these). The way you have it now, you would will always need to run with -profile standard and potentially add other profiles, like debug and/or conda on top of that, but if you have contradictory statements in combined profiles (like docker = ...), that's problematic. If you really want to set resourceLimits (and the equivalent withLabel statements) at all in nextflow.config, I would do that outside all profiles, so that it always applies, no matter which profile you use.Sam Wilkinson
03/13/2026, 8:52 PMThomas Danhorn
03/13/2026, 9:01 PM