Skip to content

Examples

Each example folder includes the pipeline's saved rule graph, so you can rebuild any of these maps without Snakemake.

miRNA-seq

Started from --scan, with optional steps dashed. Spec: mirnaseq.yaml.

miRNA-seq finished

The untouched draft

Lots of branches, and an end station that isn't MultiQC. Spec: mirnaseq_draft.yaml.

miRNA-seq draft

CUT&RUN

The CUT&RUN draft after editing. Spec: cutrun.yaml.

CUT&RUN finished

The untouched draft

Exactly what draft writes. Includes two feeds connectors. Spec: cutrun_draft.yaml.

CUT&RUN draft

Rebuild the examples

From the cloned slitherFlow folder (with pixi, put pixi run in front of each command):

slitherflow draft GDSC-CUT-RUN-pipeline --rulegraph examples/cutrun/rulegraph.dot -o examples/cutrun/cutrun_draft.yaml
slitherflow render examples/cutrun/cutrun_draft.yaml --png --pdf

slitherflow draft GDSC-miRNAseq-analysis-pipeline --rulegraph examples/mirnaseq/rulegraph.dot -o examples/mirnaseq/mirnaseq_draft.yaml
slitherflow render examples/mirnaseq/mirnaseq_draft.yaml --png --pdf

The palette previews in Customizing your map are the CUT&RUN draft in each palette. Rebuild them with one command per palette:

for p in okabe-ito tol-bright tol-vibrant tol-muted ibm tab10; do
  slitherflow render examples/cutrun/cutrun_draft.yaml -o examples/palettes/$p.svg --palette $p --png
done

The dark mode examples are the finished CUT&RUN map in the other themes:

slitherflow render examples/cutrun/cutrun.yaml -o examples/themes/cutrun_dark.svg --theme dark --png
slitherflow render examples/cutrun/cutrun.yaml -o examples/themes/cutrun_auto.svg --theme auto

examples/mirnaseq/rulegraph_scan.dot is the graph --scan found for the miRNA-seq pipeline, which the finished map started from. Pass it to --rulegraph the same way to see that draft.

When you use --rulegraph, the project name is only used for the map's title.