UNPKG

drugflow-molstar

Version:
19 lines (18 loc) 806 B
import { Mat4 } from 'Molstar/mol-math/linear-algebra'; import { PluginContext } from 'Molstar/mol-plugin/context'; declare type ClusterRec = { pdb_id: string; auth_asym_id: string; struct_asym_id: string; entity_id: string; is_representative: boolean; }; export declare type SuperpositionData = { data: ClusterRec[]; matrix: Mat4[]; }; export declare function initSuperposition(plugin: PluginContext): Promise<void>; export declare function loadAfStructure(plugin: PluginContext): Promise<string | false>; export declare function superposeAf(plugin: PluginContext, traceOnly: boolean, segmentIndex?: number): Promise<true | undefined>; export declare function renderSuperposition(plugin: PluginContext, segmentIndex: number, entryList: ClusterRec[]): Promise<void>; export {};