FromConfigRegionsAdapter
Auto-generated config schema for the current JBrowse release — see the
config guide for concepts. Provided by the config
plugin.
View source.
Example usage
Supplies refNames+sizes with no sequence, as the adapter of an assembly's
sequence (a ReferenceSequenceTrack):
{
type: 'ReferenceSequenceTrack',
trackId: 'my_refseq',
adapter: {
type: 'FromConfigRegionsAdapter',
features: [
{ uniqueId: 'ctgA', refName: 'ctgA', start: 0, end: 50000 },
{ uniqueId: 'ctgB', refName: 'ctgB', start: 0, end: 6079 },
],
},
}
See the Config slots section below for all available configuration fields.
used for specifying refNames+sizes of an assembly
Related links
- Track: ReferenceSequenceTrack
- Display: LinearGCContentDisplay
- Display: LinearReferenceSequenceDisplay
- Guide: Supported file types
Config slots
These slots go inside the track's adapter:
"adapter": { "type": "FromConfigRegionsAdapter", ... }. This adapter has no
uri shorthand — give it
the location slots below. 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 |
|---|---|
adapterIdstring = '' | stable identifier used as the adapter cache key; avoids hashing the (potentially large) features array. optional — falls back to hash. |
featuresfrozen = [] | one entry per reference sequence, each with a uniqueId, refName, start: 0 and end set to that sequence's length. This is what defines the assembly's reference names and sizes; no bases are supplied, so base-level views are empty. |