#include <monlib.hpp>
|
const ChemLink * | get_link (const std::string &link_id) const |
|
const ChemMod * | get_mod (const std::string &name) const |
|
std::tuple< const ChemLink *, bool, const ChemComp::Aliasing *, const ChemComp::Aliasing * > | match_link (const Residue &res1, const std::string &atom1, char alt1, const Residue &res2, const std::string &atom2, char alt2, double min_bond_sq=0) const |
|
void | add_monomer_if_present (const cif::Block &block) |
|
bool | link_side_matches_residue (const ChemLink::Side &side, const std::string &res_name, ChemComp::Aliasing const **aliasing) const |
|
std::string | path (const std::string &code) const |
| Returns path to the monomer cif file (the file may not exist).
|
|
void | read_monomer_doc (const cif::Document &doc) |
|
void | read_monomer_cif (const std::string &path_, read_cif_func read_cif) |
|
void | set_monomer_dir (const std::string &monomer_dir_) |
|
bool | read_monomer_lib (const std::string &monomer_dir_, const std::vector< std::string > &resnames, read_cif_func read_cif, std::string *error=nullptr) |
| Read mon_lib_list.cif, ener_lib.cif and required monomers.
|
|
double | find_ideal_distance (const const_CRA &cra1, const const_CRA &cra2) const |
|
std::string | update_old_atom_names (Structure &st) const |
|
Definition at line 126 of file monlib.hpp.
◆ get_link()
◆ get_mod()
◆ match_link()
◆ add_monomer_if_present()
◆ link_side_matches_residue()
◆ path()
std::string gemmi::MonLib::path |
( |
const std::string & |
code | ) |
const |
|
inline |
Returns path to the monomer cif file (the file may not exist).
Definition at line 229 of file monlib.hpp.
◆ relative_monomer_path()
static std::string gemmi::MonLib::relative_monomer_path |
( |
const std::string & |
code | ) |
|
|
inlinestatic |
◆ read_monomer_doc()
◆ read_monomer_cif()
◆ set_monomer_dir()
void gemmi::MonLib::set_monomer_dir |
( |
const std::string & |
monomer_dir_ | ) |
|
|
inline |
◆ read_monomer_lib()
bool gemmi::MonLib::read_monomer_lib |
( |
const std::string & |
monomer_dir_, |
|
|
const std::vector< std::string > & |
resnames, |
|
|
read_cif_func |
read_cif, |
|
|
std::string * |
error = nullptr |
|
) |
| |
|
inline |
Read mon_lib_list.cif, ener_lib.cif and required monomers.
Returns true if all requested monomers were added.
Definition at line 271 of file monlib.hpp.
◆ find_ideal_distance()
◆ update_old_atom_names()
std::string gemmi::MonLib::update_old_atom_names |
( |
Structure & |
st | ) |
const |
◆ monomer_dir
std::string gemmi::MonLib::monomer_dir |
◆ ener_lib
◆ monomers
std::map<std::string, ChemComp> gemmi::MonLib::monomers |
◆ links
std::map<std::string, ChemLink> gemmi::MonLib::links |
◆ modifications
std::map<std::string, ChemMod> gemmi::MonLib::modifications |
◆ cc_groups
The documentation for this struct was generated from the following file: