IMP logo
IMP Reference Guide  2.12.0
The Integrative Modeling Platform
atom/mmcif.h
Go to the documentation of this file.
1 /**
2  * \file IMP/atom/mmcif.h
3  * \brief Functions to read PDBs in mmCIF format
4  *
5  * Copyright 2007-2019 IMP Inventors. All rights reserved.
6  *
7  */
8 
9 #ifndef IMPATOM_MMCIF_H
10 #define IMPATOM_MMCIF_H
11 
12 #include <IMP/atom/atom_config.h>
13 #include <IMP/atom/Hierarchy.h>
14 #include <IMP/atom/pdb.h>
15 
16 IMPATOM_BEGIN_NAMESPACE
17 
18 //! Read all models from the mmCIF file.
19 IMPATOMEXPORT Hierarchies read_multimodel_mmcif(TextInput input, Model *model,
20  PDBSelector *selector = get_default_pdb_selector()
21 #ifndef IMP_DOXYGEN
22  , bool noradii = false
23 #endif
24  );
25 
26 //! Read all the molecules in the first model of the mmCIF file.
27 IMPATOMEXPORT Hierarchy read_mmcif(TextInput input, Model *model,
28  PDBSelector *selector = get_default_pdb_selector()
29 #ifndef IMP_DOXYGEN
30  , bool noradii = false
31 #endif
32  );
33 
34 IMPATOM_END_NAMESPACE
35 
36 #endif /* IMPATOM_MMCIF_H */
Functions to read PDBs.
Hierarchies read_multimodel_mmcif(TextInput input, Model *model, PDBSelector *selector=get_default_pdb_selector())
Read all models from the mmCIF file.
Decorator for helping deal with a hierarchy of molecules.
Hierarchy read_mmcif(TextInput input, Model *model, PDBSelector *selector=get_default_pdb_selector())
Read all the molecules in the first model of the mmCIF file.