Skip to content

Sequence

type Sequence = BetulaSequence & object;

Defined in: packages/core/src/data/types.ts:25

One alignment row: a betula Sequence ({ identifier, sequence }, optionally with an alphabet type), plus an optional react-bio-viz id.

Name Type Description
id? string Stable row identity used by selection, rowOrder and the editing callbacks. Defaults to identifier; set it when identifiers can repeat, or when a row is renamed but should keep its identity (e.g. an edit log keyed by the original identifier). Not part of the betula schema.