These are some of the things that I can never remember how to do in snakemake but they make life just that little bit easier.
Setting the cluster job name
--jobname="clustering.{name}.{jobid}"
Note that jobid
must be included as a wildcard. You should probably include the rule name
too.