molstar
Version:
A comprehensive macromolecular library.
30 lines (29 loc) • 1.45 kB
TypeScript
/**
* Copyright (c) 2020 mol* contributors, licensed under MIT, See LICENSE file for more info.
*
* @author David Sehnal <david.sehnal@gmail.com>
*/
import { Trajectory } from '../../mol-model/structure';
import { LociLabelProvider } from '../../mol-plugin-state/manager/loci-label';
import { QuerySymbolRuntime } from '../../mol-script/runtime/query/base';
import { Task } from '../../mol-task';
import { G3dDataBlock } from './data';
import { FormatPropertyProvider } from '../../mol-model-formats/structure/common/property';
export declare function trajectoryFromG3D(data: G3dDataBlock): Task<Trajectory>;
export declare const G3dSymbols: {
haplotype: QuerySymbolRuntime;
chromosome: QuerySymbolRuntime;
region: QuerySymbolRuntime;
};
export declare const G3dInfoDataProperty: FormatPropertyProvider<G3dInfoData>;
export declare function g3dHaplotypeQuery(haplotype: string): import("../../mol-script/language/expression").Expression;
export declare function g3dChromosomeQuery(chr: string): import("../../mol-script/language/expression").Expression;
export declare function g3dRegionQuery(chr: string, start: number, end: number): import("../../mol-script/language/expression").Expression;
export interface G3dInfoData {
haplotypes: string[];
haplotype: string[];
start: Int32Array;
resolution: number;
chroms: string[];
}
export declare const G3dLabelProvider: LociLabelProvider;