Overview
Snakemake 8.0, released on September 20, 2023, introduces a plugin system and a modular architecture.
Main Features
Plugin system
Executors, storage, and reporting are now separately installable plugins.
python
# Install plugins
# pip install snakemake-executor-plugin-slurm
# pip install snakemake-storage-plugin-s3
# Snakefile
rule all:
input: 'results/output.txt'
rule process:
input: 'data/input.txt'
output: 'results/output.txt'
shell: 'cat {input} | sort > {output}'
Modular architecture
Snakemake's code is split into independent modules, making maintenance and third-party contributions easier.
python
# Run with a specific executor
# snakemake --executor slurm --jobs 100
# Use remote storage
# snakemake --default-storage-provider s3
# --default-storage-prefix s3://bucket/
# List installed plugins
# snakemake --list-plugins
