Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Typedefs | Functions
chirality_resolution.cc File Reference
#include <core/io/pose_from_sfr/chirality_resolution.hh>
#include <core/io/ResidueInformation.hh>
#include <core/io/AtomInformation.hh>
#include <core/types.hh>
#include <core/chemical/ResidueType.hh>
#include <core/chemical/ResidueGraphTypes.hh>
#include <core/chemical/Patch.hh>
#include <core/chemical/ChemicalManager.hh>
#include <core/chemical/ElementSet.hh>
#include <core/chemical/AtomTypeSet.hh>
#include <core/chemical/ResidueTypeSet.hh>
#include <core/chemical/VariantType.hh>
#include <core/chemical/Element.hh>
#include <core/chemical/AtomType.hh>
#include <core/conformation/Residue.hh>
#include <core/conformation/ResidueFactory.hh>
#include <core/pose/PDBInfo.hh>
#include <core/pose/util.hh>
#include <basic/options/option.hh>
#include <basic/options/keys/OptionKeys.hh>
#include <basic/options/keys/in.OptionKeys.gen.hh>
#include <basic/Tracer.hh>
#include <utility/vector1.hh>
#include <utility/string_util.hh>
#include <utility/io/ozstream.hh>
#include <utility/io/izstream.hh>
#include <utility/exit.hh>
#include <numeric/xyz.functions.hh>
#include <numeric/numeric.functions.hh>
#include <ObjexxFCL/format.hh>
#include <boost/graph/vf2_sub_graph_iso.hpp>
#include <boost/graph/mcgregor_common_subgraphs.hpp>
#include <boost/graph/graphviz.hpp>
#include <fstream>
#include <sstream>
#include <cstdlib>
#include <cstdio>
#include <cctype>
#include <utility>

Classes

class  core::io::pose_from_sfr::GeometricRenameIsomorphismCallback
 
class  core::io::pose_from_sfr::GeometricRenameVerticiesEquivalent
 Will consider two verticies equivalent if they have the same element. More...
 
class  core::io::pose_from_sfr::GraphvizPropertyWriter
 Callback class for writing graphviz info. More...
 

Namespaces

 core
 A class for reading in the atom type properties.
 
 core::io
 
 core::io::pose_from_sfr
 

Typedefs

using core::io::pose_from_sfr::AtomInfoGraph = boost::undirected_graph< AtomInformation >
 
using core::io::pose_from_sfr::AIVD = AtomInfoGraph::vertex_descriptor
 
using core::io::pose_from_sfr::RestypeInfoGraph = boost::undirected_graph< std::pair< std::string, std::string > >
 
using core::io::pose_from_sfr::RIGVD = RestypeInfoGraph::vertex_descriptor
 

Functions

static basic::Tracer TR ("core.io.pose_from_sfr.chirality_resolution")
 
void core::io::pose_from_sfr::check_and_correct_sister_atoms (core::conformation::ResidueOP &rsd)
 due to differences in different crystallography/NMR/modeling packages, labeling of sister atoms (like OP1 <–> OP2, or H41 <–> H42) in PDBs is totally wacky. This is an attempt to regularize... and it can actually make a difference since sometimes partial charges on sister hydrogens can be different. Right now only set up for nucleic acids, but could probably generalize. More...
 
void core::io::pose_from_sfr::check_and_correct_sister_atom_based_on_chirality (core::conformation::ResidueOP &rsd, std::string const &sister1_name, std::string const &sister2_name, std::string const &parent_name, std::string const &cousin_name)
 
void core::io::pose_from_sfr::check_and_correct_sister_atom_based_on_outgroup (core::conformation::ResidueOP &rsd, std::string const &sister1_name, std::string const &sister2_name, std::string const &outgroup_name)
 
void core::io::pose_from_sfr::flip_atom_xyz (core::conformation::ResidueOP &rsd, std::string const &sister1_name, std::string const &sister2_name)
 
int core::io::pose_from_sfr::sgn (Real const &x)
 
int core::io::pose_from_sfr::get_chirality_sign (Vector const &xyz_sister1, Vector const &xyz_sister2, Vector const &xyz_parent, Vector const &xyz_cousin)
 
int core::io::pose_from_sfr::get_closest_sister (Vector const &xyz_sister1, Vector const &xyz_sister2, Vector const &xyz_outgroup)
 
core::Real core::io::pose_from_sfr::bonding_distance_threshold (std::string element1, std::string element2)
 Get theshold distance below which two atoms are considered bonded. (1.2*covalent) More...
 
core::Real core::io::pose_from_sfr::score_mapping (NameBimap const &mapping, ResidueInformation const &rinfo, chemical::ResidueType const &rsd_type)
 Scoring scheme for the heuristic PDB renaming. More...
 
void core::io::pose_from_sfr::remap_names_on_geometry (NameBimap &mapping, ResidueInformation const &rinfo, chemical::ResidueType const &rsd_type)
 Attempt to use element identity and connectivity to map atom names from the rinfo object onto the rsd_type object names. More...
 

Detailed Description

Author
Rhiju Das
Rocco Moretti (rmore.nosp@m.ttia.nosp@m.se@gm.nosp@m.ail..nosp@m.com)

Function Documentation

static basic::Tracer TR ( "core.io.pose_from_sfr.chirality_resolution"  )
static