Hi all,
I try to create a snakemake workflow for HPC.
I know that snakemake have options for cluster ifself, but can we just put the shell: sbatch --optios
in the rules, which is alot easier?
Do you know what is the pros and cons for the 2 approaches?
Best,
You should actually learn to do it properly as suggested here and in the docs: https://stackoverflow.com/questions/76166705/how-do-i-set-up-snakemake-on-slurm-properly
I don't think using sbatch or srun in the command is a viable or sensible solution.