Rosetta
Namespaces | Functions
extra_pose_info_util.cc File Reference
#include <core/pose/extra_pose_info_util.hh>
#include <core/pose/PDBInfo.hh>
#include <core/pose/Pose.hh>
#include <core/pose/datacache/CacheableDataType.hh>
#include <core/chemical/ResidueType.hh>
#include <core/conformation/Residue.hh>
#include <basic/Tracer.hh>
#include <basic/datacache/DataCache.fwd.hh>
#include <basic/datacache/BasicDataCache.hh>
#include <basic/datacache/CacheableString.hh>
#include <basic/datacache/CacheableStringFloatMap.hh>
#include <basic/datacache/CacheableStringMap.hh>
#include <basic/options/option.hh>
#include <basic/options/keys/in.OptionKeys.gen.hh>
#include <utility/io/izstream.hh>
#include <utility/exit.hh>
#include <utility/string_util.hh>
#include <utility/vector1.hh>
#include <algorithm>

Namespaces

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

Functions

static basic::Tracer core::pose::TR ("core.pose.extra_pose_info_util")
 
void core::pose::set_ss_from_phipsi (pose::Pose &pose)
 Analyzes <pose> residue phi/psi sets and guesses the secondary structure, ideally dssp should be used for that. More...
 
void core::pose::read_comment_pdb (std::string const &file_name, core::pose::Pose &pose)
 Reads the comments from the pdb file and adds it into comments. More...
 
void core::pose::dump_comment_pdb (std::string const &file_name, core::pose::Pose const &pose)
 dumps pose+ comments to pdb file More...
 
bool core::pose::hasPoseExtraScore (core::pose::Pose const &pose, std::string const &name)
 does this ExtraScore exist? More...
 
bool core::pose::hasPoseExtraScore_str (core::pose::Pose const &pose, std::string const &name)
 does this (string) ExtraScore exist? More...
 
bool core::pose::getPoseExtraScore (core::pose::Pose const &pose, std::string const &name, core::Real &value)
 return bool is T/F for whether the requested datum exists. "value" is the data, pass-by-ref. More...
 
Real core::pose::getPoseExtraScore (core::pose::Pose const &pose, std::string const &name)
 return value is ExtraScore if exist, runtime_assert if it doesn't exist More...
 
bool core::pose::getPoseExtraScore (core::pose::Pose const &pose, std::string const &name, std::string &value)
 return bool is T/F for whether the requested datum exists. "value" is the data, pass-by-ref. More...
 
std::map< std::string, float > core::pose::getPoseExtraFloatScores (core::pose::Pose const &pose)
 
std::map< std::string, std::string > core::pose::getPoseExtraStringScores (core::pose::Pose const &pose)
 
void core::pose::setPoseExtraScore (core::pose::Pose &pose, std::string const &name, core::Real value)
 Set a core::Real in the pose datacache, that will be output as a score in the scorefile. More...
 
void core::pose::setPoseExtraScore (core::pose::Pose &pose, std::string const &name, std::string const &value)
 Set a string in the pose datacache, that will be output as a score in the scorefile. More...
 
void core::pose::add_comment (core::pose::Pose &pose, std::string const &key, std::string const &val)
 Adds a key-value pair to the STRING_MAP in the Pose DataCache. If there is no STRING_MAP in the DataCache, one is created. More...
 
void core::pose::add_score_line_string (core::pose::Pose &pose, std::string const &key, std::string const &val)
 Sets a PDB-style REMARK entry in the Pose. More...
 
void core::pose::clearPoseExtraScores (core::pose::Pose &pose)
 Clear ALL PoseExtraScores. More...
 
void core::pose::clearPoseExtraScore (core::pose::Pose &pose, std::string const &name)
 Clear a specific data type from the arbitrary data cache in the pose. More...
 
bool core::pose::get_comment (core::pose::Pose const &pose, std::string const &key, std::string &val)
 Attempts to access the entry in the STRING_MAP associated with the given key. If an entry for the key exists, the value associated with the key is put into val, and this function returns true. Otherwise, this function returns false and val left unmodified. More...
 
bool core::pose::get_score_line_string (core::pose::Pose const &pose, std::string const &key, std::string &val)
 
void core::pose::delete_comment (core::pose::Pose &pose, std::string const &key)
 Deletes the entry in the STRING_MAP associated with the given key. More...
 
std::map< std::string, std::string > core::pose::get_all_score_line_strings (core::pose::Pose const &pose)
 Gets a map< string, string > representing score_line_strings about the Pose in the form of key-value pairs. More...
 
std::map< std::string, std::string > core::pose::get_all_comments (core::pose::Pose const &pose)
 Gets a map< string, string > representing comments about the Pose in the form of key-value pairs. More...
 
utility::vector1< char > core::pose::read_psipred_ss2_file (pose::Pose const &pose)
 
utility::vector1< char > core::pose::read_psipred_ss2_file (pose::Pose const &pose, std::string const &filename)
 
std::string core::pose::tag_from_pose (core::pose::Pose const &pose)
 
std::string core::pose::extract_tag_from_pose (core::pose::Pose &pose)
 Returns a string giving the pose's tag if there is such a thing or "UnknownTag" otherwise. More...
 
void core::pose::tag_into_pose (core::pose::Pose &pose, std::string const &tag)
 
void core::pose::set_output_res_and_chain (pose::Pose &extended_pose, std::tuple< utility::vector1< int >, utility::vector1< char >, utility::vector1< std::string > > const &output_resnum_and_chain)