|
bool | read (const std::string &file, bool naturalUnits, double scale) |
| Read the pdb from a file, scaling positions by a factor scale. More...
|
|
bool | readFromFilepointer (FILE *fp, bool naturalUnits, double scale) |
| Read from a file pointer. More...
|
|
const std::vector< Vector > & | getPositions () const |
| Access to the position array. More...
|
|
const std::vector< double > & | getOccupancy () const |
| Access to the occupancy array. More...
|
|
const std::vector< double > & | getBeta () const |
| Access to the beta array. More...
|
|
void | setArgKeyword (const std::string &new_args) |
| This is used to set the keyword ARG - this is so we we can use a1. More...
|
|
const std::vector< std::string > & | getRemark () const |
| Access to the lines of REMARK. More...
|
|
const std::vector< AtomNumber > & | getAtomNumbers () const |
| Access to the indexes. More...
|
|
unsigned | size () const |
| Returns the number of atoms. More...
|
|
void | getChainNames (std::vector< std::string > &chains) const |
| Get the names of all the chains in the pdb file. More...
|
|
void | getResidueRange (const std::string &chainname, unsigned &res_start, unsigned &res_end, std::string &errmsg) const |
| Get the residues in each of the chains. More...
|
|
void | getAtomRange (const std::string &chainname, AtomNumber &a_start, AtomNumber &a_end, std::string &errmsg) const |
| Get the atoms in each of the chains. More...
|
|
bool | getBackbone (const unsigned &resnumber, const std::vector< std::string > &backnames, std::vector< AtomNumber > &backnumbers) const |
| Get the atoms in the backbone of a particular residue. More...
|
|
std::string | getChainID (const unsigned &resnumber) const |
| Get the chain ID that a particular residue is a part of. More...
|
|
void | renameAtoms (const std::string &old_name, const std::string &new_name) |
| This allows you to give atoms a new name - this is used to rename the HB1 atoms in GLY residues CB so that alpharmsd works. More...
|
|
std::string | getAtomName (AtomNumber a) const |
| return the name of a specific atom More...
|
|
unsigned | getResidueNumber (AtomNumber a) const |
| return the residue number for a specific atom More...
|
|
std::string | getResidueName (AtomNumber a) const |
| return the residue name for a specific atom More...
|
|
Minimalistic pdb parser.
Contain positions, atomic indexes, occupancy and beta. We should also add other info (e.g. residue name etc).
Definition at line 38 of file PDB.h.