ChordSyntenyDisplay
Auto-generated config schema for the current JBrowse release — see the config guide for concepts. Provided by the circular-view plugin. View source.
Example usage
The circular-view display for a SyntenyTrack: each alignment is a ribbon
between the span it covers on one side and the span its mate covers on the
other. What a ribbon's colour says is the circular view's color, as in
the linear synteny view, with its alpha and minAlignmentLength; these
slots are the hovered and selected fills:
{
type: 'SyntenyTrack',
trackId: 'volvox_self',
name: 'Volvox self-alignment',
assemblyNames: ['volvox', 'volvox'],
adapter: {
type: 'PAFAdapter',
uri: 'https://example.com/volvox_self.paf',
queryAssembly: 'volvox',
targetAssembly: 'volvox',
},
displays: [
{
type: 'ChordSyntenyDisplay',
displayId: 'volvox_self-ChordSyntenyDisplay',
colorHover: 'rgba(0,0,0,0.5)',
},
],
}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
- Guide: Circular genome view
- Guide: Custom track and display types
- Guide: Synteny track
- Guide: Tracks
Config slots
These slots go on a display entry: "displays": [{ "type": "ChordSyntenyDisplay", ... }], 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 |
|---|---|
colorSelectedcolor = 'rgba(0,0,0,0.6)' | the fill color of a ribbon that has been selected callback args: feature |
colorHovercolor = 'rgba(85,85,85,0.6)' | the fill color of a ribbon that is being hovered over with the mouse callback args: feature |
bezierRadiusRationumber = 0.1 | how far from the center a chord across the circle passes, as a fraction of the circle's radius: 0 draws it straight through the center, and a larger value keeps every chord nearer the rim. A shorter chord bows less, in proportion to its span |