GENERATE-SLU...TITION-CONFIG(1)
π generate-slurm-partition-config β the girlies' guide π
okay so bestie, this is a User Commands girlie, and she's here to Generate SLURM partition configuration for Snakemake. that's it. that's the whole vibe. she looks at your cluster, she writes you a cute little YAML, and you go slay your workflow. no cap. β¨
β¨ SYNOPSIS β¨
generate-slurm-partition-config [-h] [-o OUTPUT] [clusters]
literally that's all you gotta type. three little things. iconic behavior. π
πΈ OPTIONS πΈ
π«Ά POSITIONAL ARGUMENTS
clustersβ a comma-separated list of cluster names, for when you're doing a multi-cluster setup (very main character of you tbh). if you justβ¦ don't pass it? she'll go query the current/default cluster instead. no pressure, she'll figure it out. π
π OPTIONAL ARGUMENTS
-h,--helpβ show a help message and exit. the classic "wait what does this do again" button, she's got you π«Ά-o,--output OUTPUTβ the output file path. if you don't specify it, she writes to stdout instead, which is honestly fine too. do you, boo. π
π EXAMPLES π
here's the tea, copy-paste away bestie:
# Query current cluster and output to stdout
generate-slurm-partition-config
# Query specific cluster
generate-slurm-partition-config cluster1
# Query multiple clusters
generate-slurm-partition-config cluster1,cluster2
# Save to file
generate-slurm-partition-config -o partitions.yaml
generate-slurm-partition-config cluster1,cluster2 -o partitions.yaml
the generated YAML file can be used with:
snakemake --executor slurm --slurm-partition-config partitions.yaml
OR β and this is the glow-up, the permanent-install era β copy the partitions.yaml to a location (e.g. ~/.config/snakemake/ or /etc/xdg/snakemake). be sure to set $SNAKEMAKE_SLURM_PARTITIONS, accordingly. like, actually actually. don't skip that part. π¨
ok genuine reminder: that $SNAKEMAKE_SLURM_PARTITIONS env var is not decorative, bestie. set it. it's giving "permanent use" for a reason π
πΈπ and that's the whole page, we ate and left no crumbs ππΈ
this lil manual came from User Commands, dated February 2026 β and yes, GENERATE-SLU...TITION-CONFIG(1) is really out here with the shortened name, she's mysterious like that π
periodt.
π¦ where this page comes from
- fedora 44: python3-snakemake-executor-plugin-slurm 2.3.1-1.fc44 Β· MIT
- fedora 44: python3-snakemake-executor-plugin-slurm 2.6.1-1.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms