Raw PDB data¶
-
class mdk::pdb::Data
PDB file in the “raw format”, i.e. as a list of PDB records. Certain utility functions, like parsing from/to
pdb::Model
and retrieving only atom positions, are provided.Public Functions
-
Data() = default
Public Static Functions
-
static Data onlyAtoms(pdb::Model const &model)
Extract only ATOM records from a PDB model. Useful for outputting a single file with lots of conformations of the same amino acid chain, for example when we output PDB model with consecutive positions in the simulation.
- Parameters
model – PDB model to convert.
- Returns
PDB data object containing only ATOM records.
-
Data() = default
-
class mdk::pdb::Parser
A parser of PDB files.
Public Functions
-
Parser()
Private Members
-
std::unordered_map<int, std::shared_ptr<RecordParser>> parsers
(Internal) set of record parsers.
-
Parser()