LinearReferenceSequenceDisplay
Auto-generated from the config schema in the source — see the config guide for concepts. Provided by the sequence plugin. View source.
Draws a ReferenceSequenceTrack as rows of bases: the forward strand, the
reverse complement and the translation frames.
Example usage
The display goes in the displays array of the assembly's sequence track,
which is where a ReferenceSequenceTrack is authored, so the display sets
no assembly name. forward, reverse and translation each turn their rows
on and off with show:
sequence: {
type: 'ReferenceSequenceTrack',
trackId: 'refseq',
adapter: {
type: 'IndexedFastaAdapter',
uri: 'https://example.com/genome.fa',
},
displays: [
{
type: 'LinearReferenceSequenceDisplay',
displayId: 'refseq-LinearReferenceSequenceDisplay',
translation: { show: false },
},
],
}Related links
- Adapter: BgzipFastaAdapter
- Adapter: ChromSizesAdapter
- Adapter: FromConfigRegionsAdapter
- Adapter: FromConfigSequenceAdapter
- Adapter: IndexedFastaAdapter
- Adapter: TwoBitAdapter
- Adapter: UnindexedFastaAdapter
- State model: runtime API
- Config guide: Tracks
- Developer guide: Custom track and display types
Config slots
Display slots go on a display entry: "displays": [{ "type": "LinearReferenceSequenceDisplay", ... }], 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 |
|---|---|
heightmaybeNumber | explicit display height (e.g. from a drag-resize); unset means auto-fit to the zoom-aware computed height. See the model's height getter. |
| forward SequenceForward sub-schema | The forward-strand base row. |
forward.showboolean = true | draw the rows |
| reverse SequenceReverse sub-schema | The reverse-complement base row; a protein sequence has none. |
reverse.showboolean = true | draw the rows |
| translation SequenceTranslation sub-schema | The three translation frame rows per drawn strand; a protein sequence has none. |
translation.showboolean = true | draw the rows |
fetchSizeLimitnumber = 1000000 | bytes a region may fetch before the display asks first; an adapter that sets its own limit overrides this 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 |
Retired keys
An older config may still write these. Each loads without an error, and jbrowse validate reports it as stale.
| Key | On load |
|---|---|
renderer | ignored |
showForward | moved into a current slot |
showReverse | moved into a current slot |
showTranslation | moved into a current slot |