MultiWaySyntenyDisplay
Auto-generated config schema for the current JBrowse release — see the config guide for concepts. Provided by the linear-comparative-view plugin. View source.
Example usage
Selected on a multi-genome SyntenyTrack (an MCScanBlocksAdapter listing
several assemblies) shown in a plain linear genome view. Draws one lane per
assembly in that assembly's own local coordinate frame — non-anchored, like
the multi-sample variant matrix — with ribbons connecting each gene's
placements between adjacent lanes:
{
type: 'SyntenyTrack',
trackId: 'grape_peach_cacao',
name: 'grape/peach/cacao orthologs',
assemblyNames: ['grape', 'peach', 'cacao'],
adapter: {
type: 'MCScanBlocksAdapter',
uri: 'grape.blocks',
blockAssemblies: ['grape', 'peach', 'cacao'],
bedLocations: [
{ uri: 'grape.bed' },
{ uri: 'peach.bed' },
{ uri: 'cacao.bed' },
],
},
displays: [
{
type: 'MultiWaySyntenyDisplay',
displayId: 'grape_peach_cacao-MultiWaySyntenyDisplay',
},
],
}
See the Config slots section below for all available configuration fields.
Related links
- Adapter: BlastTabularAdapter
- Adapter: ChainAdapter
- Adapter: DeltaAdapter
- Adapter: MashMapAdapter
- Adapter: MCScanAnchorsAdapter
- Adapter: MCScanBlocksAdapter
- Adapter: MCScanSimpleAnchorsAdapter
- Adapter: MultiGenomeIndexedPAFAdapter
- Adapter: MultiGenomePAFAdapter
- Adapter: MultiPairwiseSyntenyAdapter
- Adapter: PAFAdapter
- Adapter: PairwiseIndexedPAFAdapter
- State model: runtime API
- Base config: BaseLinearDisplay
- Guide: Custom track and display types
- Guide: Synteny from an ortholog table (grape, peach, cacao)
- Guide: Tracks
Config slots
These slots go on a display entry: "displays": [{ "type": "MultiWaySyntenyDisplay", ... }], or in the track's displayDefaults when this is its default display. Slot types (fileLocation, frozen, ...) are explained in the config slot types reference. Slots a base configuration contributes are listed here too, so this table is the whole surface.
| Slot | Description |
|---|---|
| color FeatureColor | The gene glyphs' fill: a CSS color or jexl: callback, goldenrod unset, or { field } to paint each value its own palette color with a key. { field: "cluster" } paints a gene by the ortholog group it carries and a placement box by its own, so a group is one color down the stack; a gene no group claims is the no-value grey. |
utrColorcolor = '#357089' | the fill color of the untranslated parts of a gene glyph, matching the canvas gene track default callback args: feature |
lodModestringEnum (auto, fine, coarse) = 'auto' | which stored tier of a tiered file is fetched: 'auto' switches on the adapter's bpPerPx threshold, 'fine' pins the per-row CIGAR tier, and 'coarse' the tier whose CIGAR is folded to its large indels |
domainstringArray = [] | the lanes that stack first below the anchor, in order; the rest follow densest-first, so a ribbon chain through adjacent lanes is cut as late as possible. What the Lanes menu and a header drag write |
| ribbonColor RibbonColor | "rgba(130,130,130,0.3)" paints every ribbon; { field: "strand" } the record's strand, { field: "identity" } a preset ramp and { field: "group" } a declared column. |
hideUnlabelledboolean = false | under a text column, draw only the ribbons whose pair carries a label |
drawCurvesboolean = false | draw the ribbons as bezier curves rather than straight chords. A plain per-track slot: this display does not share the linear synteny view's view-level drawCurves override. Straight is the default in both places: a chord's slant reads directly as the offset between two lanes drawn in different coordinate frames, which is exactly what a curve hides |
bridgeSkippedLanesboolean = true | join a group across a lane that places nothing for it, to the next lane down that does. A ribbon otherwise joins adjacent lanes only, so a sparse lane mid-stack cuts every chain running through it |
showLegendboolean = true | show the color key: the anchor lane's drawn gene colors, and what ribbonColor paints — the strand colors, the identity ramp, or a column's labels. Derived from what is on screen, so a color slot resolving to one color and a ribbon scale painting nothing key nothing. Defaults to on |
showLaneTicksboolean = true | draw each lane's own coordinate ticks, at one interval shared by every lane. Equal spacing between two lanes means equal bp-per-pixel; a lane whose ticks crowd together is zoomed out. Turning this off leaves the header's span and multiple as the only scale statement |
heightnumber = 240 | overrides the base schema's 100, which divides into a lane stack at the glyph-height floor with the headers colliding into the glyphs |
| Inherited from BaseLinearDisplay | 3 slots |
mouseoverstring = | text to display when the cursor hovers over a feature callback args: feature |
fetchSizeLimitnumber = 1_000_000 | maximum data to attempt to download for a given track, used if adapter doesn't specify one advanced |
forceLoadboolean = false | Declarative equivalent of the "Force load" button on the "too much data" banner: when true the display always renders, however large the region or dense the features. Off by default (the gate guards against huge downloads). Set it on a view no one can interact with — an embedded / notebook view, or a screenshot — where the region is known and you want it drawn without a click. advanced |