Skip to content

Top Entry Two Corridors Split Targets

A Reporting section's TOP entry is fed along two corridors: the whole-genome line over the top from Read QC and both lines climbing out of Alignment beside it. Both lines turn off to Stats and the panel line continues down to Panel coverage. The port deals its column in the order the lines turn off, so the bundle stays nested from the climb through both turns instead of the lines swapping over the top and crossing inside the entry (issue #2123).

Mermaid source
examples/topologies/top_entry_two_corridors_split_targets.mmdOpen in playground (opens in a new tab)
%%metro title: Whole-genome and panel sequencing
%%metro line: wgs | Whole genome | #0570b0
%%metro line: panel | Targeted panel | #d62728
graph LR
subgraph qc [Read QC]
fastqc[FastQC]
fastp[fastp]
fastqc -->|wgs,panel| fastp
end
subgraph align [Alignment]
bwa[BWA-MEM]
markdup[MarkDuplicates]
bqsr[BQSR]
bwa -->|wgs,panel| markdup
markdup -->|wgs,panel| bqsr
end
subgraph reporting [Reporting]
%%metro entry: top | wgs, panel
qc_stats[Stats]
multiqc[MultiQC]
panel_coverage[Panel coverage]
qc_stats -->|wgs,panel| multiqc
end
fastp -->|wgs,panel| bwa
fastqc -->|wgs| qc_stats
bqsr -->|panel| panel_coverage
bqsr -->|wgs,panel| qc_stats
CLI command
Terminal window
nf-metro render examples/topologies/top_entry_two_corridors_split_targets.mmd -o top_entry_two_corridors_split_targets.svg
Rendered map
Whole-genome and panel sequencing 1 2 3 FastQC BWA-MEM Stats Panel coverage fastp MarkDuplicates MultiQC BQSR Whole genome Targeted panel created with nf-metro v2.1.0+dev