CircularSelection
Home > @anocca/sequence-viewer-utils > CircularSelection
Sequence selection defines [start, end]
where start is the tail and end is the head.
lets say we have sequence of length 3000 and annotation of 4 bp length locations:
reverse: [10 - 6], antiClockwise: true
,
reverse(over the origin): [2 - 2998], antiClockwise: true
,
forward: [6 - 10], antiClockwise: false
,
forward(over the origin): [2998 - 2], antiClockwise: false
Signature:
export declare type CircularSelection = (SelectionRange & {
state: 'selecting';
antiClockwise?: boolean;
}) | (SelectionRange & {
state: 'selected';
antiClockwise?: boolean;
});
References: SelectionRange