GCContentTrack
Auto-generated from the config schema in the source — see the config guide for concepts. Provided by the gccontent plugin. View source.
Example usage
{
type: 'GCContentTrack',
trackId: 'gc',
name: 'GC content',
assemblyNames: ['hg38'],
adapter: { type: 'GCContentAdapter' },
}GC skew over a small, overlapping sliding window for a smoother signal
(windowDelta under windowSize overlaps the windows):
{
type: 'GCContentTrack',
trackId: 'gc_skew',
name: 'GC skew',
assemblyNames: ['hg38'],
adapter: {
type: 'GCContentAdapter',
gcMode: 'skew',
windowSize: 50,
windowDelta: 10,
},
}GC content, or GC skew, of the assembly's sequence, computed as the view
moves by a GCContentAdapter and drawn by the wiggle display. The adapter
holds the window, the step and the mode; the track menu's GC parameters and
GC skew write them there. The reference sequence track's menu has "Add GC
content track", which makes one.
Related links
- Display: LinearWiggleDisplay (state model)
- Adapter: GCContentAdapter
- Base config: BaseTrack
- Config guide: Supported file types
- Config guide: Tracks
- Developer guide: Custom track and display types
Config slots
These 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 |
|---|---|
| displays | As on every track, except that a LinearWiggleDisplay entry defaults to extent: 'none'. |
| Inherited from BaseTrack | 12 slots |
namestring = '' | descriptive name of the track, falls back to the trackId when unset |
assemblyNamesstringArray = ['assemblyName'] | name of the assembly (or assemblies) track belongs to |
descriptionstring = '' | a description of the track |
categorystringArray = [] | the category and sub-categories of a track |
metadatafrozen = {} | anything to add about this track |
| adapter adapter config | The source of this track's data. Its type names the adapter for the file format (BamAdapter, Gff3TabixAdapter, ...) and the rest of the object is that adapter's own slots — see the adapter pages for each. Most adapters also accept a uri shorthand in place of writing their location slots out. |
textSearching.indexingAttributesstringArray = ['Name', 'ID', 'symbol'] | list of which feature attributes to index for text searching advanced |
textSearching.indexingFeatureTypesToExcludestringArray = ['CDS', 'exon'] | list of feature types to exclude in text search index advanced |
textSearching.indexingFeatureTypesToIncludestringArray = [] | The only feature types to index, dropping every other type the file carries. Empty (the default) means no allow list, i.e. index everything indexingFeatureTypesToExclude does not name.Use this instead of the exclude list when the file draws from a vocabulary you do not control. An NCBI RefSeq GFF3 uses 115 feature types, 80 of them leaf records with nothing to search for — a match is labelled with a bare UUID, a cDNA_match with an MD5, every biological_region with the literal string "biological region" — so a deny list leaks whichever type is added next, while the allow list (gene, pseudogene, and the transcript types) does not grow. Both may be set: this one admits, the exclude list then narrows.GFF3 only; the GTF and VCF indexers do not filter by type. advanced |
textSearching.textSearchAdapteroptionalTextSearchAdapter | a per-track name search index, normally a TrixTextSearchAdapter over what jbrowse text-index --tracks built; 'genes.ix' is enough, searching this track's assemblies. Without one, this track's features are only findable through an assembly-wide search adapter. |
| formatDetails FormatDetails | jexl callbacks that add, rewrite or hide fields in this track's feature-details panel. The same schema exists session-wide as configuration.formatDetails. |
| formatAbout FormatAbout | jexl callbacks that add, rewrite or hide fields in this track's About dialog. The same schema exists session-wide as configuration.formatAbout. |
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 |
textSearchAdapter | ignored |
textSearchIndexingAttributes | ignored |