FeatureUtrs
Auto-generated from the config schema in the source — see the config guide for concepts. Built into JBrowse core. View source.
The gene glyphs' utrs, the thinner boxes a coding transcript draws past
its CDS, which encoding.color paints. Unset, a UTR takes its transcript's
fill, a field's color or a constant, and the contrasting UTR blue where
nothing sets a fill.
Example usage
{
type: 'LinearBasicDisplay',
utrs: { encoding: { color: { value: 'lightblue' } } },
}Config slots
A setting written to it names members one by one: a member left out stays as it is, and null resets one. 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 |
|---|---|
| encoding FeatureUtrEncoding sub-schema | The channel the UTR boxes paint through. |
| encoding.color FeatureUtrColor sub-schema | A constant only: a UTR takes a field's color through its transcript's fill. |
encoding.color.valuemaybeColor | a CSS color, or a jexl: callback over feature returning one, painting every UTR box over its transcript's fillcallback args: feature |