molstar
Version:
A comprehensive macromolecular library.
22 lines (21 loc) • 845 B
TypeScript
/**
* Copyright (c) 2021-23 mol* contributors, licensed under MIT, See LICENSE file for more info.
*
* @author David Sehnal <david.sehnal@gmail.com>
*/
import { Model } from '../../mol-model/structure';
import { StructureElement } from '../../mol-model/structure/structure';
import { CustomModelProperty } from '../common/custom-model-property';
export { SIFTSMapping as SIFTSMapping };
interface SIFTSMappingMapping {
readonly dbName: string[];
readonly accession: string[];
readonly num: string[];
readonly residue: string[];
}
declare namespace SIFTSMapping {
const Provider: CustomModelProperty.Provider<{}, SIFTSMappingMapping>;
function isAvailable(model: Model): boolean;
function getKey(loc: StructureElement.Location): string;
function getLabel(loc: StructureElement.Location): string | undefined;
}