UNPKG

molstar

Version:

A comprehensive macromolecular library.

18 lines (17 loc) 697 B
/** * Copyright (c) 2019-2020 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author David Sehnal <david.sehnal@gmail.com> * @author Alexander Rose <alexander.rose@weirdbyte.de> */ import { PdbFile } from '../../mol-io/reader/pdb/schema'; import { Task } from '../../mol-task'; import { Trajectory } from '../../mol-model/structure'; import { ModelFormat } from '../format'; export { PdbFormat }; declare type PdbFormat = ModelFormat<PdbFile>; declare namespace PdbFormat { function is(x?: ModelFormat): x is PdbFormat; function create(pdb: PdbFile): PdbFormat; } export declare function trajectoryFromPDB(pdb: PdbFile): Task<Trajectory>;