https://github.com/baerlachlan/smk-cluster-generic-slurm
Snakemake profile for Slurm execution via the cluster-generic plugin
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.9%) to scientific vocabulary
Repository
Snakemake profile for Slurm execution via the cluster-generic plugin
Basic Info
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Snakemake profile for Slurm execution
My personal config for slurm execution of snakemake workflows.
Requires Snakemake minimum version 8.
This setup originated from John Blischak's smk-simple-slurm, but has been modified over several years and Snakemake versions.
Installation
If snakemake is not already installed on your system, install it via Conda:
bash
conda create -c conda-forge -c bioconda -n snakemake snakemake
Install the cluster-generic plugin inside your the Snakemake environment:
bash
conda activate snakemake
conda install snakemake-executor-plugin-cluster-generic
Profile setup
Add the profile to your user configuration directory:
bash
mkdir -p ~/.config/snakemake
cd ~/.config/snakemake
git clone git@github.com:baerlachlan/smk-cluster-generic-slurm.git
Modify the account and partition parameters to the sbatch command in config.v8+.yaml under the cluster-generic-submit-cmd option.
Also modify the wrapper-prefix option if you intend to use snakemake wrappers stored locally.
This is my strategy for using wrappers on compute nodes with no internet.
Usage
Pass the folder name when executing Snakemake:
bash
snakemake --profile smk-cluster-generic-slurm
Optionally, set the default profile in your ~/.bashrc and omit the --profile argument:
bash
echo "export SNAKEMAKE_PROFILE=smk-cluster-generic-slurm" >> ~/.bashrc
snakemake
Owner
- Name: Lachlan Baer
- Login: baerlachlan
- Kind: user
- Location: Adelaide, South Australia
- Company: University of Adelaide
- Twitter: baerlachlan
- Repositories: 9
- Profile: https://github.com/baerlachlan
GitHub Events
Total
- Watch event: 1
- Push event: 2
Last Year
- Watch event: 1
- Push event: 2