This is my current Snakemake
profile that I use with the HPC infrastructure of the Friedrich Schiller University Jena, as well as clusters set up through the German Network for Bioinformatics Infrastructure deNBI which rely on SLURM
for job scheduling.
I shamelessly copy&pasted the profile from Michael Roachs' blog post.
While reading about Snakemake
profiles I found the following links particularly useful:
Snakemake
profiles are available from the Snakemake-profiles project. The SLURM
profile is maintained by @percyfal and makes use of cookiecutter
.
# 1 | download the profile
# 2 | copy it to the config folder
# 3 | make the slurm_status.py script executable
git clone https://github.com/wegnerce/smk_slurm_profile.git
cp -r smk_slurm_profile/* ~/.config/snakemake/slurm/
chmod +x ~/.config/snakemake/slurm/
# run snakemake with the profile
snakemake --profile slurm
©️ Carl-Eric Wegner, 2023