AlignmentsBaseColor
Auto-generated from the config schema in the source — see the config guide for concepts. Provided by the alignments plugin. View source.
Example usage
{ type: 'LinearAlignmentsDisplay', baseColor: 'modifications' }{
type: 'LinearAlignmentsDisplay',
color: { field: 'tags.HP' },
baseColor: { field: 'modifications' },
modifications: { unmodified: 'calls' },
}The alignments displays' baseColor setting: the per-base variable painted
as a cell per base over the reads, whatever color fills them with.
modifications paints the MM/ML calls and bisulfite the conversion state
against the reference, both under the display's modifications settings;
baseQuality and base paint every aligned base. A string is the field.
While a modification field paints, mismatches draw grey, and a read with no
color of its own takes a pale strand tint.
Config slots
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 |
|---|---|
fieldstringEnum ("") = '' | the per-base variable painted over the reads: modifications, bisulfite, baseQuality or base; empty draws none |
scalemaybeStringEnum (none) | none draws no layer and keeps the field for a switch back |