Skip to content

Rail Offtrack Io

A `%%metro line_spread: rails` section with off-track `%%metro file:` input and output. Each off-track file terminus carries a buffer-stop nub at the rail-side end of its vertical stub (like the on-rail CRAM/VCF termini) seated clear of its under-icon caption, rather than the line ending bare at the icon.

Mermaid source
examples/topologies/rail_offtrack_io.mmd
%%metro title: Rail off-track file input and output
%%metro style: dark
%%metro line_spread: rails
%%metro line: a | A | #2db572
%%metro line: b | B | #f4a300
%%metro file: cram_in | CRAM
%%metro file: aux_in | BED | Targets
%%metro file: side_out | QC
%%metro off_track: aux_in
%%metro off_track: side_out
graph LR
subgraph sec [Calling]
cram_in[ ]
align[Align]
call[Call]
report[Report]
aux_in[ ]
side_out[ ]
cram_in -->|a,b| align
align -->|a,b| call
call -->|a,b| report
aux_in -->|a| call
call -->|a| side_out
end
CLI command
Terminal window
nf-metro render examples/topologies/rail_offtrack_io.mmd -o rail_offtrack_io.svg
Rendered map
Rail off-track file input and output 1 CRAM BED Targets QC Align Call Report A B created with nf-metro v1.1.0+dev