ChordSyntenyDisplay
Auto-generated from the config schema in the source — 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 color 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)',
},
],
}Draws a SyntenyTrack in a CircularView, with a ribbon joining the two
spans of each alignment.
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
- User guide: Circular genome view
- Config guide: Synteny track
- Config guide: Tracks
- Developer guide: Custom track and display types
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 | a chord's distance from the center at its closest, 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 |