Skip to main content

Annotation

Home > @anocca/sequence-viewer-utils > Annotation

Annotation

Signature:

export declare type Annotation = {
id: string;
label: string;
color: string;
locations: [number, number][];
hidden: boolean;
displayAsSequence: boolean;
rightTag: string;
displayLabel: string;
direction: SeqAnnotationDirectionsEnum;
} & ({
type: 'DNA_OLIGO';
fivePExtension: string;
} | {
type: 'DNA_RE_NUC';
cleavageSites: [number, number][];
} | {
type: 'OTHER';
});

References: SeqAnnotationDirectionsEnum