SequenceAnnotationConfig
interface SequenceAnnotationConfig
An interface that defines the parameters for initializing a SequenceAnnotation.
Properties
columnTypes
columnTypes: undefined | ColumnType []
An array of ColumnTypes, which should indicate the type of each position in the sequence. This array should be the same length as the sequence string.
end
end: undefined | number
The end position of the annotation in semantic coordinates (generally a position on a chromosome in base pairs).
id
id: undefined | string
A unique identifier for an Annotation object.
row
row: undefined | number
This describes which horizontal row the Annotation will be rendered in a Chart, assuming that the y-positioning is not overwritten during a call to the glyph rendering API.
sequence
sequence: string
The sequence string to be rendered.
start
start: undefined | number
The start position of the annotation in semantic coordinates (generally a position on a chromosome in base pairs).
suppressWarnings
suppressWarnings: undefined | boolean
This flag suppresses Annotation initialization warnings. Unless you really know what you’re doing, you’ll probably want to leave this alone.
width
width: undefined | number
The width of the annotation in semantic coordinates.