2026-02-16 · GitHub release
The initial public release of nf-metro, establishing the core pipeline: parse a Mermaid .mmd file with %%metro directives, compute a metro-map layout, render to SVG.
The layout engine infers section positions from the graph topology - for most pipelines, no %%metro grid: directives are needed.
Rendered map
1
Pre-processing
2
Genome alignment & quantification
4
Post-processing
3
Pseudo-alignment & quantification
5
Quality control & reporting
cat fastq
cat fastq
STAR
STAR
SAMtools
SAMtools
RSeQC
RSeQC
HISAT2
HISAT2
Salmon
Salmon
Kallisto
Kallisto
FastQC
FastQC
RSEM
RSEM
Picard
Picard
Preseq
Preseq
UMI-tools dedup
UMI-tools dedup
MultiQC
MultiQC
infer strandedness
infer strandedness
BEDTools
BEDTools
Qualimap
Qualimap
Salmon
Salmon
UMI-tools extract
UMI-tools extract
bedGraphToBigWig
bedGraphToBigWig
dupRadar
dupRadar
FastP
FastP
StringTie
StringTie
DESeq2 PCA
DESeq2 PCA
Trim Galore!
Trim Galore!
FastQC
FastQC
Kraken2/Bracken
Kraken2/Bracken
BBSplit
BBSplit
MultiQC
MultiQC
SortMeRNA
SortMeRNA
Aligner: STAR, Quantification: RSEM
Aligner: STAR, Quantification: Salmon (default)
Aligner: HISAT2, Quantification: None
Pseudo-aligner: Salmon, Quantification: Salmon
Pseudo-aligner: Kallisto, Quantification: Kallisto
created with nf-metro v1.1.0+dev
For cases where the inferred layout doesn’t match your intent, explicit grid positions override the inference:
%%metro grid: preprocessing | 0 , 0
%%metro grid: alignment | 1 , 0
%%metro grid: quantification| 2 , 0
--animate adds travelling balls that follow each metro line from source to destination:
nf-metro render mypipeline.mmd --animate -o pipeline.svg
Stations representing file inputs or outputs carry a small file icon:
Rendered map
File Icons
1
Analysis
2
Reporting
FASTQ
HTML
MultiQC
MultiQC
Trimming
Trimming
Alignment
Alignment
Quantification
Quantification
Main
Quality Control
created with nf-metro v1.1.0+dev
%%metro style: light produces an SVG with a transparent background, suitable for light-coloured docs pages.
Rendered map
Simple Pipeline
Input
Input
Trimming
Trimming
Alignment
Alignment
FastQC
FastQC
Quantification
Quantification
MultiQC
MultiQC
Main
Quality Control
created with nf-metro v1.1.0+dev
Rendered map
Sectioned Pipeline
1
Pre-processing
2
Analysis
3
Reporting
Input
Input
Alignment
Alignment
MultiQC
MultiQC
Trimming
Trimming
Quantification
Quantification
Report
Report
FastQC
FastQC
Main
Quality Control
created with nf-metro v1.1.0+dev
Rendered map
Fan-out Pipeline
1
Pre-processing
2
WGS Analysis
3
WES Analysis
4
Panel Analysis
5
Annotation
FastQC
FastQC
BWA-MEM
BWA-MEM
VEP
VEP
BWA-MEM
BWA-MEM
Minimap2
Minimap2
Trimming
Trimming
GATK HaplotypeCaller
GATK HaplotypeCaller
Report
Report
GATK Mutect2
GATK Mutect2
FreeBayes
FreeBayes
Whole Genome
Whole Exome
Targeted Panel
created with nf-metro v1.1.0+dev
GitHub Actions workflows for CI (test + lint) and publishing to PyPI on release, set up from day one.