REA Snakemake workflow notes (unofficial)
Snakemake (Snakefile, config.yaml, profiles) pins rule-graph workflow identity. In REA 6.7.x, treat selected rule/input/output/conda labels as Evidence beside archive/package routes — complementing cousins without inventing APIs.
Mental model
- Authorize the Snakemake project tree (+ packaged rules you hold).
- Quote selected rule names, input/output patterns, and config keys you actually see (never paste secrets).
- Cousins → nextflow-nf · cwl-workflow · luigi-pipeline · airflow-dag.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_snakemake_ymlAPI REA never called.
Minimal path
# authorized Snakefile + config.yaml / profiles (+ artifact you hold)
# quote selected rule/input/output/conda labels into case notes
# cousins → peer Nextflow / CWL / Luigi / Airflow lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_snakemake_yml .
Compare
| Artifact | Honest posture |
|---|---|
| Snakefile / config.yaml | Rule-graph workflow identity facts |
| Nextflow peer | rea-nextflow-nf |
| CWL peer | rea-cwl-workflow |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote
rulenames and input/output wildcards — enough for most Evidence binders. - Cluster profiles and cloud storage URIs often embed credentials — record key names only.
config.yaml/profiles/*/config.yamlare useful in labs — quote keys, not live tokens.- Keep Snakemake distinct from Nextflow
.nfand CWL YAML in case notes. - Conda/mamba env pins and container images are identity Evidence — label them separately from cousin pages.
- Resources (threads/mem) are useful inventory labels — quote them without inventing REA helpers for
snakemake --cluster.
Scope we will not cover
- No inventing
inspect_snakemake_yml/ automatic attacks against foreign Snakemake clusters. - No credential theft from cluster profiles, cloud credentials, or remote storage URIs.
- No pirate redistribution of proprietary workflow trees.
- No crack framing via Snakemake pins.
- No cookbooks that weaken remote auth on foreign deployments.
Honest limits
RepoRead documents config literacy — how authorized Snakemake trees relate to Evidence — not a full Snakemake course. Prefer upstream Snakemake docs for rules and profiles. When REA 6.7.0 has no dedicated helper, quote the pins you opened and stay on documented archive/package lanes.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-nextflow-nf / rea-cwl-workflow / rea-luigi-pipeline?
rea-nextflow-nf covers Nextflow; rea-cwl-workflow covers CWL; rea-luigi-pipeline covers Luigi. This page zooms on Snakemake workflow identity — it does not overwrite those pages.
Is there inspect_snakemake_yml in 6.7.0?
Not assumed. Quote rule/input/output/conda labels you actually open, then use documented package/archive lanes. Do not invent inspect_snakemake_yml.
Does REA connect to Snakemake clusters or steal credentials?
No. Local trees only. Redact cluster profiles, cloud credentials, and remote storage URIs; do not treat REA as a Snakemake runner. No credential theft.
How should I label Evidence vs other workflow configs?
Label Evidence by the file present. Keep Snakemake separate from rea-nextflow-nf, rea-cromwell-wdl, and rea-airflow-dag.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).