Skip to content

Side Branch Ascent Label Strike

A symmetric 2-way fan-out where a multi-line side branch (Salmon) ascends from off the trunk to the section's shared exit port, passing a wide trunk-sibling label (BEDTools genomecov) along the way. It rides its own track and turns up late at the exit port, so its riser clears the label rather than raking through it mid-section.

Mermaid source
examples/topologies/side_branch_ascent_label_strike.mmd
%%metro title: Side-branch ascent label strike
%%metro line: a | Alpha | #e6007e
%%metro line: b | Beta | #2db572
%%metro line: fwd | Forward | #6c757d
%%metro line: rev | Reverse | #b08968
%%metro diamond_style: symmetric
%%metro file: cov_out | BW | Coverage
graph LR
subgraph up [Upstream]
%%metro exit: right | a, b, fwd, rev
src[Dedup]
end
subgraph sec [Coverage & quantification]
%%metro entry: left | a, b, fwd, rev
%%metro exit: right | a, b
split[SAMtools split strand]
genomecov[BEDTools genomecov]
salmon[Salmon]
split -->|fwd,rev| genomecov
genomecov -->|fwd,rev| cov_out
end
subgraph down [Reporting]
%%metro entry: left | a, b
sink[MultiQC]
end
src -->|fwd,rev| split
src -->|a,b| salmon
salmon -->|a,b| sink
CLI command
Terminal window
nf-metro render examples/topologies/side_branch_ascent_label_strike.mmd -o side_branch_ascent_label_strike.svg
Rendered map
Side-branch ascent label strike 1 2 3 BW Coverage SAMtools split strand Dedup Salmon MultiQC BEDTools genomecov Alpha Beta Forward Reverse created with nf-metro v2.0.0+dev