Skip to content

Alignment

type Alignment =
| WrappedAlignment
| UnwrappedAlignment;

Defined in: node_modules/.pnpm/betula-schema@0.6.0/node_modules/betula-schema/dist/types.d.ts:7

A multiple sequence alignment: a list of Sequence records. Conventionally all sequences have the same length once gaps are included, but that is a semantic constraint, not checked structurally by this schema. Accepts either the bare-array shape every current producer (react-bio-viz’s AlignedSequences, acacia’s MSAData) actually emits, or a wrapped object carrying the wire-format ‘type’ discriminator for producers that want one.

This interface was referenced by Betula’s JSON-Schema via the definition “Alignment”.