ReferenceSequenceTrack
Auto-generated from the config schema in the source — see the config guide for concepts. Provided by the sequence plugin. View source.
Holds an assembly's reference sequence, which
LinearReferenceSequenceDisplay draws base by base.
Example usage
Usually authored as the sequence member of an assembly rather than a
top-level track:
sequence: {
type: 'ReferenceSequenceTrack',
trackId: 'hg38-ref',
adapter: {
type: 'IndexedFastaAdapter',
uri: 'https://example.com/hg38.fa',
},
}Overview
ReferenceSequenceTrack - Identifier
Every ReferenceSequenceTrack has a unique trackId, a required top-level field that identifies it (not one of the config slots below).
Related links
- Display: LinearReferenceSequenceDisplay (state model)
- Adapter: BgzipFastaAdapter
- Adapter: ChromSizesAdapter
- Adapter: FromConfigRegionsAdapter
- Adapter: FromConfigSequenceAdapter
- Adapter: IndexedFastaAdapter
- Adapter: TwoBitAdapter
- Adapter: UnindexedFastaAdapter
- Config guide: Tracks
- Developer guide: Custom track and display types
Config slots
Track slots are top-level fields of the track config, alongside trackId and name. 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 |
|---|---|
| adapter adapter config | configuration for track adapter |
| displays list of display configs | configuration for the displays e.g. LinearReferenceSequenceDisplay |
namestring = '' | optional track name, otherwise uses the "Reference sequence (assemblyName)" |
sequenceTypestringEnum (dna, pep) = 'dna' | pep for a protein sequence, which draws one row of residues with no reverse or translation rows |
descriptionstring = '' | a description of the track |
metadatafrozen = {} | anything to add about this track |
| formatAbout FormatAbout | jexl callbacks that add, rewrite or hide fields in this track's About dialog. |
Retired keys
An older config may still write these. Each loads without an error, and jbrowse validate reports it as stale.
| Key | On load |
|---|---|
rpcDriverName | ignored |
rendering | ignored |