jdblischak / smk-simple-slurm

A simple Snakemake profile for Slurm without --cluster-config
Creative Commons Zero v1.0 Universal
120 stars 14 forks source link

Mixing of local and cluster jobs #19

Closed mhorlacher closed 1 year ago

mhorlacher commented 1 year ago

Some rules may execute in seconds (say, checking filesize), while other may take hours and are better suited for cluster execution. Is it possible to e.g. flag rules to be run locally, while other rules are scheduled via an HPC cluster?

jdblischak commented 1 year ago

Yes, you can use the localrule directive

mhorlacher commented 1 year ago

This is exactly what I need, thanks @jdblischak !