Synteny on genomes.jbrowse.org
The tutorials target the JBrowse v5 beta, and the v4.3.0 release
on the download page lacks some of what they show. To install the
beta of JBrowse Web, run npm install -g @jbrowse/cli@next, then
jbrowse create jbrowse2 --branch v5.0.0-beta.13. Desktop beta builds are coming soon.
genomes.jbrowse.org already has UCSC's pairwise liftOver alignments for every genome, so you can turn one on in a linear genome view and launch a two-panel linear synteny view from any chain block. We compare hg38 against T2T-CHM13 (hs1) at TNNT3, a locus the two lay out differently, then against chimp at an FTO intron. A multi-way track then stacks many genomes under hg38 at TNNT3, mouse strains at Nnt and one person's haplotypes at 17q21.31.
Opening a liftOver track
Open hg38 on genomes.jbrowse.org, find Pairwise
alignments → liftOver in the track selector and turn on hg38 to Human
(hs1) liftOver. Type TNNT3 into the location box; the hosted config ships a
name index. The liftOver track draws one feature per chain block.
The hg38 config declares one assembly, and the site loads another genome's config when a track names it.
Launching a synteny view
Right-click any chain block and choose Launch → Linear synteny view with <assembly>. The dialog frames the second panel:
- Use CIGAR to map the current visible region to the target finds, from the alignment, the interval in the other genome that matches what is in view. The chain through TNNT3 spans the chromosome, so with the box unticked both panels frame all of chromosome 11.
- Horizontally flip inverted targets (ticked by default) appears for a reverse-strand block.
- Open in new view appends the result below the linear view, and Replace current view puts it in that view's place.
- Copy this view's tracks into its panel sets whether the panel you launched from keeps the tracks that view had on.
For a locus no single chain block covers, drag-select it on the scale bar and pick Launch → Linear synteny view, whose dialog offers every assembly the session's synteny datasets align to it. See the linear synteny view guide.
Ribbon display settings
The synteny view's settings menu, the sliders button in its header, holds two ribbon settings:
- Curved lines draws each ribbon as a curve, easier to follow across a gap
- CIGAR indels → Transparent indels leaves insertions and deletions inside each block as see-through gaps
The palette button in the same header sets the ribbons' color, a color scale
that maps a field to colors. Strand paints each block by its orientation;
the figures below use it.
The TNNT3 rearrangement
TNNT3 is the locus of Fig 5C in Aganezov et al. (2022). Against GRCh38 the region reads as an inversion plus a deletion that removes the long noncoding RNA LINC01150 in every individual. Pick Strand from the header's palette button, and the segment that moved is the one off-color ribbon.
Launching hg38 against chimp at an FTO intron
The steps above work for any track under Pairwise alignments → liftOver, one per chain file UCSC publishes against the genome you are in, and for a chain or PAF of your own once it is added as a synteny track (HG002 haplotypes loads a chain, Synteny (pairwise minimap2) a PAF).
Turn on hg38 to Chimp (panTro6) liftOver under Pairwise alignments →
liftOver, type chr16:54,036,000-54,054,000, an intron of FTO, into the
location box, and launch a synteny view from a chain block:
The figure's last step switches to curves and Transparent indels (above), turning the one gap into a hole that lines up with a RepeatMasker element. The chimp panel lacks that element and holds every other repeat in the window.
The chimp panel's track selector offers NCBI RefSeq - RefSeq All and
RepeatMasker, brought in with the panTro6 hub. The rest of that hub loads
from File → Open connection... as a JBrowse 2 hub at
https://jbrowse.org/ucsc/panTro6/config.json.
To start from a gene, the site's ortholog search lists a symbol's NCBI orthologs among the hosted genomes, with a synteny view per row where an alignment exists.
Stacking many genomes under hg38 in one multi-way track
A liftOver track pairs hg38 with one other genome. hg38's staging config also has hg38 vs 240 genomes (liftOver, multi-way), one track over all of hg38's liftOver chains. The track draws hg38 on top and a lane per genome below, each lane with the gene models annotated on that genome, and lives on staging.genomes.jbrowse.org until JBrowse 5 ships.
Open the TNNT3 gene page and scroll to Conserved gene order, which draws the genes around TNNT3 in the 80 species nearest human. ☰ Multi-way synteny lanes at the top of that figure opens the track over the same hg38 window, with a lane for each of those species the track holds.
The track holds only genomes UCSC publishes a liftOver chain to. Where the gene page's assembly for a species has no chain, its lane is the newest build of that species that does. The link opens a lane for every species it found, too many to read at once, so in the track menu:
- Pick Lanes → Choose lanes... and tick chimp, orangutan, rhesus, gray mouse lemur, Chinese tree shrew, naked mole-rat, elephant and platypus, a span from the apes to the monotremes
- Pick Color by... → Strand, under Ribbons, to paint a ribbon red where the two lanes it joins run the same way and blue where one is inverted against the other
Reading the stack
covers the lane labels, [rev], the ribbons and the lane menus.
Choosing which mouse strains become lanes at Nnt
mm39's multi-way liftOver track holds the Mouse Genomes Project strains, and mm39 is C57BL/6J, the strain that lost Nnt exons 7 to 11 (Freeman et al. 2006). We'll open the strain lanes at that gene:
- open mm39 on staging.genomes.jbrowse.org and turn on mm39 vs 76 genomes (liftOver, multi-way) under Pairwise alignments
- type
Nntinto the location box - in the track menu, Lanes → Choose lanes..., type
house mouseinto the filter and tick the strains, the C57BL/6J T2T assembly among them
Comparing one person's two haplotypes at the 17q21.31 inversion
hg38's multi-way track holds both haplotypes of the H9 T2T assembly, so a stack
can put one person's two chromosomes under the reference. At 17q21.31 the H2
haplotype is a 900 kb inversion (Stefansson et al. 2005), and H9 has one of
each. On hg38 at
staging.genomes.jbrowse.org, turn on
hg38 vs 240 genomes (liftOver, multi-way), type
chr17:45,300,000-46,800,000 into the location box, then in the track menu:
- Pick Lanes → Choose lanes... and tick the two H9 haplotypes, the HG002 maternal assembly, the NA24631 maternal assembly and T2T-CHM13 (hs1)
- Drag the H9 hap2 lane's label to the top of the stack, beside hg38
- Pick Color by... → Strand, under Ribbons
- Turn off Show... → Show gene labels, since the RefSeq track above names the genes
See also
- Tutorial: Basic usage of genomes.jbrowse.org
- Tutorial: Synteny visualization (pairwise minimap2)
- Tutorial: Synteny from an ortholog table (grape, peach, cacao)
- Tutorial: Synteny visualization (all-vs-all minimap2)
- Tutorial: Driving JBrowse with an AI agent (two Drosophila genomes)
- Tutorial: Proteins on genomes.jbrowse.org
- User guide: Linear synteny view
- User guide: Dotplot view
Citations
- Aganezov S, et al. A complete reference genome improves analysis of human genetic variation. Science (2022). https://doi.org/10.1126/science.abl3533
- Freeman HC, Hugill A, Dear NT, Ashcroft FM, Cox RD. Deletion of nicotinamide nucleotide transhydrogenase: a new quantitive trait locus accounting for glucose intolerance in C57BL/6J mice. Diabetes (2006). https://doi.org/10.2337/db06-0358
- Stefansson H, et al. A common inversion under selection in Europeans. Nat Genet (2005). https://doi.org/10.1038/ng1508
Feedback on this tutorial is welcome: contact us.