Closed freekvh closed 1 week ago
Consider this: The group job is a property of the workflow itself. Snakemake allows for group jobs to support piped information flow. To rely on profiles to provide for such information can break a workflow.
On the other hand, every property of a workflow can be defined on the command line, too. And in configuration files. I did not test this for group jobs, because I would not recommend it for the reason named above.
Besides, this is a property of Snakemake. This plugin repo only contains the code for job submissions using the SLURM batch system. Snakemake issues should be reported in the Snakemake repository.
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I would like to set job groups in the cluster config.yaml file instead of in the rules. This would make it easier to keep the overview + it is a parameter that is specific to a cluster's resources so naturally it would find its place in the cluster config.yaml. At the moment I can only get job-grouping to work using this inside rules:
Describe the solution you'd like It would be nice if I could set the groups inside the cluster.yaml file, perhaps in the set-resources section, like to:
Describe alternatives you've considered Perhaps this can already be done, and I'm implementing it wrong but I have read all relevant documentation as far as I am aware.
Additional context