Rosetta Core  2014.35
Namespaces | Functions
file_data_fixup.hh File Reference

Various utilities to accomodated PDB input issues. More...

#include <core/io/pdb/file_data_fixup.fwd.hh>
#include <core/io/pdb/file_data_options.fwd.hh>
#include <core/io/pdb/file_data.hh>
#include <core/conformation/Residue.fwd.hh>
#include <core/pose/Pose.fwd.hh>
#include <core/chemical/ResidueTypeSet.fwd.hh>
#include <core/chemical/ResidueType.fwd.hh>
#include <utility/vector1.hh>
#include <numeric/xyzVector.hh>
#include <core/types.hh>
#include <boost/bimap.hpp>
#include <iostream>
#include <map>
#include <string>


 A class for reading in the atom type properties.


std::string core::io::pdb::convert_res_name (std::string const &name)
std::string core::io::pdb::convert_atom_name (std::string const &res_name, std::string atom_name)
 for nucleic acids, slightly better mechanism is below (convert_nucleic_acid_residue_info_to_standard) More...
void core::io::pdb::convert_nucleic_acid_residue_info_to_standard (utility::vector1< ResidueInformation > &all_rinfo, bool const force_RNA)
bool core::io::pdb::is_potential_old_DNA (std::string const &res_name)
bool core::io::pdb::is_old_RNA (std::string const &res_name)
bool core::io::pdb::is_NA (std::string const &res_name)
bool core::io::pdb::missing_O2prime (utility::vector1< AtomInformation > const &atoms)
void core::io::pdb::convert_nucleic_acid_atom_names_to_standard (ResidueInformation &rinfo, bool const force_RNA=false)
 This is a pretty good framework and could allow for other crazy nucleic acid atom name schemes. More...
void core::io::pdb::convert_nucleic_acid_atom_name_to_standard (AtomInformation &atom_info)
void core::io::pdb::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::pdb::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::pdb::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::pdb::flip_atom_xyz (core::conformation::ResidueOP &rsd, std::string const &sister1_name, std::string const &sister2_name)
int core::io::pdb::sgn (Real const &x)
int core::io::pdb::get_chirality_sign (Vector const &xyz_sister1, Vector const &xyz_sister2, Vector const &xyz_parent, Vector const &xyz_cousin)
int core::io::pdb::get_closest_sister (Vector const &xyz_sister1, Vector const &xyz_sister2, Vector const &xyz_outgroup)
core::Real core::io::pdb::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::pdb::score_mapping (NameBimap const &mapping, ResidueInformation const &rinfo, chemical::ResidueType const &rsd_type)
 Scoring scheme for the heuristic PDB renaming. More...
void core::io::pdb::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

Various utilities to accomodated PDB input issues.

Sergey Lyskov, Rhiju Das, Rocco Moretti (