Multi-way synteny display
The multi-way synteny display stacks several genomes under a linear genome view, one lane per genome, each drawn in that genome's own coordinates. The view's genome is the anchor on top. The display fits each lane to the stretch the alignment matches to the anchor's window, and ribbons join the matching stretches or genes between lanes.
A synteny track over several genomes draws this way from its track menu: Display types → Multi-way synteny display. Three or more genomes has a config for each kind of input, from an ortholog table or alignment files of your own.
Ribbon endpoints by source
Which two lanes a ribbon connects depends on the track's source:
| Source | A ribbon joins | Worked through in |
|---|---|---|
Pairwise alignments against one genome (MultiPairwiseSyntenyAdapter) |
a lane to the anchor, whichever lane sits above it | Synteny from liftOver chains (hg38 and other vertebrates), Synteny on genomes.jbrowse.org |
One PAF holding many pairs (MultiGenomePAFAdapter, indexed or not) |
a lane to the lane above it, or to the anchor where the file aligns every genome to one reference | Synteny from a Cactus alignment (T2T apes), Synteny from SyRI rearrangement calls (Arabidopsis) |
An ortholog table (MCScanBlocksAdapter) |
one ortholog group, down adjacent lanes | Synteny from MCScan blocks (grape, peach, cacao), Synteny from gene symbols (primates and E. coli), Synteny from OrthoFinder orthogroups |
Haplotype walks through a pangenome graph (GfaWalksSyntenyAdapter) |
the nodes two neighbouring haplotypes share | Pangenome (HPRC) part 2: haplotypes against each other |
A blue ribbon means "inverted against the anchor" on a track against one genome and "inverted against the lane above" on a neighbour-pair track. With the genomes stacked in tree order, the second kind reads as a walk down the tree.
Reading a lane header
Each lane has a separate scale, printed in its header:
- Left end: the stretch of the lane's contig from the first to the last base
matched to the window, then
reversed vs hg38where every piece the lane draws runs against the anchor, anddrawn opposite to hg38where the lane is drawn against the anchor's order, which says how it is drawn and nothing of its sequence - Right end: the anchor prints its window's span. A lane that holds more
sequence across the window than the anchor, such as one with insertions, is
squeezed to fit and prints how many times (
squeezed 1.5×). A stretch of the anchor the lane lacks is left open as a hole, which takes room too. A lane at the anchor's scale prints nothing - Changes chip: deletions, insertions, stretches replaced
(
122 kb replaced by 49 kb) and inversions of 10 kb or more against the anchor. A gap reaching past the window, holding a piece of the other strand, such as an inversion's breakpoints, or stepping back to anchor an earlier piece holds, as a copy does, states nothing - Ticks fall at one interval shared by every lane
also atnames a second stretch the window aligns to, a window or more away from the one the lane draws
A haplotype lane from a walk file draws every piece of the haplotype the window places, each a row of its own under the haplotype's name and contig: one on another contig, or a window or more along the same one. A lane placing alignments draws its own sequence as a grey bar under its ribbons, and a darker box across anchor sequence the lane lacks, as a read draws a deletion; the lane's bases either side of it are adjacent in its genome. Where none of the lanes has sequence placed in the window, a line under the anchor says so. A track that names its haplotypes speaks for those alone, as in "None of this track's 8 haplotypes has sequence placed in this window", since others in the file may have sequence there.
The marks every lane draws alike, the ribbons' orientation, a mismatch, the grey sequence bar and its deletion box, are keyed in one row above the anchor lane, listing only what is drawn. In a pane too narrow for one line the row takes as many as its entries need, and a label wider than the pane wraps within it. Colors picked by data, such as a gene's or a ribbon field's, are keyed in the floating legend under the anchor lane. Either × hides both.
A pin or a hidden lane made on a piece holds after a reload, on the piece of its contig whose start is nearest the one it was made on.
A lane with no readable gene track (GFF3, GTF, BigBed or BED) on its assembly
outlines gene spans from the table where it has them, labeled no annotation.
The view's gridlines stop at the anchor, the one lane they fit.
Ribbons
- Color by → Strand, under Ribbons in the track menu, is the default: red where the two lanes a ribbon joins run the same way, blue where one is reversed. A lane drawn reversed has straight ribbons that are still blue.
- Hover a ribbon to light the same alignment or ortholog group in every lane it reaches; the tooltip names the two lanes it joins, each with its stretch and length.
- Click a ribbon to open its details, and empty canvas to clear the outline. An alignment against the anchor ends its details in a Link to view card, which opens the other genome at the matching region or launches a synteny view of the pair.
- Opacity in the track menu sets how far overlapping ribbons show through each other.
- Blocks: an MCScan
.anchorstrack draws each block of gene pairs as a pale band behind their ribbons, from one end of the block to the other on both lanes. A band is colored by the block's direction,blockorblockSpan. JBrowse draws it wherever the filter leaves one of its gene pairs, and it answers hover and click as a ribbon does. - Skipped lanes: a ribbon joins a gene to the next lane that places it when the lane between places nothing, so a sparse lane mid-stack cuts no chain.
Choosing and ordering lanes
The Lanes submenu in the track menu holds the stack's controls:
- Choose lanes... picks which genomes draw, with a filter box for long lists.
- Order lanes by structure starts from the lane most like the anchor and stacks each lane beside the one whose insertions and deletions against the anchor are most alike, so a structure several lanes share draws as one block. The order stays until you reset it.
- Freeze lanes keeps every lane where it is as you pan and zoom. While frozen, drag or side-scroll a lane to slide it. The lanes unfreeze once the view leaves the window they froze on.
Drag a lane label to move that lane. To fix the order across a pan, the display
config's rows.sort pins the lanes it names to the top, in that order, and the
rest follow densest-first, or each beside the lane most alike where the source
joins neighbouring lanes
(grouping and ordering).
Moving a lane to another stretch
A lane draws one stretch of one chromosome at a time, the stretch holding most of the window. Where the window aligns somewhere else too, the lane header menu offers it:
- Show ⟨chromosome⟩ in this lane moves the lane onto another chromosome the window aligns to.
- Show ⟨region⟩ in this lane moves it onto the other stretch its header
names after
also at. - Flip lane turns the lane the other way on the same chromosome, for a lane whose blocks split about evenly between the two orientations.
- Unpin ⟨chromosome⟩ undoes either Show item, so the display chooses where the lane draws again.
- Unpin orientation on ⟨chromosome⟩ undoes a flip.
The lane header menu
The ⋮ on a lane header, or a right-click on its name, opens the lane menu. The Lanes submenu in the track menu also lists every lane by name, each with the same items.
- Open ⟨genome⟩ at the matching region opens that genome in a separate linear genome view, with its gene track.
- Re-anchor on ⟨genome⟩ turns the track around so that genome is the anchor.
- Re-align lane, offered while the lanes are frozen, fits the lane to what the anchor shows now and keeps it frozen there.
- Color... picks a color for the lane, drawn as a bar beside its name, over
any color the data source gives it; Clear lane color returns to the
source's. The display config's
rows.colorssets these by assembly name.
Opening a stacked synteny view
These open a linear synteny view with a row per genome:
- Advanced → Launch → Linear synteny view (visible region)... in the track menu offers a row to every genome that aligns to the window.
- Launch → Linear synteny view... appears once you drag-select a region on the scale bar. The dialog lists a row per genome, with arrows to reorder them.
See also
- User guide: Linear synteny view
- Config guide: Synteny track
- Config guide: Grouping and lane order