UNPKG

molstar

Version:

A comprehensive macromolecular library.

26 lines (25 loc) 1.04 kB
/** * Copyright (c) 2019-2024 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose <alexander.rose@weirdbyte.de> * @author Adam Midlik <midlik@gmail.com> */ import { OrderedSet } from '../../mol-data/int'; import { Loci } from '../../mol-model/loci'; import { StructureElement } from '../../mol-model/structure'; import { SequenceWrapper, StructureUnit } from './wrapper'; export declare class PolymerSequenceWrapper extends SequenceWrapper<StructureUnit> { private readonly unitMap; private readonly sequence; private readonly missing; private readonly observed; private readonly modelNum; private readonly asymId; private seqId; residueLabel(seqIdx: number): string; residueColor(seqIdx: number): import("../../mol-util/color").Color; residueClass(seqIdx: number): "msp-sequence-missing" | "msp-sequence-present"; getSeqIndices(loci: Loci): OrderedSet; getLoci(seqIdx: number): StructureElement.Loci; constructor(data: StructureUnit); }