LinearReferenceSequenceDisplay
Auto-generated config schema for the current JBrowse release — see the
config guide for concepts. Provided by the sequence
plugin.
View source.
Example usage
The display goes in the displays array of the assembly's sequence track,
which is where a ReferenceSequenceTrack is authored — it names no assembly of
its own. showForward, showReverse, and showTranslation toggle the strand
and translation rows:
sequence: {
type: 'ReferenceSequenceTrack',
trackId: 'refseq',
adapter: {
type: 'IndexedFastaAdapter',
uri: 'https://example.com/genome.fa',
},
displays: [
{
type: 'LinearReferenceSequenceDisplay',
displayId: 'refseq-LinearReferenceSequenceDisplay',
showTranslation: false,
},
],
}
See the Config slots section below for all available configuration fields.
Related links
- Adapter: BgzipFastaAdapter
- Adapter: ChromSizesAdapter
- Adapter: FromConfigRegionsAdapter
- Adapter: FromConfigSequenceAdapter
- Adapter: IndexedFastaAdapter
- Adapter: TwoBitAdapter
- Adapter: UnindexedFastaAdapter
- State model: runtime API
- Guide: Custom track and display types
- Guide: Tracks
Config slots
These 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. |
showForwardboolean = true | show the forward-strand sequence row |
showReverseboolean = true | show the reverse-complement sequence row (DNA only) |
showTranslationboolean = true | show the translation frame rows (DNA only) |
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 |