UNPKG

pdbe-molstar-3dbionotes

Version:
71 lines (70 loc) 2.42 kB
import { PluginContext } from 'Molstar/mol-plugin/context'; import Expression from 'Molstar/mol-script/language/expression'; import { BuiltInTrajectoryFormat } from 'Molstar/mol-plugin-state/formats/trajectory'; import { Model } from 'Molstar/mol-model/structure'; export declare type SupportedFormats = 'mmcif' | 'bcif' | 'cif' | 'pdb' | 'sdf'; export declare type LoadParams = { url: string; format?: BuiltInTrajectoryFormat; assemblyId?: string; isHetView?: boolean; isBinary?: boolean; }; export declare namespace PDBeVolumes { function mapParams(defaultParams: any, mapParams: any, ref?: string | number): any; function displayUsibilityMessage(plugin: PluginContext): void; function toggle(plugin: PluginContext): void; } export declare type LigandQueryParam = { label_comp_id_list?: any; auth_asym_id?: string; struct_asym_id?: string; label_comp_id?: string; auth_seq_id?: number; }; export declare namespace LigandView { function query(ligandViewParams: LigandQueryParam): { core: Expression; surroundings: Expression; }; function branchedQuery(params: any): { core: Expression; surroundings: Expression; }; } export declare type QueryParam = { auth_seq_id?: number; entity_id?: string; auth_asym_id?: string; struct_asym_id?: string; residue_number?: number; start_residue_number?: number; end_residue_number?: number; auth_residue_number?: number; auth_ins_code_id?: string; start_auth_residue_number?: number; start_auth_ins_code_id?: string; end_auth_residue_number?: number; end_auth_ins_code_id?: string; atoms?: string[]; label_comp_id?: string; color?: any; sideChain?: boolean; representation?: string; representationColor?: any; focus?: boolean; tooltip?: string; start?: any; end?: any; }; export declare namespace QueryHelper { function getQueryObject(params: QueryParam[]): Expression; function getInteractivityLoci(params: any, contextData: any): import("molstar/lib/mol-model/structure/structure/element/loci").Loci; function getHetLoci(queryExp: Expression, contextData: any): import("molstar/lib/mol-model/structure/structure/element/loci").Loci; } export interface ModelInfo { hetNames: string[]; } export declare namespace ModelInfo { function get(model: Model): Promise<ModelInfo>; }