Go to the source code of this file.
Data Structures | |
class | IMP::atom::AllPDBSelector |
Defines a selector that will pick every ATOM and HETATM record. More... | |
class | IMP::atom::ATOMPDBSelector |
Select all non-alternative ATOM records. More... | |
class | IMP::atom::CAlphaPDBSelector |
Select all CA ATOM records. More... | |
class | IMP::atom::CBetaPDBSelector |
Select all CB ATOM records. More... | |
class | IMP::atom::ChainPDBSelector |
Select all ATOM and HETATMrecords with the given chain ids. More... | |
class | IMP::atom::CPDBSelector |
Select all C (not CA or CB) ATOM records. More... | |
class | IMP::atom::HydrogenPDBSelector |
Select all hydrogen ATOM and HETATM records. More... | |
class | IMP::atom::NonAlternativePDBSelector |
Select all ATOM and HETATM records which are not alternatives. More... | |
class | IMP::atom::NonWaterNonHydrogenPDBSelector |
Select non water and non hydrogen atoms. More... | |
class | IMP::atom::NonWaterPDBSelector |
Select all non-water non-alternative ATOM and HETATM records. More... | |
class | IMP::atom::NPDBSelector |
Select all N ATOM records. More... | |
class | IMP::atom::PDBSelector |
Select which atoms to read from a PDB file. More... | |
class | IMP::atom::PPDBSelector |
Select all P ATOM records. More... | |
class | IMP::atom::WaterPDBSelector |
Select all non-water ATOM and HETATMrecords. More... | |
Namespaces | |
namespace | IMP |
The IMP kernel provides base classes and key shared functionality. | |
namespace | IMP::atom |
This module contains functionality for dealing with atoms and proteins. | |
Functions | |
PDB Reading | |
The read PDB methods produce a hierarchy that looks as follows:
Waters are currently dropped if they are ATOM records. This can be fixed. The read_pdb() functions should successfully parse all valid pdb files. It can produce warnings on files which are not valid. It will attempt to read such files, but all bets are off. When reading PDBs, PDBSelector objects can be used to choose to only process certain record types. See the class documentation for more information. When no PDB selector is supplied for reading, the NonWaterPDBSelector is used.
Set the IMP::LogLevel to IMP::VERBOSE to see details of parse errors. | |
Hierarchies | IMP::atom::read_multimodel_pdb (TextInput in, Model *model, const PDBSelector &selector) |
Hierarchy | IMP::atom::read_pdb (TextInput in, Model *model, const PDBSelector &selector, bool select_first_model=true) |
Hierarchy | IMP::atom::read_pdb (TextInput in, Model *model) |
PDB Writing | |
The methods to write a PDBs expects a Hierarchy that looks as follows:
All Residue particles that have a Chain particle as an ancestor are considered part of a protein, DNA or RNA, ones without are considered heterogens.
The functions produce files that are not valid PDB files, eg only ATOM/HETATM lines are printed for all Atom particles in the hierarchy. Complain if your favorite program can't read them and we might fix it. | |
void | IMP::atom::write_multimodel_pdb (const Hierarchies &mhd, TextOutput out) |
void | IMP::atom::write_pdb (const Hierarchies &mhd, TextOutput out) |
void | IMP::atom::write_pdb (Hierarchy mhd, TextOutput out) |
Copyright 2007-2010 IMP Inventors. All rights reserved.