pdbe-molstar
Version:
Molstar implementation for PDBe
16 lines (15 loc) • 957 B
TypeScript
import { Structure } from 'molstar/lib/mol-model/structure';
import { SuperpositionResult } from './index';
/** Superpose structures based on the largest common component (measured the by number of residues) with a UniProt mapping (taken from atom_site mmCIF category).
* Residue-residue correspondence is determined by UniProt residue numbers.
* This differs from UniProt-based superposition in core Molstar (`alignAndSuperposeWithSIFTSMapping`) which takes all components (regardless of their spacial arrangement). */
export declare function superposeByBiggestCommonChain(structA: Structure, structB: Structure, allowedComponentsA: string[] | undefined, allowedComponentsB: string[] | undefined): SuperpositionResult | undefined;
export interface SortedAccessionsAndUnits<T extends object = object> {
accessions: string[];
units: {
[accession: string]: ({
unitId: string;
size: number;
} & T)[];
};
}