Closed vetsuisse-unibe closed 4 years ago
I have run the above pipeline on SLURM HPC cluster in the following manner snakemake -s bqsrSnakefile --printshellcmds --drmaa " --ntasks=1 --mem=5000 --mincpus=8 --time=24:00:00" --latency-wait 300 --jobs 100 --jobname pXXX_{jobid}
Such a questions is best asked to the slurm experts on stack overflow. Tag is with the snakemake tag: https://stackoverflow.com/questions/tagged/snakemake
I can only say here that snakemake will simply run your shell command inside of a cluster job. Maybe the parametrization of the cluster job is not optimal?
Apart from that, this rule has various other issues. Portability is not there (because it uses modules) scalability is hampered (because you hardcode threads in the shell command instead of using {threads}
to get whatever is defined in the rule itself. Have a look at this repo, which provides a gold standard GATK best practice workflow as it makes sense in snakemake.
Hi, I've recently started using Snakemake for my variant calling pipeline. We use Slurm at our facility. I observed that the jobs launched via Snakemake are running much slower than when I run them manually. Is there any reason? My Snakemake file content is here: