Skip to main content
v2026.11,772 entries · CC-BY 4.0
Dictionary termTrack CStablev2026.2

Snakemake (concept)

A Python-based workflow management system that expresses computational pipelines as rules with explicit inputs, outputs, and shell or script bodies, and infers a directed acyclic graph (DAG) of jobs from those rules.

ByCASRAI Editorial Board
· Last updated 22 Aug 2026
Share this

Ask CASRAI · included with Regulatory Radar

Ask about Snakemake (concept)

Ask CASRAI answers research-administration questions and cites the passages behind every claim — and says so when the corpus does not cover something, instead of guessing. It comes with a Regulatory Radar subscription at $29 a month, alongside the daily digest of regulatory changes and the dashboard of what changed.

150 questions a day, on this site, over the API, or inside your own tools through the CASRAI MCP server.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays free to read, with no account and no card.

Examples

Worked examples

  • Is an instance

    A genomics paper distributing its analysis as a Snakemake workflow with a `--use-conda` flag.

  • Is an instance

    A Snakemake pipeline executed locally for development and on Slurm for production.

Counter-examples

Looks similar, but isn't

  • Not an instance

    A pure CWL pipeline (different language).

  • Not an instance

    A bash script with no DAG inference.

Editorial commentary

Snakemake is a Python-based workflow management system, created by Johannes Köster (then at the University of Duisburg-Essen) and first described in a 2012 Bioinformatics paper, that expresses a computational pipeline as a set of rules — each with declared inputs, outputs, and a shell or script body — and automatically infers a directed acyclic graph (DAG) of jobs from those file-based dependencies, closely following the Make paradigm Snakemake’s name references.

Why it matters for reproducibility specifically

Because Snakemake infers execution order from declared file dependencies rather than a hand-written script sequence, re-running a workflow after a single input changes only re-executes the affected downstream rules — and because the same workflow definition can integrate per-rule conda environments or container images and execute unchanged on a laptop, an HPC cluster (via Slurm and similar schedulers), or cloud compute, the same pipeline definition that produced a paper’s results can, in principle, be handed to a reviewer or reused by another lab without re-deriving the analysis logic. Snakemake also produces provenance metadata describing which rule, environment, and input versions produced each output file.

How it differs from adjacent workflow tools

Snakemake and Nextflow are workflow languages tightly coupled to their own execution engines; CWL (Common Workflow Language) and WDL (Workflow Description Language) are, by contrast, portable declarative interchange formats designed to be run by any conformant engine (cwltool, Toil, Cromwell, miniWDL, and others). Snakemake’s advantage is a lower barrier to entry for a Python-literate researcher — rules are close to ordinary Python — at the cost of being less portable across execution engines than a CWL or WDL pipeline. The ‘concept’ qualifier on this entry marks it as covering that methodological pattern (rule-based, DAG-inferring workflow management) rather than tracking Snakemake’s own release history.

References

  • Köster J., Rahmann S., ‘Snakemake — a scalable bioinformatics workflow engine’, Bioinformatics, 2012.
  • Mölder F. et al., ‘Sustainable data analysis with Snakemake’, F1000Research, 2021.

Also known as

Snakemake

Machine-readable encodings

Use in your systems

JATS XML <role> element
xml
<role vocab="credit"
      vocab-identifier="https://casrai.org/dictionary/"
      vocab-term="Snakemake (concept)"
      vocab-term-identifier="https://casrai.org/dictionary/term/snakemake-concept" />
Schema.org DefinedTerm (JSON-LD)
json
{
  "@context": "https://schema.org",
  "@type": "DefinedTerm",
  "@id": "https://casrai.org/dictionary/term/snakemake-concept",
  "name": "Snakemake (concept)",
  "identifier": "https://casrai.org/dictionary/term/snakemake-concept",
  "description": "A Python-based workflow management system that expresses computational pipelines as rules with explicit inputs, outputs, and shell or script bodies, and infers a directed acyclic graph (DAG) of jobs from those rules.",
  "inDefinedTermSet": "https://casrai.org/dictionary/domain/reproducibility#set",
  "url": "https://casrai.org/dictionary/term/snakemake-concept",
  "sameAs": [
    "Snakemake"
  ],
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "publisher": {
    "@id": "https://casrai.org/#organization"
  },
  "author": {
    "@id": "https://casrai.org/#editorial-team"
  },
  "datePublished": "2026-05-21T02:22:49",
  "dateModified": "2026-08-22T19:52:11",
  "inLanguage": "en-GB",
  "isAccessibleForFree": true
}

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →

Regulatory Radar

Stop finding out after the fact

$29/month, cancel anytime. Daily digest updates from our analysis, a dashboard holding the same items, and a cited assistant for everything they raise.

  • Federal Register, Federal Register+, Grants.gov, Regulations.gov, NSF News, UKRI, plus CASRAI’s own published content.
  • 72,264 indexed passages, and every answer cites the ones it drew on.