GENERATE-SLU...TITION-CONFIG(1)

πŸ“¦ version 2.6.1, in fedora 44

πŸ’– 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