Rosetta
|
Namespaces | |
carbohydrates | |
copydofs | |
datacache | |
full_model_info | |
metrics | |
motif | |
ncbb | |
reference_pose | |
rna | |
signals | |
symmetry | |
toolbox | |
Classes | |
class | MiniPose |
lightweight version of the pose with stuff I need. More... | |
class | UnrecognizedAtomRecord |
info about an atom in a unrecognized res (not in pose, but we want to remember it) More... | |
class | PDBInfo |
maintains pdb residue & atom information inside a Pose More... | |
class | PDBPoseMap |
PDBPoseMap can be queried with PDB information (chain, sequence position) and returns a pose's resid position. Useful for handing input/output in terms of PDB positions. Can be tucked into the pose for repeated access, or generated just-in-time for a single use. Basically a wrapper class for std::map. More... | |
class | Pose |
A molecular system including residues, kinematics, and energies. More... | |
class | RID_Source |
A class to hold information about where a ResidueIndexDescriptor comes from, to allow for better error messages. More... | |
class | RID_FileSource |
Representation of a file input support A class to hold information about where a ResidueIndexDescriptor comes from, to allow for better error messages. More... | |
class | ResidueIndexDescription |
a class which can represent one of many ways in which to describe a particular residue in a pose, and can, when given a pose, find its index. The object should be constructed with all its needed parameters, but, one instance may be copied from another. More... | |
class | ResidueIndexDescriptionPoseNum |
a class which represents a residue index as a literal, Rosetta/Pose numbered integer More... | |
class | ResidueIndexDescriptionPDB |
a class which represents a residue index as a PDB information (chain, resindex, insertion code) More... | |
class | ResidueIndexDescriptionRefPose |
a class which represents a residue index as a reference-pose enabled information. More... | |
class | ResidueIndexDescriptionLastResidue |
a class which represents the last residue in the Pose More... | |
class | ResidueIndexDescriptionChainEnd |
a class which represents the last residue in the Pose More... | |
class | xyzStripeHashPose |
Typedefs | |
typedef std::set< int > | Jumps |
typedef std::map< core::Size, core::Size > | ResMap |
typedef utility::pointer::shared_ptr< MiniPose > | MiniPoseOP |
typedef utility::pointer::shared_ptr< MiniPose const > | MiniPoseCOP |
typedef utility::pointer::weak_ptr< MiniPose > | MiniPoseAP |
typedef utility::pointer::weak_ptr< MiniPose const > | MiniPoseCAP |
typedef utility::pointer::shared_ptr< PDBInfo > | PDBInfoOP |
typedef utility::pointer::shared_ptr< PDBInfo const > | PDBInfoCOP |
typedef std::pair< char, std::string > | ChainSegID |
typedef utility::pointer::shared_ptr< PDBPoseMap > | PDBPoseMapOP |
typedef utility::pointer::shared_ptr< PDBPoseMap const > | PDBPoseMapCOP |
typedef boost::indirect_iterator< conformation::ResidueOPs::const_iterator, Residue const > | const_iterator |
typedef boost::indirect_iterator< conformation::ResidueOPs::iterator, Residue const > | iterator |
using | PoseOP = utility::pointer::shared_ptr< Pose > |
using | PoseCOP = utility::pointer::shared_ptr< Pose const > |
using | PoseAP = utility::pointer::weak_ptr< Pose > |
using | PoseCAP = utility::pointer::weak_ptr< Pose const > |
using | PoseUP = std::unique_ptr< Pose > |
using | PoseCUP = std::unique_ptr< Pose const > |
using | PoseOPs = utility::vector1< PoseOP > |
using | PoseCOPs = utility::vector1< PoseCOP > |
typedef utility::pointer::shared_ptr< RID_Source > | RID_SourceOP |
typedef utility::pointer::shared_ptr< RID_Source const > | RID_SourceCOP |
typedef utility::pointer::shared_ptr< ResidueIndexDescription > | ResidueIndexDescriptionOP |
typedef utility::pointer::shared_ptr< ResidueIndexDescription const > | ResidueIndexDescriptionCOP |
typedef utility::pointer::shared_ptr< xyzStripeHashPose > | xyzStripeHashPoseOP |
typedef utility::pointer::shared_ptr< xyzStripeHashPose const > | xyzStripeHashPoseCOP |
typedef utility::pointer::weak_ptr< xyzStripeHashPose const > | xyzStripeHashPoseCAP |
Functions | |
static basic::Tracer | TR ("core.pose") |
void | parse_sequence (std::string const &sequence_in, utility::vector1< std::string > &fullname_list, std::vector< Size > &oneletter_to_fullname_index, std::string &one_letter_sequence) |
parse the annotated sequence. More... | |
Size | get_sequence_len (std::string const &sequence_in) |
Get the length of the annotated sequence. More... | |
chemical::ResidueTypeCOPs | residue_types_from_sequence (std::string const &sequence_in, chemical::ResidueTypeSet const &residue_set, bool const auto_termini=true, bool const metapatches=true) |
return a list of ResidueTypes corresponding to an annotated protein sequence More... | |
chemical::ResidueTypeCOPs | residue_types_from_saccharide_sequence_recursive (std::string const &sequence, chemical::ResidueTypeSet const &residue_set) |
Internal implementation detail of residue_types_from_saccharide_sequence() Returns the reorganized (but not reversed) set of residuetypes. More... | |
chemical::ResidueTypeCOPs | residue_types_from_saccharide_sequence (std::string const &sequence, chemical::ResidueTypeSet const &residue_set) |
Return a list of carbohydrate ResidueTypes corresponding to an annotated, linear, IUPAC polysaccharide sequence. More... | |
void | append_pose_with_glycan_residues (pose::Pose &pose, chemical::ResidueTypeCOPs residue_types, core::uint resnum_to_be_appended=0) |
Append an empty or current Pose with saccharide residues, building branches as necessary. More... | |
void | make_pose_from_sequence (pose::Pose &pose, chemical::ResidueTypeCOPs requested_types, bool const auto_termini=true) |
Creates a Pose from the annotated protein sequence <sequence> with ResidueTypeSet <residue_set> and stores it in <pose> More... | |
void | make_pose_from_sequence (pose::Pose &pose, std::string const &sequence_in, chemical::ResidueTypeSet const &residue_set, bool const auto_termini, bool const metapatches) |
void | make_pose_from_sequence (pose::Pose &pose, std::string const &sequence_in, chemical::ResidueTypeSetCOP residue_set, bool const auto_termini, bool const metapatches) |
void | make_pose_from_sequence (pose::Pose &pose, std::string const &sequence, std::string const &type_set_name, bool const auto_termini=true, bool const metapatches=true) |
Creates a Pose from the annotated protein sequence <sequence> with the desired <type_set_name> and stores it in <pose> More... | |
void | make_pose_from_saccharide_sequence (pose::Pose &pose, std::string const &sequence, chemical::ResidueTypeSet const &residue_set, bool const auto_termini=true, bool const idealize_linkages=true) |
Create a Pose from an annotated, linear, IUPAC polysaccharide sequence <sequence> with ResidueTypeSet <residue_set> and store it in <pose>. More... | |
void | make_pose_from_saccharide_sequence (pose::Pose &pose, std::string const &sequence, std::string const &type_set_name="fa_standard", bool const auto_termini=true, bool const idealize_linkages=true) |
Create a Pose from an annotated, linear, IUPAC polysaccharide sequence <sequence> with residue type set name <type_set_name> and store it in <pose>. More... | |
pose::PoseOP | pose_from_saccharide_sequence (std::string const &sequence, std::string const &type_set_name="fa_standard", bool const auto_termini=true, bool const idealize_linkages=true) |
Return a Pose from an annotated, linear, IUPAC polysaccharide sequence <sequence> with residue type set name <type_set_name>. More... | |
std::string | annotated_to_oneletter_sequence (std::string const &annotated_seq) |
Returns the oneletter_sequence that corresponds to the given annotated sequence. More... | |
chemical::ResidueTypeCOP | get_rsd_type_from_aa (chemical::ResidueTypeSet const &residue_set, core::chemical::AA const &my_aa, bool const &is_lower_terminus, bool const &is_upper_terminus, bool const metapatches=true) |
use efficient residue type finder to find simplest residue type with this AA & requested termini. More... | |
static basic::Tracer | TR ("core.pose.util") |
void | jumps_from_pose (core::pose::Pose const &pose, Jumps &jumps) |
Retrieves jump information from <pose>, storing the result in <jumps>. Jumps are keyed by their jump id. More... | |
void | conf2pdb_chain_default_map (core::pose::Pose const &pose, std::map< core::Size, char > &chainmap) |
std::map< core::Size, char > | conf2pdb_chain (core::pose::Pose const &pose) |
get Conformation chain number -> PDBInfo chain mapping More... | |
utility::vector1< core::Size > | get_chains (core::pose::Pose const &pose) |
Get all the chain numbers from conformation. More... | |
core::Size | chain_end_res (Pose const &pose, core::Size const chain) |
compute last residue number of a chain More... | |
utility::vector1< core::Size > | chain_end_res (Pose const &pose) |
compute last residue numbers of all chains More... | |
utility::vector1< bool > | compute_unique_chains (Pose &pose) |
Compute uniq chains in a complex @detail Returns a vector of pose length with true/false of uniq chain. More... | |
bool | renumber_pdbinfo_based_on_conf_chains (core::pose::Pose &pose, bool fix_chains, bool const start_from_existing_numbering, bool const keep_insertion_codes, bool const rotate_chain_ids) |
renumber PDBInfo based on Conformation chains; each chain starts from 1 More... | |
bool | has_chain (std::string const &chain, core::pose::Pose const &pose) |
Does the pose have a residue with the given chain letter. More... | |
bool | has_chain (char const &chain, core::pose::Pose const &pose) |
Does the pose have a residue with the given chain letter. More... | |
bool | has_chain (core::Size chain_id, core::pose::Pose const &pose) |
Does the pose have a residue with the given chain number. More... | |
utility::vector1< core::Size > | get_chain_ids_from_chains (utility::vector1< std::string > const &chains, core::pose::Pose const &pose) |
Get all chain numbers for the residues with the given chain letters. More... | |
utility::vector1< core::Size > | get_chain_ids_from_chains (utility::vector1< char > const &chains, core::pose::Pose const &pose) |
Get all chain numbers for the residues with the given chain letters. More... | |
utility::vector1< core::Size > | get_chain_ids_from_chain (std::string const &chain, core::pose::Pose const &pose) |
Get all chain numbers for the residues with the given chain letter. More... | |
utility::vector1< core::Size > | get_chain_ids_from_chain (char const &chain, core::pose::Pose const &pose) |
Get all chain numbers for the residues with the given chain letter. More... | |
core::Size | get_chain_id_from_chain (std::string const &chain, core::pose::Pose const &pose) |
Attempt to get the chain number which correspond to the given chain letter. More... | |
core::Size | get_chain_id_from_chain (char const &chain, core::pose::Pose const &pose) |
Attempt to get the chain number which correspond to the given chain letter. More... | |
char | get_chain_from_chain_id (core::Size const &chain_id, core::pose::Pose const &pose) |
Get the chain letter for the first residue in a given chain number. More... | |
std::set< core::Size > | get_jump_ids_from_chain_ids (std::set< core::Size > const &chain_ids, core::pose::Pose const &pose) |
Attempt to get jump IDs which correspond to the given chain number. More... | |
core::Size | get_jump_id_from_chain_id (core::Size const &chain_id, core::pose::Pose const &pose) |
Attempt to get the jump number which correspond to the given chain number. More... | |
utility::vector1< core::Size > | get_jump_ids_from_chain (char const &chain, core::pose::Pose const &pose) |
Get all the jump numbers for the given chain letter. More... | |
utility::vector1< core::Size > | get_jump_ids_from_chain (std::string const &chain, core::pose::Pose const &pose) |
Get all the jump numbers for the given chain letter. More... | |
core::Size | get_jump_id_from_chain (std::string const &chain, core::pose::Pose const &pose) |
Get the jump number for the given chain letter. More... | |
core::Size | get_jump_id_from_chain (char const &chain, core::pose::Pose const &pose) |
Get the jump number for the given chain letter. More... | |
core::Size | get_chain_id_from_jump_id (core::Size const &jump_id, core::pose::Pose const &pose) |
Get the chain ID of the residue directly built by the given jump. More... | |
char | get_chain_from_jump_id (core::Size const &jump_id, core::pose::Pose const &pose) |
Get the chain letter of the chain built by the given jump. More... | |
utility::vector1< core::Size > | get_resnums_for_chain (core::pose::Pose const &pose, char chain) |
Get a vector of all residues numbers which are represented by this chain letter. More... | |
utility::vector1< core::Size > | get_resnums_for_chain_id (core::pose::Pose const &pose, core::Size chain_id) |
Get a vector of all residues numbers which are represented by this chain number. More... | |
core::conformation::ResidueCOPs | get_chain_residues (core::pose::Pose const &pose, core::Size chain_id) |
Get all residues which correspond to the given chain number. More... | |
core::conformation::ResidueCOPs | get_residues_from_chains (core::pose::Pose const &pose, utility::vector1< core::Size > const &chain_ids) |
Get all residues which correspond to the given chain numbers. More... | |
bool | res_in_chain (core::pose::Pose const &pose, core::Size resnum, std::string const &chain) |
Does this residue number have this chain letter? More... | |
core::Size | get_hash_from_pos (PointPosition const &pos) |
Utility function for get_hash_from_chain() - get hash for an isolated position. More... | |
core::Size | get_hash_from_chain (char const &chain, core::pose::Pose const &pose, std::string const &extra_label="") |
Get a value representing the position of all the atoms for residues with the given chain letter. More... | |
core::Size | get_hash_excluding_chain (char const &chain, core::pose::Pose const &pose, std::string const &extra_label="") |
Get a value representing the position of all the atoms for residues which don't have the given chain letter. More... | |
std::string | get_sha1_hash_from_chain (char const &chain, core::pose::Pose const &pose, std::string const &extra_label="") |
Get a value representing the position of all the atoms for residues with the given chain letter. More... | |
std::string | get_sha1_hash_from_chains (utility::vector1< std::string > const &chains, core::pose::Pose const &pose, std::string const &extra_label="") |
Get a value representing the position of all the atoms for residues with the given chain letters. More... | |
std::string | get_sha1_hash_excluding_chain (char const &chain, core::pose::Pose const &pose, std::string const &extra_label="") |
Get a value representing the position of all the atoms for residues which don't have the given chain letter. More... | |
std::string | get_sha1_hash_excluding_chain (std::string const &chain, core::pose::Pose const &pose, std::string const &extra_label="") |
Get a value representing the position of all the atoms for residues which don't have the given chain letter. More... | |
std::string | get_sha1_hash_excluding_chains (utility::vector1< std::string > const &chains, core::pose::Pose const &pose, std::string const &extra_label="") |
Get a value representing the position of all the atoms for residues which don't have the given chain letter. More... | |
static basic::Tracer | TR ("core.pose.extra_pose_info_util") |
void | 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 | 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 | dump_comment_pdb (std::string const &file_name, core::pose::Pose const &pose) |
dumps pose+ comments to pdb file More... | |
bool | hasPoseExtraScore (core::pose::Pose const &pose, std::string const &name) |
does this ExtraScore exist? More... | |
bool | hasPoseExtraScore_str (core::pose::Pose const &pose, std::string const &name) |
does this (string) ExtraScore exist? More... | |
bool | 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 | 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 | 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 > | getPoseExtraFloatScores (core::pose::Pose const &pose) |
std::map< std::string, std::string > | getPoseExtraStringScores (core::pose::Pose const &pose) |
void | 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 | 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 | 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 | 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 | clearPoseExtraScores (core::pose::Pose &pose) |
Clear ALL PoseExtraScores. More... | |
void | clearPoseExtraScore (core::pose::Pose &pose, std::string const &name) |
Clear a specific data type from the arbitrary data cache in the pose. More... | |
bool | 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 | get_score_line_string (core::pose::Pose const &pose, std::string const &key, std::string &val) |
void | 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 > | 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 > | 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 > | read_psipred_ss2_file (pose::Pose const &pose) |
utility::vector1< char > | read_psipred_ss2_file (pose::Pose const &pose, std::string const &filename) |
std::string | tag_from_pose (core::pose::Pose const &pose) |
std::string | 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 | tag_into_pose (core::pose::Pose &pose, std::string const &tag) |
void | 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) |
template<typename T > | |
void | initialize_dof_id_map (id::DOF_ID_Map< T > &dof_map, Pose const &pose) |
Initialize a DOF_ID_Map for a given Pose using the DOF_ID_Map's current default fill values. More... | |
template<typename T > | |
void | initialize_dof_id_map (id::DOF_ID_Map< T > &dof_map, Pose const &pose, T const &value) |
Initialize a DOF_ID_Map for a given Pose using a specified fill value. More... | |
core::Real | pose_max_nbr_radius (pose::Pose const &pose) |
returns a Distance More... | |
template<typename T > | |
void | initialize_atomid_map (id::AtomID_Map< T > &atom_map, pose::Pose const &pose) |
Initialize an AtomID_Map for a given Pose using the AtomID_Map's current default fill values. More... | |
template<typename T > | |
void | initialize_atomid_map (id::AtomID_Map< T > &atom_map, pose::Pose const &pose, T const &value) |
Initialize an AtomID_Map for a given Pose using a specified fill value. More... | |
template<typename T > | |
void | initialize_atomid_map (id::AtomID_Map< T > &atom_map, conformation::Conformation const &conformation) |
Initialize an AtomID_Map for a given Conformation using the AtomID_Map's current default fill values. More... | |
template<typename T > | |
void | initialize_atomid_map (id::AtomID_Map< T > &atom_map, conformation::Conformation const &conformation, T const &value) |
Initialize an AtomID_Map for a given Conformation using a specified fill value. More... | |
template<typename T > | |
void | initialize_atomid_map_heavy_only (id::AtomID_Map< T > &atom_map, pose::Pose const &pose) |
Initialize an AtomID_Map for a given Pose using the AtomID_Map's current default fill values. More... | |
template<typename T > | |
void | initialize_atomid_map_heavy_only (id::AtomID_Map< T > &atom_map, pose::Pose const &pose, T const &value) |
Initialize an AtomID_Map for a given Pose using a specified fill value. More... | |
template<typename T > | |
void | initialize_atomid_map_heavy_only (id::AtomID_Map< T > &atom_map, conformation::Conformation const &conformation) |
Initialize an AtomID_Map for a given Conformation using the AtomID_Map's current default fill values. More... | |
template<typename T > | |
void | initialize_atomid_map_heavy_only (id::AtomID_Map< T > &atom_map, conformation::Conformation const &conformation, T const &value) |
Initialize an AtomID_Map for a given Conformation using a specified fill value. More... | |
void | initialize_atomid_map_AtomID (id::AtomID_Map< id::AtomID > &atom_map, pose::Pose const &pose) |
void | initialize_atomid_map_AtomID (id::AtomID_Map< id::AtomID > &atom_map, pose::Pose const &pose, id::AtomID const &value) |
void | initialize_atomid_map_AtomID (id::AtomID_Map< id::AtomID > &atom_map, conformation::Conformation const &conformation) |
void | initialize_atomid_map_AtomID (id::AtomID_Map< id::AtomID > &atom_map, conformation::Conformation const &conformation, id::AtomID const &value) |
static basic::Tracer | TR ("core.pose.PDBInfo") |
std::ostream & | operator<< (std::ostream &os, PDBInfo const &info) |
std::ostream & | operator<< (std::ostream &os, core::pose::UnrecognizedAtomRecord const &uar) |
static basic::Tracer | TR ("core.pose.PDBPoseMap") |
std::ostream & | operator<< (std::ostream &os, Pose const &pose) |
Test IO operator for debug and Python bindings. More... | |
PoseOP | deep_copy (Pose const &source) |
static basic::Tracer | TR ("core.pose.ref_pose") |
void | attributes_for_saved_reference_pose (utility::tag::AttributeList &attributes, std::string const &attribute_name="reference_name") |
convenience function to access pointers to poses that will be stored in the data map at an arbitrary point during an RS protocol Will look for tag in in_tag variable More... | |
void | attributes_for_saved_reference_pose_w_description (utility::tag::AttributeList &attributes, std::string const &description, std::string const &attribute_name="reference_name") |
convenience function to access pointers to poses that will be stored in the data map at an arbitrary point during an RS protocol Will look for tag in in_tag variable More... | |
core::pose::PoseOP | saved_reference_pose (utility::tag::TagCOP const in_tag, basic::datacache::DataMap &data_map, std::string const &tag_name) |
core::pose::PoseCOP | saved_native_pose (basic::datacache::DataMap &data_map, std::string const &resource_str="native_pose") |
Retrieve the native pose from the DataMap which is added through the OptionsCollection during RosettaScript parsing as a resource. More... | |
std::ostream & | operator<< (std::ostream &out, ResidueIndexDescription const &rid) |
ResidueIndexDescriptionCOP | make_rid_posenum (core::Size resnum) |
Convenience function for converting a Size (Pose numbered) into a ResidueIndexDescription. More... | |
bool | character_is_USA_letter (char c) |
void | parse_PDBnum_icode (std::string const &token, std::string const &fname, Size const lineno, int &PDBnum, char &icode) |
Take the string "token" and try to interpret it as a PDB identifier in the form of an integer as well as an optional insertion code. For example the string "25A" would be interpretted as the residue 25 with the insertion code "A." Throws an exception if the input string is misformatted. More... | |
ResidueIndexDescriptionCOP | parse_resnum (std::string const &resnum, bool const check_for_refpose=false) |
Creates a ResidueIndexDescription from a string @detail Recognizes three forms of numbering: More... | |
core::Size | parse_resnum (std::string const &resnum, core::pose::Pose const &pose, bool const check_for_refpose=false) |
Extracts a residue number from a string. @detail Recognizes three forms of numbering: More... | |
utility::vector1< core::Size > | parse_selection_block (std::string const &sele, core::pose::Pose const &pose) |
Extracts residue numbers from a 'selection'. @detail Recognizes two forms of numbering: More... | |
set< Size > | get_resnum_list (std::string const &str, core::pose::Pose const &pose) |
returns a resnum list directly from a string More... | |
utility::vector1< Size > | get_resnum_list_ordered (std::string const &str, core::pose::Pose const &pose) |
returns a resnum list directly from a string, preserving order More... | |
bool | is_referencepose_number (std::string const &str, std::string &refpose_string, core::Size &refpose_resnumber, signed long &refpose_offset) |
Is a string of the format "refpose(<refposename>,<refposenumber>)" or "refpose(<refposename>,<refposenumber>)+/-<number>"? More... | |
core::Size | get_resnumber_from_reference_pose (std::string const &refpose_name, core::Size const refpose_number, signed long const refpose_offset, core::pose::Pose const &pose) |
Given the name of a ReferencePose object in the pose, a residue number in that reference pose, and a residue offset, this function returns the Rosetta number of the corresponding residue in the pose. Should throw an error if the ReferencePose doesn't exist in the pose, or 0 if no corresponding residue exists in the pose. More... | |
std::string | get_resnum_string (utility::tag::TagCOP tag_ptr, std::string const &prefix="") |
DEPRECATED - provided for legacy usage only. Don't use for new code. Instead, just use a single option which uses the parse_resnum syntax to specify. More... | |
std::string | get_resnum_string (utility::tag::TagCOP tag_ptr, std::string const &prefix, std::string const &default_value) |
DEPRECATED - provided for legacy usage only. Don't use for new code. Instead, just use a single option which uses parse_resnum syntax to specify. More... | |
core::select::residue_selector::ResidueSelectorOP | get_resnum_selector (utility::tag::TagCOP tag_ptr, std::string const &tag) |
void | attributes_for_get_resnum_string (utility::tag::AttributeList &attlist, std::string const &prefix) |
Companion function for get_resnum. More... | |
void | attributes_for_get_resnum_selector (utility::tag::AttributeList &attlist, utility::tag::XMLSchemaDefinition &xsd, string const &tag, string const &description) |
Companion function for get_resnum_list. More... | |
void | attributes_for_parse_resnum (utility::tag::AttributeList &attlist, std::string const &att_name, std::string const &description="") |
Companion function for parse_resnum. More... | |
static basic::Tracer | TR ("core.pose.subpose_manipulation_util") |
void | append_pose_to_pose (core::pose::Pose &pose1, core::pose::Pose const &pose2, bool new_chain=true) |
Append residues of pose2 to pose1. More... | |
void | append_subpose_to_pose (core::pose::Pose &pose1, core::pose::Pose const &pose2, core::Size start_res, core::Size end_res, bool new_chain=true) |
Append specified residues of pose2 to pose1. More... | |
void | create_subpose (Pose const &src, utility::vector1< Size > const &positions, kinematics::FoldTree const &f, Pose &pose) |
Create a subpose of the src pose. PDBInfo is set as NULL. More... | |
void | pdbslice (core::pose::Pose &new_pose, core::pose::Pose const &pose, utility::vector1< core::Size > const &slice_res) |
Create a subpose of the src pose – figures out a reasonable fold tree. More... | |
void | pdbslice (core::pose::Pose &pose, utility::vector1< core::Size > const &slice_res) |
Create a subpose of the src pose – figures out a reasonable fold tree. More... | |
utility::vector1< int > | partition_pose_by_jump (pose::Pose const &src, int const jump_number, pose::Pose &partner1, pose::Pose &partner2) |
void | pdbslice (pose::Pose &new_pose, pose::Pose const &pose, utility::vector1< Size > const &slice_res) |
Create a subpose of the src pose – figures out a reasonable fold tree. More... | |
void | pdbslice (pose::Pose &pose, utility::vector1< Size > const &slice_res) |
Create a subpose of the src pose – figures out a reasonable fold tree. More... | |
static basic::Tracer | TR ("core.pose.util") |
void | swap_transform (Size jump_num, kinematics::RT const &xform, Pose &pose) |
Updates the rigid-body transform of the specified jump in <pose> More... | |
bool | is_position_conserved_residue (Pose const &pose, core::Size residue) |
Returns true if <residue> is positionally conserved, false otherwise Based on the POSITION_CONSERVED_RESIDUES annotation stored in the Pose DataCache. More... | |
bool | create_chemical_edge (core::uint start_resnum, core::uint end_resnum, core::pose::Pose const &pose, core::kinematics::FoldTree &ft) |
Create a chemical edge between two Residues. More... | |
void | set_reasonable_fold_tree (pose::Pose &pose) |
core::chemical::ResidueTypeCOP | virtual_type_for_pose (core::pose::Pose const &pose) |
Return the appropritate ResidueType for the virtual residue for the "mode" (fullatom, centroid ...) the pose is in. More... | |
void | addVirtualResAsRoot (const numeric::xyzVector< core::Real > &xyz, core::pose::Pose &pose) |
Adds a virtual residue to the end of the pose at the specified location. Roots the structure on this residue. More... | |
void | remove_virtual_residues (core::pose::Pose &pose) |
Removes all virtual residues from <pose> More... | |
numeric::xyzVector< core::Real > | get_center_of_mass (core::pose::Pose const &pose) |
@detail Get center of mass of a pose. More... | |
void | addVirtualResAsRoot (core::pose::Pose &pose) |
@detail Find residue closest to center-of-mass More... | |
void | fix_pdbinfo_damaged_by_insertion (core::pose::Pose &pose) |
Repair pdbinfo of inserted residues that may have blank chain and zero seqpos. Assumes insertions only occur after a residue. More... | |
bool | is_ideal_pose (core::pose::Pose const &pose) |
checks if the pose geometry is ideal More... | |
bool | is_ideal_position (core::Size seqpos, core::pose::Pose const &pose) |
checks if the pose geometry is ideal in position seqpos More... | |
void | remove_nonprotein_residues (core::pose::Pose &pose) |
this function removes all residues from the pose which are not protein residues. More... | |
void | remove_ligand_canonical_residues (core::pose::Pose &pose) |
this function removes all residues with both UPPER and LOWER terminus types. This is intended for removing ligands that are canonical residues. More... | |
bool | compare_atom_coordinates (Pose const &lhs, Pose const &rhs, Size const n_dec_places=3) |
this function compares pose atom coordinates for equality; it is not the == operator because it does not compare all pose data. More... | |
bool | compare_binary_protein_silent_struct (Pose const &lhs, Pose const &rhs) |
this function compares poses for equality up to the information stored in the binary protein silent struct format. More... | |
id::NamedAtomID | atom_id_to_named_atom_id (core::id::AtomID const &atom_id, Pose const &pose) |
id::AtomID | named_atom_id_to_atom_id (core::id::NamedAtomID const &named_atom_id, Pose const &pose, bool raise_exception) |
id::NamedStubID | stub_id_to_named_stub_id (id::StubID const &stub_id, core::pose::Pose const &pose) |
id::StubID | named_stub_id_to_stub_id (id::NamedStubID const &named_stub_id, core::pose::Pose const &pose) |
core::Real | energy_from_pose (core::pose::Pose const &pose, core::scoring::ScoreType const &sc_type) |
core::Real | energy_from_pose (core::pose::Pose const &pose, std::string const &sc_type) |
core::Real | total_energy_from_pose (core::pose::Pose const &pose) |
bool | sort_pose_by_score (core::pose::PoseOP const &pose1, core::pose::PoseOP const &pose2) |
void | transfer_phi_psi (const core::pose::Pose &srcpose, core::pose::Pose &tgtpose, core::Size ir, core::Size jr) |
void | transfer_phi_psi (const core::pose::Pose &srcpose, core::pose::Pose &tgtpose) |
void | transfer_jumps (const core::pose::Pose &srcpose, core::pose::Pose &tgtpose) |
void | replace_pose_residue_copying_existing_coordinates (pose::Pose &pose, Size const seqpos, core::chemical::ResidueType const &new_rsd_type) |
void | replace_pose_residue_copying_existing_coordinates (pose::Pose &pose, Size const seqpos, core::chemical::ResidueType const &new_rsd_type, utility::vector1< core::Size > const &mapping) |
core::chemical::ResidueTypeCOP | get_restype_for_pose (core::pose::Pose const &pose, std::string const &name) |
Return the residue type in the correct "mode" (fullatom, centroid ...) the pose is in. More... | |
core::chemical::ResidueTypeCOP | get_restype_for_pose (core::pose::Pose const &pose, std::string const &name, core::chemical::TypeSetMode mode) |
Return the residue type in the passed mode, respecting any modification that pose may make. More... | |
void | setup_dof_to_torsion_map (pose::Pose const &pose, id::DOF_ID_Map< id::TorsionID > &dof_map) |
set up a map to look up TORSION_ID by DOF_ID (Map[DOF_ID] = TORISION_ID) More... | |
void | setup_dof_mask_from_move_map (core::kinematics::MoveMap const &mm, pose::Pose const &pose, id::DOF_ID_Mask &dof_mask) |
convert from allow-bb/allow-chi MoveMap to simple DOF_ID boolean mask needed by the minimizer More... | |
core::Size | num_heavy_atoms (core::Size begin, core::Size const end, core::pose::Pose const &pose) |
core::Size | num_atoms (core::Size begin, core::Size const end, core::pose::Pose const &pose) |
core::Size | num_hbond_acceptors (core::Size begin, core::Size const end, core::pose::Pose const &pose) |
core::Size | num_hbond_donors (core::Size begin, core::Size const end, core::pose::Pose const &pose) |
core::Size | num_chi_angles (core::Size begin, core::Size const end, core::pose::Pose const &pose) |
core::Real | mass (core::Size begin, core::Size const end, core::pose::Pose const &pose) |
void | initialize_disulfide_bonds (Pose &pose) |
detect and fix disulfide bonds More... | |
void | initialize_disulfide_bonds (Pose &pose, io::StructFileRep const &fd) |
detect and fix disulfide bonds More... | |
utility::vector1< std::pair< Size, Size > > | disulfide_pairs_from_sfr (Pose const &pose, io::StructFileRep const &fd) |
extract disulfide pairing from SFR More... | |
core::id::SequenceMapping | sequence_map_from_pdbinfo (Pose const &first, Pose const &second) |
Create a sequence map of first pose onto the second, matching the PDBInfo If the PDBInfo of either Pose is missing or invalid, do a simple sequence alignment matching. More... | |
core::Size | canonical_residue_count (core::pose::Pose const &pose) |
count the number of canonical residues in the pose More... | |
core::Size | noncanonical_residue_count (core::pose::Pose const &pose) |
count the number of non-canonical residues in the pose More... | |
core::Size | canonical_atom_count (core::pose::Pose const &pose) |
count the number of canonical amino acid atoms in the pose More... | |
core::Size | noncanonical_atom_count (core::pose::Pose const &pose) |
count the number of non-canonical amino acids in thepose More... | |
core::Size | noncanonical_chi_count (core::pose::Pose const &pose) |
count the number of non-canonical chi angles in the pose More... | |
Size | nres_protein (pose::Pose const &pose) |
Number of protein residues in the pose. More... | |
core::Real | radius_of_gyration (core::pose::Pose const &pose, numeric::xyzVector< core::Real > const ¢er_of_mass, utility::vector1< bool > const &residues) |
Get the radius of gyration of the selected residues. More... | |
numeric::xyzVector< Real > | center_of_mass (core::pose::Pose const &pose, utility::vector1< bool > const &residues) |
Get the center of the indicated residues. More... | |
utility::vector1< bool > | generate_vector_from_bounds (pose::Pose const &pose, int const start, int const stop) |
numeric::xyzVector< core::Real > | center_of_mass (pose::Pose const &pose, int const start, int const stop) |
calculates the center of mass of a pose More... | |
core::Vector | all_atom_center (core::pose::Pose const &pose, utility::vector1< core::Size > const &residues) |
Get the center of the indicated residues. More... | |
int | residue_center_of_mass (pose::Pose const &pose, utility::vector1< bool > residues) |
int | residue_center_of_mass (pose::Pose const &pose, int const start, int const stop) |
calculates the center of mass of a pose More... | |
int | return_nearest_residue (pose::Pose const &pose, utility::vector1< bool > const &residues, Vector center) |
int | return_nearest_residue (pose::Pose const &pose, int const begin, int const end, Vector center) |
finds the residue nearest some position passed in (normally a center of mass) More... | |
id::AtomID_Map< id::AtomID > | convert_from_std_map (std::map< id::AtomID, id::AtomID > const &atom_map, core::pose::Pose const &pose) |
std::map< std::string, core::Size > | get_pdb2pose_numbering_as_stdmap (core::pose::Pose const &pose) |
Create std::map from PDBPoseMap in pose (JKLeman) More... | |
void | declare_cutpoint_chemical_bond (core::pose::Pose &pose, Size const cutpoint_res, Size const next_res_in) |
Create a chemical bond from lower to upper residue across CUTPOINT_LOWER/CUTPOINT_UPPER. More... | |
void | update_cutpoint_virtual_atoms_if_connected (core::pose::Pose &pose, core::Size const cutpoint_res, bool recurse) |
Given a pose and a position that may or may not be CUTPOINT_UPPER or CUTPOINT_LOWER, determine whether this position has either of these variant types, and if it does, determine whether it's connected to anything. If it is, update the C-OVL1-OVL2 bond lengths and bond angle (for CUTPOINT_LOWER) or OVU1-N bond length (for CUTPOINT_UPPER) to match any potentially non-ideal geometry in the residue to which it's bonded. More... | |
void | get_constraints_from_link_records (core::pose::Pose &pose, io::StructFileRep const &sfr) |
utility::vector1< Size > | pdb_to_pose (pose::Pose const &pose, utility::vector1< int > const &pdb_res) |
Convert PDB numbering to pose numbering. Must exist somewhere else, but I couldn't find it. – rhiju. More... | |
utility::vector1< Size > | pdb_to_pose (pose::Pose const &pose, std::tuple< utility::vector1< int >, utility::vector1< char >, utility::vector1< std::string > > const &pdb_res) |
Convert PDB numbering to pose numbering. Must exist somewhere else, but I couldn't find it. – rhiju. More... | |
Size | pdb_to_pose (pose::Pose const &pose, int const res_num, char const chain) |
Convert PDB numbering to pose numbering. Must exist somewhere else, but I couldn't find it. – rhiju. More... | |
utility::vector1< Size > | pose_to_pdb (pose::Pose const &pose, utility::vector1< Size > const &pose_res) |
Convert pose numbering to pdb numbering. Must exist somewhere else, but I couldn't find it. – rhiju. More... | |
chemical::rings::AxEqDesignation | is_atom_axial_or_equatorial_to_ring (Pose const &pose, uint seqpos, uint query_atom, utility::vector1< uint > const &ring_atoms) |
Is the query atom in this pose residue axial or equatorial to the given ring or neither? More... | |
chemical::rings::AxEqDesignation | is_atom_axial_or_equatorial_to_ring (Pose const &pose, id::AtomID const &query_atom, utility::vector1< id::AtomID > const &ring_atoms) |
void | set_bb_torsion (uint torsion_id, Pose &pose, core::Size sequence_position, core::Angle new_angle) |
core::Angle | get_bb_torsion (uint torsion_id, Pose const &pose, core::Size sequence_position) |
Get a particular backbone torsion, phi, psi, omega (see core::types) Works with carbohydrates. Think about moving this to pose itself. More... | |
void | set_bfactors_from_atom_id_map (Pose &pose, id::AtomID_Map< Real > const &bfactors) |
Set bfactors in a pose PDBInfo. More... | |
bool | just_modeling_RNA (std::string const &sequence) |
bool | stepwise_addable_pose_residue (Size const n, pose::Pose const &pose) |
bool | stepwise_addable_residue (Size const n, std::map< Size, std::string > const &non_standard_residue_map) |
bool | effective_lower_terminus_based_on_working_res (Size const i, utility::vector1< Size > const &working_res, utility::vector1< Size > const &res_list, utility::vector1< Size > const &cutpoint_open_in_full_model) |
bool | effective_upper_terminus_based_on_working_res (Size const i, utility::vector1< Size > const &working_res, utility::vector1< Size > const &res_list, utility::vector1< Size > const &cutpoint_open_in_full_model, Size const nres_full) |
bool | definite_terminal_root (utility::vector1< Size > const &cutpoint_open_in_full_model, utility::vector1< Size > const &working_res, utility::vector1< Size > const &res_list, Size const nres, Size const i) |
bool | definite_terminal_root (pose::Pose const &pose, Size const i) |
Size | get_definite_terminal_root (pose::Pose const &pose, utility::vector1< Size > const &partition_res, utility::vector1< Size > const &res_list, utility::vector1< Size > const &fixed_domain_map, utility::vector1< Size > const &cutpoint_open_in_full_model, utility::vector1< Size > const &working_res, bool const disallow_cutpoint_closed_upper) |
Size | get_definite_terminal_root (pose::Pose const &pose, utility::vector1< Size > const &partition_res, bool const disallow_cutpoint_closed_upper) |
utility::vector1< Size > | reorder_root_partition_res (utility::vector1< Size > const &root_partition_res, utility::vector1< Size > const &res_list, utility::vector1< Size > const &fixed_domain_map) |
void | reroot (pose::Pose &pose, utility::vector1< Size > const &root_partition_res, utility::vector1< Size > const &res_list, utility::vector1< Size > const &preferred_root_res, utility::vector1< Size > const &fixed_domain_map, utility::vector1< Size > const &cutpoint_open_in_full_model, utility::vector1< Size > const &working_res) |
int | return_nearest_residue (core::pose::Pose const &pose, int const begin, int const end, core::Vector center) |
static basic::Tracer | TR ("core.pose.variant_util") |
core::conformation::ResidueOP | remove_variant_type_from_residue (conformation::Residue const &old_rsd, core::chemical::VariantType const variant_type, pose::Pose const &pose) |
Remove variant from an existing residue. More... | |
conformation::ResidueOP | add_variant_type_to_residue (conformation::Residue const &old_rsd, core::chemical::VariantType const variant_type, pose::Pose const &pose) |
Construct a variant of an existing residue. More... | |
void | add_variant_type_to_pose_residue (pose::Pose &pose, chemical::VariantType const variant_type, Size const seqpos) |
Construct a variant of an existing pose residue. More... | |
void | add_variant_type_to_pose_residue (pose::Pose &pose, std::string const &variant_type, Size const seqpos) |
void | add_custom_variant_type_to_pose_residue (pose::Pose &pose, std::string const &variant_type, Size const seqpos) |
void | remove_variant_type_from_pose_residue (pose::Pose &pose, chemical::VariantType const variant_type, Size const seqpos) |
Construct a non-variant of an existing pose residue. More... | |
void | add_lower_terminus_type_to_pose_residue (pose::Pose &pose, Size const seqpos) |
void | add_upper_terminus_type_to_pose_residue (pose::Pose &pose, Size const seqpos) |
void | remove_lower_terminus_type_from_pose_residue (pose::Pose &pose, Size const seqpos) |
void | remove_upper_terminus_type_from_pose_residue (pose::Pose &pose, Size const seqpos) |
void | correctly_add_cutpoint_variants (core::pose::Pose &pose) |
Add cutpoint variants to all residues annotated as cutpoints in the FoldTree in the Pose. More... | |
void | correctly_add_2prime_connection_variants (pose::Pose &pose, Size const twoprime_res, Size const next_res) |
void | correctly_add_cutpoint_variants (core::pose::Pose &pose, Size const cutpoint_res, bool const check_fold_tree, Size const next_res_in) |
Add CUTPOINT_LOWER and CUTPOINT_UPPER types to two residues, remove incompatible types, and declare a chemical bond between them. More... | |
void | correctly_remove_variants_incompatible_with_lower_cutpoint_variant (core::pose::Pose &pose, Size const res_index) |
Remove variant types incompatible with CUTPOINT_LOWER from a position in a pose. More... | |
void | correctly_remove_variants_incompatible_with_upper_cutpoint_variant (core::pose::Pose &pose, Size const res_index) |
Remove variant types incompatible with CUTPOINT_UPPER from a position in a pose. More... | |
bool | pose_residue_is_terminal (Pose const &pose, Size const resid) |
returns true if the given residue in the pose is a chain ending or has upper/lower terminal variants More... | |
bool | is_lower_terminus (pose::Pose const &pose, Size const resid) |
checks to see if this is a lower chain ending more intelligently than just checking residue variants More... | |
bool | is_upper_terminus (pose::Pose const &pose, Size const resid) |
checks to see if this is a lower chain ending more intelligently than just checking residue variants More... | |
void | show_adjacent_nt_connections (pose::Pose const &pose, Size const res) |
void | fix_up_residue_type_variants_at_strand_end (pose::Pose &pose, Size const res) |
void | fix_up_residue_type_variants_at_strand_beginning (pose::Pose &pose, Size const res) |
void | fix_up_residue_type_variants_at_floating_base (pose::Pose &pose, Size const res) |
void | update_block_stack_variants (pose::Pose &pose, Size const n) |
void | fix_up_residue_type_variants (pose::Pose &pose) |
core::id::AtomID_Map< platform::Real > | make_atom_map (core::pose::Pose const &p, PoseCoordPickMode m) |
typedef std::pair< char, std::string > core::pose::ChainSegID |
typedef boost::indirect_iterator< conformation::ResidueOPs::const_iterator, Residue const > core::pose::const_iterator |
typedef boost::indirect_iterator< conformation::ResidueOPs::iterator, Residue const > core::pose::iterator |
typedef std::set< int > core::pose::Jumps |
typedef utility::pointer::weak_ptr< MiniPose > core::pose::MiniPoseAP |
typedef utility::pointer::weak_ptr< MiniPose const > core::pose::MiniPoseCAP |
typedef utility::pointer::shared_ptr< MiniPose const > core::pose::MiniPoseCOP |
typedef utility::pointer::shared_ptr< MiniPose > core::pose::MiniPoseOP |
typedef utility::pointer::shared_ptr< PDBInfo const > core::pose::PDBInfoCOP |
typedef utility::pointer::shared_ptr< PDBInfo > core::pose::PDBInfoOP |
typedef utility::pointer::shared_ptr< PDBPoseMap const > core::pose::PDBPoseMapCOP |
typedef utility::pointer::shared_ptr< PDBPoseMap > core::pose::PDBPoseMapOP |
using core::pose::PoseAP = typedef utility::pointer::weak_ptr< Pose > |
using core::pose::PoseCAP = typedef utility::pointer::weak_ptr< Pose const > |
using core::pose::PoseCOP = typedef utility::pointer::shared_ptr< Pose const > |
using core::pose::PoseCOPs = typedef utility::vector1< PoseCOP > |
using core::pose::PoseCUP = typedef std::unique_ptr< Pose const > |
using core::pose::PoseOP = typedef utility::pointer::shared_ptr< Pose > |
using core::pose::PoseOPs = typedef utility::vector1< PoseOP > |
using core::pose::PoseUP = typedef std::unique_ptr< Pose > |
typedef utility::pointer::shared_ptr< ResidueIndexDescription const > core::pose::ResidueIndexDescriptionCOP |
typedef utility::pointer::shared_ptr< ResidueIndexDescription > core::pose::ResidueIndexDescriptionOP |
typedef std::map< core::Size, core::Size > core::pose::ResMap |
typedef utility::pointer::shared_ptr< RID_Source const > core::pose::RID_SourceCOP |
typedef utility::pointer::shared_ptr< RID_Source > core::pose::RID_SourceOP |
typedef utility::pointer::weak_ptr< xyzStripeHashPose const > core::pose::xyzStripeHashPoseCAP |
typedef utility::pointer::shared_ptr< xyzStripeHashPose const > core::pose::xyzStripeHashPoseCOP |
typedef utility::pointer::shared_ptr< xyzStripeHashPose > core::pose::xyzStripeHashPoseOP |
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.
References core::pose::Pose::data(), core::pose::datacache::CacheableDataType::STRING_MAP, and protocols::hybridization::val.
Referenced by protocols::monte_carlo::GenericMonteCarloMover::accept(), protocols::antibody::clusters::add_cluster_comments_to_pose(), protocols::fold_from_loops::movers::DisplayPoseLabelsMover::add_labels_as_remark(), protocols::simple_moves::AddChainMover::add_new_chain(), protocols::evolution::NucleotideMutation::add_nt_seq_to_pose(), protocols::splice::Splice::add_sequence_constraints(), protocols::splice::SpliceManager::add_sequence_constraints(), core::sequence::alignment_into_pose(), protocols::simple_moves::WriteSSEMover::apply(), protocols::antibody::design::AntibodyDesignMover::apply(), protocols::carbohydrates::GlycanSampler::apply(), protocols::frag_picker::nonlocal::NonlocalFrags::apply(), protocols::hbnet::HBNet::apply(), protocols::loophash::LoopHashMoverWrapper::apply(), protocols::simple_moves::PSSM2BfactorMover::apply(), protocols::simple_moves::SwitchChainOrderMover::apply(), protocols::splice::RBInMover::apply(), protocols::simple_moves::SaveSequenceToCommentsMover::apply(), protocols::evolution::NucleotideMutation::apply(), protocols::splice::Splice::apply(), protocols::splice::SpliceIn::apply(), protocols::splice::SpliceInTail::apply(), protocols::antibody::design::AntibodyDesignMover::apply_to_cdr(), protocols::evolution::EvolutionaryDynamicsMover::boltzmann(), protocols::splice::calculate_rmsd(), core::scoring::MembranePotential::compute_membrane_embedding(), protocols::loophash::MPI_LoopHashRefine_Master::create_loophash_WUs(), protocols::nonlocal::StarTreeBuilder::do_compute_jump_rmsd(), protocols::fold_from_loops::NubInitioMover::dump_centroid(), core::io::silent::SilentStruct::energies_into_pose(), protocols::splice::Splice::generate_sequence_profile(), protocols::splice::SpliceManager::generate_sequence_profile(), protocols::hbnet::HBNet::get_additional_output(), protocols::features::PoseCommentsFeatures::load_into_pose(), protocols::hbnet::HBNet::output_networks(), protocols::fold_from_loops::NubInitioMover::post_process(), protocols::cluster::ClusterBase::print_cluster_PDBs(), read_comment_pdb(), protocols::frag_picker::nonlocal::NonlocalFrags::recover_checkpoint(), core::io::pose_from_sfr::PoseFromSFRBuilder::refine_pose(), protocols::hbnet::HBNet::set_constraints(), protocols::splice::SpliceOut::SpliceOutFilter(), protocols::simple_moves::AddChainMover::swap_chain(), protocols::denovo_design::DisulfidizeMover::tag_disulfides(), protocols::calc_taskop_filters::RelativePoseFilter::thread_seq(), and protocols::hbnet::HBNet::write_network_pdb().
void core::pose::add_custom_variant_type_to_pose_residue | ( | pose::Pose & | pose, |
std::string const & | variant_type, | ||
Size const | seqpos | ||
) |
References core::pose::Pose::conformation(), core::conformation::Residue::connect_map(), core::conformation::Residue::connected_residue_at_resconn(), core::chemical::ResConnID::connid(), core::chemical::ResidueTypeBase::mode(), replace_pose_residue_copying_existing_coordinates(), core::pose::Pose::residue(), core::conformation::Conformation::residue(), core::pose::Pose::residue_type(), core::pose::Pose::residue_type_set_for_pose(), core::conformation::Residue::type(), and core::conformation::Conformation::update_noncanonical_connection().
void core::pose::add_lower_terminus_type_to_pose_residue | ( | pose::Pose & | pose, |
Size const | seqpos | ||
) |
References add_variant_type_to_pose_residue(), and core::chemical::LOWER_TERMINUS_VARIANT.
Referenced by protocols::fold_from_loops::utils::Nub::add_binders(), protocols::simple_moves::RepeatPropagationMover::add_cap_seq(), protocols::grafting::simple_movers::DeleteRegionMover::add_terminus_variants(), protocols::denovo_design::components::add_terminus_variants(), protocols::denovo_design::components::add_to_pose(), protocols::denovo_design::components::append_new_chain_from_template_segment(), protocols::protein_interface_design::movers::TryRotamers::apply(), protocols::fldsgn::CircularPermutation::apply(), protocols::forge::remodel::RemodelMover::apply(), protocols::hybridization::MRMover::apply(), core::pack::rotamer_set::bb_independent_rotamers(), protocols::denovo_design::construct_dummy_pose(), protocols::protein_interface_design::movers::copy_hotspot_to_pose(), protocols::denovo_design::movers::AlignResiduesMover::copy_residue(), protocols::simple_moves::RepeatPropagationMover::duplicate_residues_by_type(), protocols::forge::methods::grow_left_r(), protocols::helical_bundle_predict::HelicalBundlePredictApplication::make_pose_from_sequence_file_contents(), protocols::fold_from_loops::movers::SplitAndMixPoseMover::merge_poses(), protocols::forge::build::SegmentRebuild::modify_impl(), protocols::cyclic_peptide_predict::SimpleCycpepPredictApplication::set_up_isopeptide_variants(), protocols::cyclic_peptide_predict::SimpleCycpepPredictApplication::set_up_terminal_disulfide_variants(), protocols::fldsgn::CircularPermutation::split_chains(), and protocols::hybridization::MRMover::trim_target_pose().
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.
This is different from a comment in its interpretation by the silent-file output machinery. A REMARK is written on its own separate line in the output silent-file, while a comment is written as part of the Pose SCORE: lines.
References core::pose::Pose::data(), core::pose::datacache::CacheableDataType::SCORE_LINE_STRINGS, and protocols::hybridization::val.
Referenced by protocols::cryst::CrystRMS::apply(), protocols::cryst::DockLatticeMover::apply(), protocols::moves::SwitchMover::apply(), protocols::comparative_modeling::ExtraThreadingMover::apply(), protocols::comparative_modeling::PartialThreadingMover::apply(), protocols::comparative_modeling::ThreadingMover::apply(), protocols::forge::remodel::RemodelMover::apply(), core::io::silent::SilentStruct::energies_into_pose(), protocols::cryst::DockLatticeMover::initialize(), protocols::fold_from_loops::NubInitioMover::manage_constraints(), protocols::frag_picker::FragmentPicker::nonlocal_pairs(), protocols::frag_picker::FragmentCandidate::output_silent(), and protocols::fold_from_loops::NubInitioMover::template_rmsd().
void core::pose::add_upper_terminus_type_to_pose_residue | ( | pose::Pose & | pose, |
Size const | seqpos | ||
) |
References add_variant_type_to_pose_residue(), and core::chemical::UPPER_TERMINUS_VARIANT.
Referenced by protocols::fold_from_loops::utils::Nub::add_binders(), protocols::grafting::simple_movers::DeleteRegionMover::add_terminus_variants(), protocols::denovo_design::components::add_terminus_variants(), protocols::denovo_design::components::add_to_pose(), protocols::denovo_design::components::append_new_chain_from_template_segment(), protocols::denovo_design::components::append_residues_from_template_segment(), protocols::protein_interface_design::movers::TryRotamers::apply(), protocols::fldsgn::CircularPermutation::apply(), protocols::hybridization::MRMover::apply(), core::pack::rotamer_set::bb_independent_rotamers(), protocols::denovo_design::construct_dummy_pose(), protocols::protein_interface_design::movers::copy_hotspot_to_pose(), protocols::denovo_design::movers::AlignResiduesMover::copy_residue(), protocols::simple_moves::RepeatPropagationMover::duplicate_residues_by_type(), protocols::forge::methods::grow_right_r(), protocols::helical_bundle_predict::HelicalBundlePredictApplication::make_pose_from_sequence_file_contents(), protocols::fold_from_loops::movers::SplitAndMixPoseMover::merge_poses(), protocols::forge::build::SegmentRebuild::modify_impl(), protocols::cyclic_peptide_predict::SimpleCycpepPredictApplication::set_up_isopeptide_variants(), protocols::cyclic_peptide_predict::SimpleCycpepPredictApplication::set_up_terminal_disulfide_variants(), protocols::cyclic_peptide_predict::SimpleCycpepPredictApplication::set_up_terminal_thioether_lariat_variants(), protocols::fldsgn::CircularPermutation::split_chains(), and protocols::hybridization::MRMover::trim_target_pose().
void core::pose::add_variant_type_to_pose_residue | ( | pose::Pose & | pose, |
chemical::VariantType const | variant_type, | ||
Size const | seqpos | ||
) |
Construct a variant of an existing pose residue.
E.g., make a terminus variant, and replace the original in pose.
References core::pose::Pose::conformation(), core::conformation::Residue::connect_map(), core::conformation::Residue::connected_residue_at_resconn(), core::chemical::ResConnID::connid(), core::chemical::CUTPOINT_LOWER, core::chemical::CUTPOINT_UPPER, core::conformation::Residue::has_variant_type(), core::chemical::ResidueTypeBase::mode(), replace_pose_residue_copying_existing_coordinates(), core::pose::Pose::residue(), core::conformation::Conformation::residue(), core::pose::Pose::residue_type(), core::pose::Pose::residue_type_set_for_pose(), core::conformation::Residue::type(), update_cutpoint_virtual_atoms_if_connected(), and core::conformation::Conformation::update_noncanonical_connection().
Referenced by core::import_pose::add_block_stack_variants(), protocols::abinitio::KinematicControl::add_chainbreak_variants(), protocols::topology_broker::TopologyBroker::add_chainbreak_variants(), protocols::jumping::JumpSample::add_chainbreaks(), protocols::toolbox::pose_manipulation::add_chainbreaks_according_to_jumps(), protocols::ligand_docking::MinimizeBackbone::add_cut_points(), protocols::forge::methods::add_cutpoint_variants(), protocols::grafting::simple_movers::DeleteRegionMover::add_cutpoint_variants(), protocols::grafting::add_cutpoint_variants_for_ccd(), protocols::denovo_design::add_cutpoints(), protocols::enzdes::SecondaryMatchProtocol::add_enz_cst_interaction_to_pose(), protocols::cyclic_peptide::crosslinker::Metal_HelperBase::add_linker_asymmetric(), protocols::cyclic_peptide::crosslinker::Metal_HelperBase::add_linker_symmetric(), add_lower_terminus_type_to_pose_residue(), protocols::loops::add_single_cutpoint_variant(), add_upper_terminus_type_to_pose_residue(), core::pose::rna::add_virtual_O2Prime_hydrogen(), core::import_pose::add_virtual_sugar_res(), protocols::denovo_design::components::append_new_residues(), protocols::stepwise::monte_carlo::mover::AddMover::append_residue(), protocols::antibody::H3PerturbCCD::apply(), protocols::antibody::LHRepulsiveRampLegacy::apply(), protocols::antibody::LHSnugFitLegacy::apply(), protocols::farnesyl::InstallFarnesylMover::apply(), protocols::grafting::AnchoredGraftMover::apply(), protocols::grafting::CCDEndsGraftMover::apply(), protocols::helical_bundle::BackboneGridSampler::apply(), protocols::loop_grower::LoopGrower::apply(), protocols::loops::loop_mover::refine::LoopMover_Refine_KIC::apply(), protocols::protein_interface_design::movers::AddChainBreak::apply(), protocols::protein_interface_design::movers::ShoveResidueMover::apply(), protocols::protein_interface_design::movers::TryRotamers::apply(), protocols::simple_moves::MissingDensityToJumpMover::apply(), protocols::simple_moves::RepulsiveOnlyMover::apply(), protocols::simple_moves::ReturnSidechainMover::apply(), protocols::stepwise::modeler::rna::sugar::SugarVirtualizeMover::apply(), protocols::antibody_legacy::LoopRlxMover::apply(), protocols::simple_moves::DeclareBond::apply(), protocols::forge::components::VarLengthBuild::apply(), protocols::protein_interface_design::movers::SaveAndRetrieveSidechains::apply(), protocols::stepwise::legacy::modeler::protein::StepWiseProteinPoseSetup::apply_bulge_variants(), protocols::stepwise::legacy::modeler::rna::StepWiseRNA_PoseSetup::apply_bulge_variants(), protocols::stepwise::legacy::modeler::protein::StepWiseProteinPoseSetup::apply_peptide_plane_variants(), protocols::mainchain_potential::GenerateMainchainPotential::apply_protein_patches(), protocols::stepwise::modeler::rna::apply_protonated_H1_adenosine_variant_type(), protocols::loops::apply_sequence_mapping(), protocols::stepwise::legacy::modeler::protein::StepWiseProteinPoseSetup::apply_terminus_variants_at_protein_rna_boundaries(), protocols::stepwise::legacy::modeler::protein::StepWiseProteinPoseSetup::apply_virtual_phosphate_variants(), protocols::stepwise::legacy::modeler::rna::StepWiseRNA_PoseSetup::apply_virtual_phosphate_variants(), protocols::stepwise::legacy::modeler::protein::StepWiseProteinPoseSetup::apply_virtual_res_variant(), core::pose::rna::apply_virtual_rna_residue_variant_type(), protocols::fold_from_loops::utils::Nub::assign_disulfides(), protocols::idealize::basic_idealize(), protocols::LoopRebuild::build_loop_with_ccd_closure(), core::import_pose::build_pose_as_is2(), protocols::peptide_deriver::PeptideDeriverFilter::build_receptor_peptide_pose(), protocols::analysis::LoopAnalyzerMover::calculate_all_chainbreaks(), protocols::antibody_legacy::CloseOneMover::close_one_loop_stem_helper(), protocols::stepwise::modeler::protein::StepWiseProteinBackboneSampler::convert_to_centroid(), protocols::protein_interface_design::movers::copy_hotspot_to_pose(), protocols::abinitio::copy_side_chains(), correctly_add_2prime_connection_variants(), correctly_add_cutpoint_variants(), protocols::hotspot_hashing::HotspotStubSet::create_hotspot_after_pose(), protocols::enzdes::EnzdesBaseProtocol::cst_minimize(), protocols::relax::cyclize_pose(), protocols::toolbox::match_enzdes_util::MatchConstraintFileInfo::diversify_backbone_only_rotamers(), protocols::seeded_abinitio::CloseFold::find_loops(), protocols::seeded_abinitio::DefineMovableLoops::find_loops(), fix_up_residue_type_variants_at_floating_base(), fix_up_residue_type_variants_at_strand_beginning(), fix_up_residue_type_variants_at_strand_end(), protocols::stepwise::modeler::rna::checker::RNA_AtrRepChecker::get_base_atr_rep_score(), core::pose::carbohydrates::glycosylate_pose(), protocols::stepwise::modeler::StepWiseConnectionSampler::initialize_checkers(), protocols::stepwise::modeler::StepWiseConnectionSampler::initialize_pose(), protocols::stepwise::modeler::rna::sugar::VirtualSugarSampler::initialize_pose_variants_for_chain_closure(), protocols::magnesium::instantiate_water_at_octahedral_vertex(), protocols::fold_from_loops::utils::Nub::join_pieces(), protocols::antibody_legacy::CDRH3Modeler::loop_centroid_relax(), protocols::antibody_legacy::CDRH3Modeler::loop_fa_relax(), protocols::fold_from_loops::movers::NubInitioLoopClosureMover::make_cutpoints_coherent_to_foldtree(), protocols::forge::methods::make_star_foldtree(), protocols::stepwise::modeler::make_variants_match(), protocols::stepwise::modeler::rna::sugar::minimize_all_sampled_floating_bases(), protocols::pose_length_moves::PossibleLoop::minimize_loop(), protocols::enzdes::EnzdesFlexibleRegion::minimize_region(), protocols::loop_build::LoopMover_SlidingWindow::model_loop(), protocols::loops::loop_mover::perturb::LoopMover_Perturb_CCD::model_loop(), protocols::loops::loop_mover::perturb::LoopMover_Perturb_KIC::model_loop(), protocols::loops::loop_mover::perturb::LoopMover_Perturb_QuickCCD::model_loop(), protocols::loops::loop_mover::perturb::LoopMover_Perturb_QuickCCD_Moves::model_loop(), protocols::forge::build::BuildManager::modify(), protocols::denovo_design::movers::new_jump_and_cutpoint(), protocols::enzymatic_movers::DNAMethyltransferaseMover::perform_reaction(), protocols::enzymatic_movers::KinaseMover::perform_reaction(), protocols::enzymatic_movers::NTerminalAcetyltransferaseMover::perform_reaction(), protocols::recces::pose_setup_from_file(), protocols::peptide_deriver::PeptideDeriverFilter::prepare_pose(), protocols::denovo_design::components::prepend_new_residues(), protocols::stepwise::monte_carlo::mover::AddMover::prepend_residue(), protocols::stepwise::legacy::modeler::rna::StepWiseRNA_PoseSetup::read_input_pose_and_copy_dofs(), protocols::toolbox::match_enzdes_util::CovalentConnectionReplaceInfo::remove_covalent_connection_from_pose(), protocols::stepwise::modeler::rna::phosphate::remove_terminal_phosphates(), protocols::ligand_docking::LigandBaseProtocol::reorder_foldtree_around_mobile_regions(), protocols::forge::remodel::RemodelLoopMover::repeat_generation_with_additional_residue(), protocols::antibody_legacy::AntibodyModeler::repulsive_ramp(), protocols::hotspot_hashing::HotspotStubSet::rescore(), protocols::flexpep_docking::FlexPepDockingAbInitio::restorePSER(), protocols::jumping::MembraneJump::rt_templates(), protocols::antibody_legacy::CDRH3Modeler::scored_frag_close(), protocols::anchored_design::AnchoredDesignMover::set_fold_tree_and_cutpoints(), protocols::seeded_abinitio::SeedFoldTree::set_foldtree(), protocols::loops::set_loop_cutpoint_in_pose_fold_tree(), protocols::cyclic_peptide_predict::SimpleCycpepPredictApplication::set_up_isopeptide_variants(), protocols::cyclic_peptide::crosslinker::set_up_thioether_variants(), protocols::rna::denovo::RNA_DeNovoPoseInitializer::setup_block_stack_variants(), protocols::rna::denovo::RNA_DeNovoPoseInitializer::setup_chainbreak_variants(), protocols::rbsegment_relax::setup_disconnected(), core::pose::carbohydrates::setup_existing_glycans(), protocols::rna::denovo::RNA_DeNovoPoseInitializer::setup_fold_tree_through_build_full_model_info(), protocols::rbsegment_relax::setup_pose_rbsegs_keep_loops(), core::pose::rna::setup_three_prime_phosphate_based_on_next_residue(), protocols::stepwise::modeler::rna::phosphate::PhosphateMover::setup_variants_and_free_pose_for_five_prime_phosphate(), protocols::stepwise::modeler::rna::phosphate::PhosphateMover::setup_variants_and_free_pose_for_three_prime_phosphate(), protocols::rna::denovo::RNA_DeNovoPoseInitializer::setup_virtual_phosphate_variants(), protocols::loop_grower::LoopGrower::single_grow(), protocols::antibody_legacy::AntibodyModeler::snugfit_mcm_protocol(), protocols::stepwise::modeler::split_pose(), protocols::topology_broker::RigidChunkClaimer::switch_to_fullatom(), update_block_stack_variants(), core::scoring::rna::data::RNA_DMS_Potential::update_virtual_base_if_necessary(), core::pose::rna::virtualize_5prime_phosphates(), protocols::stepwise::modeler::rna::sugar::VirtualSugarSampler::virtualize_distal_partition(), core::pose::rna::virtualize_free_rna_moieties(), protocols::stepwise::modeler::polar_hydrogens::PolarHydrogenPacker::virtualize_poor_scoring_o2prime_hydrogens(), protocols::stepwise::modeler::virtualize_side_chains(), and protocols::stepwise::legacy::modeler::rna::StepWiseRNA_PoseSetup::virtualize_sugar_and_backbone_at_moving_res().
void core::pose::add_variant_type_to_pose_residue | ( | pose::Pose & | pose, |
std::string const & | variant_type, | ||
Size const | seqpos | ||
) |
References core::pose::Pose::conformation(), core::conformation::Residue::connect_map(), core::conformation::Residue::connected_residue_at_resconn(), core::chemical::ResConnID::connid(), core::chemical::ResidueTypeBase::mode(), replace_pose_residue_copying_existing_coordinates(), core::pose::Pose::residue(), core::conformation::Conformation::residue(), core::pose::Pose::residue_type(), core::pose::Pose::residue_type_set_for_pose(), core::conformation::Residue::type(), update_cutpoint_virtual_atoms_if_connected(), and core::conformation::Conformation::update_noncanonical_connection().
conformation::ResidueOP core::pose::add_variant_type_to_residue | ( | conformation::Residue const & | old_rsd, |
chemical::VariantType const | variant_type, | ||
pose::Pose const & | pose | ||
) |
Construct a variant of an existing residue.
References core::conformation::Residue::chi(), core::conformation::Residue::clone(), core::pose::Pose::conformation(), core::conformation::copy_residue_coordinates_and_rebuild_missing_atoms(), core::conformation::ResidueFactory::create_residue(), core::conformation::Residue::has_variant_type(), core::chemical::ResidueTypeBase::mode(), core::chemical::ResidueType::nchi(), core::conformation::Residue::nchi(), core::pose::Pose::residue_type_set_for_pose(), TR(), and core::conformation::Residue::type().
Referenced by protocols::hotspot_hashing::movers::PlaceProbeMover::apply(), core::pack::rotamer_set::build_proton_chi_rotamers(), core::pack::rotamer_set::RotamerSets::build_rotamers(), core::pack::rotamer_set::RotamerSets::copy_residue_conenctions_and_variants(), protocols::hotspot_hashing::movers::PlaceSurfaceProbe::create_partitioned_search_pattern(), protocols::hotspot_hashing::movers::PlaceSurfaceProbe::create_search_pattern(), protocols::motifs::LigandMotifSearch::run(), protocols::motifs::MotifDnaPacker::run_motifs(), and core::pack::rotamers::SingleResidueRotamerLibrary::virtual_sidechain().
void core::pose::addVirtualResAsRoot | ( | const numeric::xyzVector< core::Real > & | xyz, |
core::pose::Pose & | pose | ||
) |
Adds a virtual residue to the end of the pose at the specified location. Roots the structure on this residue.
Adds a virtual residue to a pose as the root. Jump is to the residue closest to <xyz>. If the pose is already rooted on a VRT res, do nothing.
References core::conformation::Residue::aa(), core::chemical::aa_vrt, core::pose::Pose::append_residue_by_jump(), core::conformation::Residue::atom(), core::conformation::ResidueFactory::create_residue(), core::pose::Pose::fold_tree(), core::conformation::Residue::is_polymer(), core::conformation::Residue::is_protein(), core::pose::Pose::pdb_info(), core::kinematics::FoldTree::reorder(), core::pose::Pose::residue(), core::kinematics::FoldTree::root(), core::pose::Pose::size(), TR(), virtual_type_for_pose(), core::conformation::Atom::xyz(), and protocols::kinmatch::xyz().
Referenced by protocols::rna::movers::RNAThreadAndMinimizeMover::accomodate_length_change(), addVirtualResAsRoot(), protocols::electron_density::SetupForDensityScoringMover::apply(), protocols::rbsegment_relax::AutoRBMover::apply(), protocols::rbsegment_relax::ConfChangeMover::apply(), protocols::rbsegment_relax::IdealizeHelicesMover::apply(), protocols::rna::movers::RNAIdealizeMover::apply(), protocols::stepwise::monte_carlo::mover::FromScratchMover::apply(), protocols::simple_moves::VirtualRootMover::apply(), protocols::hybridization::CartesianSampler::apply_frame(), protocols::ligand_docking::ga_ligand_dock::GALigandDock::calculate_free_ligand_score(), protocols::electron_density::compare_RBfitDB_to_native(), core::import_pose::RNA_DeNovoSetup::de_novo_setup_from_options(), protocols::electron_density::do_filter(), protocols::electron_density::DockFragmentsIntoDensityMover::do_refinement(), core::pose::symmetry::extract_asymmetric_unit(), protocols::ligand_docking::ga_ligand_dock::GALigandDock::final_exact_cartmin(), protocols::residue_optimization::MetapatchEnumeration::final_sampling(), protocols::rna::denovo::movers::RNA_DeNovoProtocolMover::initial_pose_setup(), protocols::residue_optimization::MetapatchEnumeration::initial_sampling(), protocols::hybridization::HybridizeFoldtreeDynamic::initialize(), protocols::ligand_docking::ga_ligand_dock::LigandConformer::initialize(), protocols::ligand_docking::ga_ligand_dock::GALigandDock::load_initial_pool(), protocols::ligand_docking::ga_ligand_dock::EntropyEstimator::MCEntropy(), protocols::electron_density::DockPDBIntoDensityMover::minimize_poseOP_into_density(), protocols::electron_density::DockFragmentsIntoDensityMover::print_best_rms(), protocols::electron_density::DockPDBIntoDensityMover::refine_RBfitResultDB(), protocols::stepwise::monte_carlo::mover::StepWiseMasterMover::resample_full_model(), protocols::electron_density::set_pose_and_scorefxn_for_edens_scoring(), protocols::nonlocal::StarTreeBuilder::set_up(), protocols::relax::RelaxProtocolBase::set_up_constraints(), protocols::electron_density::DockPDBIntoDensityMover::setMultiNative(), protocols::electron_density::DockFragmentsIntoDensityMover::setNative(), protocols::rna::denovo::RNA_DeNovoPoseInitializer::setup_fold_tree_through_build_full_model_info(), core::import_pose::setup_for_density_scoring(), protocols::star::StarAbinitio::setup_kinematics(), and protocols::ligand_docking::ga_ligand_dock::LigandConformer::to_minipose().
void core::pose::addVirtualResAsRoot | ( | core::pose::Pose & | pose | ) |
@detail Find residue closest to center-of-mass
Adds a VRT res to the end of the pose at the center of mass. Reroots the structure on this res.
References addVirtualResAsRoot(), get_center_of_mass(), core::pose::Pose::size(), and TR().
Referenced by protocols::rbsegment_relax::restore_pose_from_rbsegs(), and protocols::rbsegment_relax::setup_pose_from_rbsegs().
core::Vector core::pose::all_atom_center | ( | core::pose::Pose const & | pose, |
utility::vector1< core::Size > const & | residues | ||
) |
Get the center of the indicated residues.
This computes an equally-weighted, all-atom (including virtuals and hydrogens) center
References center_of_mass(), protocols::splice::coords(), core::conformation::Residue::natoms(), core::pose::Pose::residue(), and core::conformation::Residue::xyz().
Referenced by protocols::qsar::qsarMover::apply(), protocols::qsar::RenderGridsToKinemage::apply(), protocols::ligand_docking::get_ligand_grid_scores(), protocols::ligand_docking::get_ligand_travel(), protocols::ligand_docking::get_radius_of_gyration(), and protocols::features::ResidueGridScoresFeatures::report_features().
std::string core::pose::annotated_to_oneletter_sequence | ( | std::string const & | annotated_seq | ) |
Returns the oneletter_sequence that corresponds to the given annotated sequence.
References protocols::mean_field::add().
Referenced by protocols::forge::build::Bridge::Bridge(), protocols::forge::components::BDR::design_refine(), protocols::forge::remodel::RemodelMover::design_refine_cart_relax(), protocols::forge::build::GrowLeft::GrowLeft(), protocols::forge::build::GrowRight::GrowRight(), make_pose_from_sequence(), protocols::forge::build::SegmentInsert::SegmentInsert(), and protocols::forge::build::SegmentRebuild::SegmentRebuild().
void core::pose::append_pose_to_pose | ( | core::pose::Pose & | pose1, |
core::pose::Pose const & | pose2, | ||
bool | new_chain | ||
) |
Append residues of pose2 to pose1.
References append_subpose_to_pose(), and core::pose::Pose::size().
Referenced by protocols::matdes::SymDofMover::add_components_to_pose_if_necessary(), protocols::simple_moves::AddChainMover::add_new_chain(), protocols::sewing::hashing::AlignmentFileGeneratorMover::add_pose_segments_to_segment_vector(), protocols::fold_from_loops::utils::append_pose_to_pose_keep_fold_tree(), protocols::splice::DesignInterfacesOperation::apply(), protocols::dna_dock::DNAClashCheckFilter::apply(), protocols::dna_dock::PropagateClashCheckFilter::apply(), protocols::docking::membrane::MPDockingSetupMover::apply(), protocols::pose_length_moves::ConnectChainsMover::assemble_missing_chain(), protocols::pose_length_moves::NearNativeLoopCloser::combine_chains(), protocols::simple_moves::ConcatenatePosesMover::concatenate_poses(), protocols::pose_length_moves::ConnectChainsMover::generate_best_final_pose(), protocols::simple_moves::RepeatPropagationMover::generate_overlap(), protocols::simple_ddg::SSElementBisectddGFilter::get_ddg_bisect_score(), protocols::pose_creation::MakeJunctionsMover::make_pose_from_design(), protocols::fold_from_loops::movers::SplitAndMixPoseMover::merge_poses(), protocols::ligand_docking::ga_ligand_dock::GALigandDock::replace_ligand(), protocols::simple_moves::AddChainMover::swap_chain(), protocols::pose_length_moves::NearNativeLoopCloser::switch_chain_order(), protocols::legacy_sewing::Assembly::to_pose(), and protocols::sewing::data_storage::SmartAssembly::to_pose().
void core::pose::append_pose_with_glycan_residues | ( | pose::Pose & | pose, |
chemical::ResidueTypeCOPs | residue_types, | ||
core::uint | resnum_to_be_appended | ||
) |
Append an empty or current Pose with saccharide residues, building branches as necessary.
This function was written primarily as a subroutine for code shared by make_pose_from_saccharide_sequence() and pose::carbohydrates:glycosylate_pose(). You probably do not want to call it directly.
<pose> | The Pose must be either empty, in which case a new oligo- or polysaccharide pose will be created, or it must have a BRANCH_POINT variant residue to extend. This Residue of the Pose must have unsatisfied ResidueConnections. By default, it is assumed to be the last residue of the Pose. |
<residue_types> | A list of ResidueTypes from which to build new residues for the Pose. These must be ordered such that a branch is completely finished before a new one is begun. Branches are constructed by assuming that branch connections are "satisfied" in the order in which they were created. ResidueTypes must be of the correct VariantType to be appended properly. (See pose::carbohydrates:glycosylate_pose().) |
<resnum_to_be_appended> | The sequence position to which the glycan will be appended. It must be a BRANCH_POINT with an unsatisfied connection. By default, it is assumed to be the last residue of the Pose. |
References core::pose::Pose::append_residue_by_atoms(), core::pose::Pose::append_residue_by_bond(), core::pose::Pose::append_residue_by_jump(), core::chemical::ResidueType::branch_connect_atom_names(), core::conformation::ResidueFactory::create_residue(), core::pose::Pose::empty(), core::conformation::Residue::has_incomplete_connection(), core::conformation::Residue::is_branch_point(), core::conformation::Residue::is_upper_terminus(), core::pose::Pose::residue(), core::pose::Pose::residue_type(), core::pose::Pose::size(), TR(), core::conformation::Residue::type(), and core::chemical::ResidueType::upper_connect_id().
Referenced by core::pose::carbohydrates::glycosylate_pose(), and make_pose_from_saccharide_sequence().
void core::pose::append_subpose_to_pose | ( | core::pose::Pose & | pose1, |
core::pose::Pose const & | pose2, | ||
core::Size | start_res, | ||
core::Size | end_res, | ||
bool | new_chain | ||
) |
Append specified residues of pose2 to pose1.
References core::pose::Pose::append_residue_by_bond(), core::pose::Pose::append_residue_by_jump(), core::pose::Pose::chain(), core::conformation::Residue::is_lower_terminus(), core::conformation::Residue::is_protein(), core::pose::Pose::residue(), core::pose::Pose::size(), and TR().
Referenced by append_pose_to_pose(), and protocols::energy_based_clustering::EnergyBasedClusteringProtocol::swap_chains().
id::NamedAtomID core::pose::atom_id_to_named_atom_id | ( | core::id::AtomID const & | atom_id, |
Pose const & | pose | ||
) |
References core::conformation::Residue::atom_name(), core::id::AtomID::atomno(), core::pose::Pose::residue(), and core::id::AtomID::rsd().
Referenced by core::import_pose::libraries::ChunkSet::get_atom_id_domain_map_for_rosetta_library_chunk(), core::scoring::constraints::AmbiguousNMRDistanceConstraint::remapped_clone(), core::scoring::constraints::DihedralConstraint::remapped_clone(), core::scoring::constraints::DihedralPairConstraint::remapped_clone(), core::scoring::constraints::DistancePairConstraint::remapped_clone(), core::scoring::constraints::LocalCoordinateConstraint::remapped_clone(), core::scoring::constraints::RTConstraint::remapped_clone(), core::scoring::constraints::CoordinateConstraint::show_def(), core::scoring::constraints::LocalCoordinateConstraint::show_def(), and stub_id_to_named_stub_id().
void core::pose::attributes_for_get_resnum_selector | ( | utility::tag::AttributeList & | attlist, |
utility::tag::XMLSchemaDefinition & | xsd, | ||
string const & | tag, | ||
string const & | description | ||
) |
Companion function for get_resnum_list.
Companion function for get_resnum_selector.
Appends relevant XMLSchemaAttributes to the AttributeList
Appends relevant XMLSchemaAttributes to the AttributeList; needs the xsd because it adds restricted types
Referenced by core::pack::task::operation::PreventRepacking::provide_xml_schema(), core::select::residue_selector::BondedResidueSelector::provide_xml_schema(), core::select::residue_selector::ResidueIndexSelector::provide_xml_schema(), protocols::hybridization::CartesianSampler::provide_xml_schema(), protocols::hybridization::HybridizeProtocol::provide_xml_schema(), protocols::pose_reporters::RMSDReporter::provide_xml_schema(), protocols::protein_interface_design::movers::HotspotDisjointedFoldTreeMover::provide_xml_schema(), protocols::protein_interface_design::movers::PlaceStubMover::provide_xml_schema(), protocols::residue_selectors::HBondSelector::provide_xml_schema(), protocols::residue_selectors::LigandMetalContactSelector::provide_xml_schema(), protocols::simple_filters::ResidueDepthFilter::provide_xml_schema(), and protocols::simple_moves::SetupMetalsMover::provide_xml_schema().
void core::pose::attributes_for_get_resnum_string | ( | utility::tag::AttributeList & | attlist, |
std::string const & | prefix | ||
) |
Companion function for get_resnum.
Companion function for get_resnum_string.
Appends relevant XMLSchemaAttributes to the AttributeList
Referenced by protocols::abinitio::DomainAssembly::provide_xml_schema(), protocols::enzdes::EnzScoreFilter::provide_xml_schema(), protocols::enzdes::DiffAtomSasaFilter::provide_xml_schema(), protocols::loophash::LoopHashDiversifier::provide_xml_schema(), protocols::loophash::LoopHashMoverWrapper::provide_xml_schema(), protocols::protein_interface_design::filters::HbondsToAtomFilter::provide_xml_schema(), protocols::protein_interface_design::movers::BackrubDDMover::provide_xml_schema(), protocols::protein_interface_design::movers::ShoveResidueMover::provide_xml_schema(), protocols::protein_interface_design::movers::TryRotamers::provide_xml_schema(), protocols::simple_filters::EnergyPerResidueFilter::provide_xml_schema(), protocols::simple_filters::NeighborTypeFilter::provide_xml_schema(), protocols::simple_filters::ResidueDistanceFilter::provide_xml_schema(), protocols::simple_filters::SidechainRmsdFilter::provide_xml_schema(), and protocols::simple_filters::SimpleHbondsToAtomFilter::provide_xml_schema().
void core::pose::attributes_for_parse_resnum | ( | utility::tag::AttributeList & | attlist, |
std::string const & | att_name, | ||
std::string const & | description = "" |
||
) |
Companion function for parse_resnum.
Appends relevant XMLSchemaAttributes to the AttributeList
Referenced by core::select::residue_selector::ResidueSpanSelector::provide_xml_schema(), protocols::frag_picker::FragmentScoreFilter::provide_xml_schema(), protocols::rigid::RollMover::provide_xml_schema(), protocols::simple_filters::AtomicDistanceFilter::provide_xml_schema(), protocols::simple_filters::StemFinder::provide_xml_schema(), protocols::simple_moves::sidechain_moves::SetChiMover::provide_xml_schema(), and protocols::simple_moves::Tumble::provide_xml_schema().
void core::pose::attributes_for_saved_reference_pose | ( | utility::tag::AttributeList & | attributes, |
std::string const & | attribute_name | ||
) |
convenience function to access pointers to poses that will be stored in the data map at an arbitrary point during an RS protocol Will look for tag in in_tag variable
References attributes_for_saved_reference_pose_w_description().
Referenced by core::simple_metrics::composite_metrics::CompositeEnergyMetric::provide_xml_schema(), core::simple_metrics::metrics::DihedralDistanceMetric::provide_xml_schema(), core::simple_metrics::metrics::RMSDMetric::provide_xml_schema(), core::simple_metrics::metrics::TotalEnergyMetric::provide_xml_schema(), core::simple_metrics::per_residue_metrics::PerResidueEnergyMetric::provide_xml_schema(), protocols::analysis::simple_metrics::SequenceRecoveryMetric::provide_xml_schema(), protocols::protein_interface_design::filters::SequenceRecoveryFilter::provide_xml_schema(), protocols::protein_interface_design::movers::InterfaceRecapitulationMover::provide_xml_schema(), protocols::simple_filters::MutationsFilter::provide_xml_schema(), and protocols::simple_moves::FavorSequenceProfile::provide_xml_schema().
void core::pose::attributes_for_saved_reference_pose_w_description | ( | utility::tag::AttributeList & | attributes, |
std::string const & | description, | ||
std::string const & | attribute_name | ||
) |
convenience function to access pointers to poses that will be stored in the data map at an arbitrary point during an RS protocol Will look for tag in in_tag variable
Referenced by attributes_for_saved_reference_pose(), protocols::rosetta_scripts::attributes_for_saved_reference_pose_w_description(), protocols::contact_map::ContactMap::provide_xml_schema(), protocols::protein_interface_design::filters::StubScoreFilter::provide_xml_schema(), protocols::protein_interface_design::movers::PlacementAuctionMover::provide_xml_schema(), protocols::protein_interface_design::movers::PlacementMinimizationMover::provide_xml_schema(), protocols::protein_interface_design::movers::PlaceSimultaneouslyMover::provide_xml_schema(), protocols::protein_interface_design::movers::PlaceStubMover::provide_xml_schema(), protocols::protein_interface_design::movers::SaveAndRetrieveSidechains::provide_xml_schema(), protocols::rbsegment_relax::MakeStarTopologyMover::provide_xml_schema(), and protocols::splice::Splice::provide_xml_schema().
core::Size core::pose::canonical_atom_count | ( | core::pose::Pose const & | pose | ) |
count the number of canonical amino acid atoms in the pose
References core::pose::Pose::begin(), and core::pose::Pose::end().
core::Size core::pose::canonical_residue_count | ( | core::pose::Pose const & | pose | ) |
count the number of canonical residues in the pose
References core::pose::Pose::begin(), and core::pose::Pose::end().
numeric::xyzVector< core::Real > core::pose::center_of_mass | ( | core::pose::Pose const & | pose, |
utility::vector1< bool > const & | residues | ||
) |
Get the center of the indicated residues.
WARNING: Despite the name, this function only calculates with a single coordinate per residue (the Calpha/neighbor atom)
References core::conformation::Residue::atom(), protocols::splice::coords(), core::conformation::Residue::is_protein(), core::conformation::Residue::nbr_atom_xyz(), core::pose::Pose::residue(), core::pose::Pose::size(), and core::conformation::Atom::xyz().
Referenced by protocols::legacy_sewing::LegacyRepeatAssemblyMover::add_repeats(), protocols::legacy_sewing::Assembly::align_model(), core::conformation::UltraLightResidue::align_to_residue(), protocols::pose_sewing::movers::OmnibusDisulfideAnalysisLabelerMover::apply(), protocols::symmetry::DetectSymmetry::apply(), core::scoring::nmr::pre::PREMultiSet::calc_dr6_dS2_dXYZ(), core::scoring::nmr::pre::PREMultiSet::calc_r6_S2(), protocols::features::SmotifFeatures::calculate_angles(), core::energy_methods::RG_Energy_Fast::calculate_rg_score(), center_of_mass(), protocols::environment::com_calc(), protocols::nmr::pcs::PCSLigandTransformMover::define_ligand_frame_origin(), core::energy_methods::MPSpanAngleEnergy::find_helix_vector(), protocols::simple_filters::HelixHelixAngleFilter::find_helix_vector(), protocols::sewing::movers::LigandBindingAssemblyMover::get_min_distance(), protocols::motif_grafting::movers::MotifGraftMover::get_next_nonredundant_motifmatch(), protocols::match::NumNeighborsMPM::modified_match_positions(), radius_of_gyration(), residue_center_of_mass(), protocols::toolbox::pose_manipulation::rigid_body_move(), core::conformation::UltraLightResidue::slide(), core::conformation::UltraLightResidue::transform(), and core::conformation::UltraLightResidue::UltraLightResidue().
numeric::xyzVector< core::Real > core::pose::center_of_mass | ( | pose::Pose const & | pose, |
int const | start, | ||
int const | stop | ||
) |
calculates the center of mass of a pose
Get the center of the indicated residues.
the start and stop positions (or residues) within the pose are used to find the starting and finishing locations
WARNING: Despite the name, this function only calculates with a single coordinate per residue (the Calpha/neighbor atom)
References center_of_mass(), generate_vector_from_bounds(), protocols::loops::start, and protocols::loops::stop.
Referenced by protocols::drug_design::align_residues(), core::conformation::all_atom_center(), all_atom_center(), and protocols::sic_dock::get_rg().
utility::vector1< core::Size > core::pose::chain_end_res | ( | Pose const & | pose | ) |
compute last residue numbers of all chains
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
References core::conformation::Conformation::chain_endings(), core::pose::Pose::conformation(), and core::pose::Pose::size().
core::Size core::pose::chain_end_res | ( | Pose const & | pose, |
core::Size const | chain | ||
) |
compute last residue number of a chain
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
References core::conformation::Conformation::chain_end(), core::pose::Pose::conformation(), has_chain(), and TR().
Referenced by protocols::docking::membrane::MPFindInterfaceMover::apply(), protocols::membrane::AddMPLigandMover::apply(), protocols::membrane::create_membrane_docking_foldtree_from_partners(), protocols::membrane::create_membrane_multi_partner_foldtree_anchor_tmcom(), protocols::pose_creation::MergePDBMover::determine_overlap(), protocols::pose_creation::MergePDBMover::generate_overlaps(), protocols::membrane::rsd_closest_to_chain_tm_com(), and protocols::glycopeptide_docking::GlycopeptideDockingFlags::set_substrate_chain().
bool core::pose::character_is_USA_letter | ( | char | c | ) |
Referenced by parse_PDBnum_icode().
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.
References core::pose::datacache::CacheableDataType::ARBITRARY_FLOAT_DATA, core::pose::datacache::CacheableDataType::ARBITRARY_STRING_DATA, and core::pose::Pose::data().
Referenced by protocols::simple_moves::VirtualRootMover::apply().
void core::pose::clearPoseExtraScores | ( | core::pose::Pose & | pose | ) |
Clear ALL PoseExtraScores.
References core::pose::datacache::CacheableDataType::ARBITRARY_FLOAT_DATA, core::pose::datacache::CacheableDataType::ARBITRARY_STRING_DATA, core::pose::Pose::data(), core::pose::datacache::CacheableDataType::SCORE_LINE_STRINGS, and core::pose::datacache::CacheableDataType::STRING_MAP.
Referenced by protocols::stepwise::monte_carlo::StepWiseMonteCarlo::do_main_loop(), and protocols::jobdist::not_universal_main().
bool core::pose::compare_atom_coordinates | ( | core::pose::Pose const & | lhs, |
core::pose::Pose const & | rhs, | ||
core::Size const | n_dec_places | ||
) |
this function compares pose atom coordinates for equality; it is not the == operator because it does not compare all pose data.
this function compares the 3-d coordinates of two poses. Along the way it is forced to check for certain other (in)equalities to prevent vector overrruns, etc. These include: pose length, ResidueType, and # atoms in residue. Inequalities other than 3-d coordinates result in a warning message (you shouldn't have been comparing those poses!) This is NOT a complete equality operator for a pose, but I think it does a good job with the coordinates. Note that it performs floating-point coordinate comparisons by floor(X*10^n_dec_places) - this may cause failures if your pose is a billion angstroms from 0,0,0. This comparison is preferred to an epsilon comparison std::abs( a.x - b.x ) < epsilon because it can run into situations where a == b and b == c, but a != c (thanks to APL for pointing this out). The last argument, n_dec_places, is the number of decimal places of precision when comparing.
[in] | lhs | one pose to compare |
[in] | rhs | one pose to compare |
[in] | n_dec_places | number of decimal places to compare for the coordinates (remember == doesn't work for float); defaults to 3 which is PDB accuracy |
References core::conformation::Residue::atoms(), core::chemical::ResidueTypeBase::name(), core::pose::Pose::residue(), core::pose::Pose::residue_type(), core::pose::Pose::size(), TR(), and protocols::kinmatch::xyz().
this function compares poses for equality up to the information stored in the binary protein silent struct format.
References core::io::silent::BinarySilentStruct::print_conformation().
utility::vector1< bool > core::pose::compute_unique_chains | ( | Pose & | pose | ) |
Compute uniq chains in a complex @detail Returns a vector of pose length with true/false of uniq chain.
Compute uniq chains in a complex, based on sequence identity.
Returns a vector of pose length with true/false of uniq chain true is unique, false is not
References core::pose::Pose::chain(), core::pose::Pose::chain_sequence(), get_chains(), core::pose::Pose::size(), and TR().
std::map< core::Size, char > core::pose::conf2pdb_chain | ( | core::pose::Pose const & | pose | ) |
get Conformation chain number -> PDBInfo chain mapping
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
References core::pose::Pose::chain(), conf2pdb_chain_default_map(), core::pose::Pose::conformation(), core::pose::PDBInfo::empty_record(), core::conformation::Conformation::num_chains(), core::pose::Pose::pdb_info(), core::pose::Pose::size(), and TR().
Referenced by core::pose::symmetry::make_symmetric_pose(), and renumber_pdbinfo_based_on_conf_chains().
void core::pose::conf2pdb_chain_default_map | ( | core::pose::Pose const & | pose, |
std::map< core::Size, char > & | chainmap | ||
) |
References core::pose::Pose::conformation().
Referenced by conf2pdb_chain().
id::AtomID_Map< id::AtomID > core::pose::convert_from_std_map | ( | std::map< id::AtomID, id::AtomID > const & | atom_map, |
core::pose::Pose const & | pose | ||
) |
References core::id::AtomID::BOGUS_ATOM_ID(), initialize_atomid_map(), and core::id::AtomID_Map< T >::set().
Referenced by core::scoring::superimpose_pose().
void core::pose::correctly_add_2prime_connection_variants | ( | pose::Pose & | pose, |
Size const | twoprime_res, | ||
Size const | next_res | ||
) |
References add_variant_type_to_pose_residue(), core::conformation::Residue::atom_index(), core::conformation::Residue::atom_name(), core::chemical::C2_BRANCH_POINT, core::pose::Pose::conformation(), core::conformation::Residue::connect_map_size(), core::conformation::Residue::connected_residue_at_resconn(), correctly_remove_variants_incompatible_with_upper_cutpoint_variant(), core::chemical::CUTPOINT_UPPER, core::conformation::Conformation::declare_chemical_bond(), core::conformation::Residue::has_variant_type(), core::chemical::ResidueTypeBase::is_RNA(), core::conformation::Residue::lower_connect_atom(), core::conformation::Residue::name(), core::pose::rna::position_cutpoint_phosphate_torsions(), remove_variant_type_from_pose_residue(), core::pose::Pose::residue(), core::conformation::Conformation::residue(), core::conformation::Residue::residue_connect_atom_index(), core::conformation::Residue::residue_connection_conn_id(), core::pose::Pose::residue_type(), core::conformation::Conformation::sever_chemical_bond(), TR(), core::conformation::Residue::upper_connect_atom(), and core::chemical::VIRTUAL_RIBOSE.
Referenced by fix_up_residue_type_variants(), and protocols::rna::denovo::RNA_DeNovoPoseInitializer::setup_chainbreak_variants().
void core::pose::correctly_add_cutpoint_variants | ( | core::pose::Pose & | pose | ) |
Add cutpoint variants to all residues annotated as cutpoints in the FoldTree in the Pose.
References core::pose::Pose::fold_tree(), core::kinematics::FoldTree::is_cutpoint(), and core::pose::Pose::size().
Referenced by core::import_pose::add_cutpoint_closed(), protocols::protein_interface_design::movers::SetAtomTree::add_cutpoint_variants(), protocols::cyclic_peptide_predict::SimpleCycpepPredictApplication::add_cutpoint_variants_at_termini(), protocols::medal::MedalMover::apply(), protocols::simple_moves::ChainSplitMover::apply(), protocols::stepwise::legacy::modeler::rna::StepWiseRNA_PoseSetup::apply_cutpoint_variants(), protocols::stepwise::legacy::modeler::protein::StepWiseProteinPoseSetup::apply_cutpoint_variants(), fix_up_residue_type_variants(), fix_up_residue_type_variants_at_strand_beginning(), fix_up_residue_type_variants_at_strand_end(), core::util::ChainbreakUtil::has_chainbreak(), protocols::fold_from_loops::utils::Nub::join_pieces(), protocols::ncbb::ResidueReplacementRebuildMover::make_new_pose(), protocols::fold_from_loops::NubInitioMover::post_process(), protocols::stepwise::monte_carlo::mover::TransientCutpointHandler::put_in_cutpoints(), protocols::stepwise::modeler::rna::setup_chain_break_variants(), protocols::rna::denovo::RNA_DeNovoPoseInitializer::setup_chainbreak_variants(), and protocols::star::StarAbinitio::setup_kinematics().
void core::pose::correctly_add_cutpoint_variants | ( | core::pose::Pose & | pose, |
Size const | cutpoint_res, | ||
bool const | check_fold_tree, | ||
Size const | next_res_in | ||
) |
Add CUTPOINT_LOWER and CUTPOINT_UPPER types to two residues, remove incompatible types, and declare a chemical bond between them.
[in,out] | pose | The pose to modify. |
[in] | cutpoint_res | The index of the CUTPOINT_LOWER residue. |
[in] | check_fold_tree | If true, a check is performed to confirm that the residues in question represent a cutpoint in the foldtree in the pose. |
[in] | next_res_in | The index of the CUTPOINT_UPPER residue. If not provided, or if set to 0, this defaults to the cutpoint_res + 1 residue. Must be specified for cyclic geometry. |
[in] | pose | The pose to modify. |
[in] | cutpoint_res | The index of the CUTPOINT_LOWER residue. |
[in] | check_fold_tree | If true, a check is performed to confirm that the residues in question represent a cutpoint in the foldtree in the pose. |
[in] | next_res_in | The index of the CUTPOINT_UPPER residue. If not provided, or if set to 0, this defaults to the cutpoint_res + 1 residue. Must be specified for cyclic geometry. |
References add_variant_type_to_pose_residue(), correctly_remove_variants_incompatible_with_lower_cutpoint_variant(), correctly_remove_variants_incompatible_with_upper_cutpoint_variant(), core::chemical::CUTPOINT_LOWER, core::chemical::CUTPOINT_UPPER, declare_cutpoint_chemical_bond(), core::pose::Pose::fold_tree(), core::kinematics::FoldTree::is_cutpoint(), core::chemical::ResidueTypeBase::is_RNA(), core::conformation::Residue::is_RNA(), core::pose::rna::position_cutpoint_phosphate_torsions(), core::pose::Pose::residue(), core::pose::Pose::residue_type(), and update_cutpoint_virtual_atoms_if_connected().
void core::pose::correctly_remove_variants_incompatible_with_lower_cutpoint_variant | ( | core::pose::Pose & | pose, |
Size const | res_index | ||
) |
Remove variant types incompatible with CUTPOINT_LOWER from a position in a pose.
[in,out] | pose | The pose on which to operate. |
[in] | res_index | The index of the residue on which to operate. |
References core::chemical::C_METHYLAMIDATION, remove_variant_type_from_pose_residue(), core::chemical::THREE_PRIME_PHOSPHATE, and core::chemical::UPPER_TERMINUS_VARIANT.
Referenced by protocols::cyclic_peptide_predict::SimpleCycpepPredictApplication::add_cutpoint_variants_at_termini(), correctly_add_cutpoint_variants(), fix_up_residue_type_variants_at_strand_beginning(), and fix_up_residue_type_variants_at_strand_end().
void core::pose::correctly_remove_variants_incompatible_with_upper_cutpoint_variant | ( | core::pose::Pose & | pose, |
Size const | res_index | ||
) |
Remove variant types incompatible with CUTPOINT_UPPER from a position in a pose.
[in,out] | pose | The pose on which to operate. |
[in] | res_index | The index of the residue on which to operate. |
References core::chemical::FIVE_PRIME_PHOSPHATE, core::chemical::LOWER_TERMINUS_VARIANT, core::chemical::N_ACETYLATION, remove_variant_type_from_pose_residue(), and core::chemical::VIRTUAL_PHOSPHATE.
Referenced by protocols::cyclic_peptide_predict::SimpleCycpepPredictApplication::add_cutpoint_variants_at_termini(), correctly_add_2prime_connection_variants(), and correctly_add_cutpoint_variants().
bool core::pose::create_chemical_edge | ( | core::uint | start_resnum, |
core::uint | end_resnum, | ||
core::pose::Pose const & | pose, | ||
core::kinematics::FoldTree & | ft | ||
) |
Create a chemical edge between two Residues.
<start_resnum> | the Residue index of the start of the chemical edge |
<end_resnum> | the Residue index of the end of the chemical edge |
<ft> | the FoldTree being modified |
References core::kinematics::FoldTree::add_edge(), core::conformation::Residue::atom_name(), core::chemical::ResidueConnection::atomno(), core::conformation::Residue::connected_residue_at_resconn(), core::conformation::Residue::connections_to_residue(), core::conformation::Residue::is_bonded(), core::pose::Pose::residue(), core::conformation::Residue::residue_connection(), core::conformation::Residue::residue_connection_conn_id(), and TR().
Referenced by set_reasonable_fold_tree().
void core::pose::create_subpose | ( | Pose const & | src, |
utility::vector1< Size > const & | positions, | ||
kinematics::FoldTree const & | f, | ||
Pose & | pose | ||
) |
Create a subpose of the src pose. PDBInfo is set as NULL.
References core::pose::Pose::append_residue_by_bond(), core::pose::Pose::append_residue_by_jump(), core::conformation::Residue::chain(), core::pose::Pose::clear(), core::pose::Pose::conformation(), core::pose::Pose::fold_tree(), core::conformation::Conformation::insert_chain_ending(), core::conformation::Residue::is_lower_terminus(), core::conformation::Residue::is_polymer_bonded(), core::conformation::Residue::is_upper_terminus(), core::kinematics::FoldTree::nres(), core::pose::Pose::residue(), and core::pose::Pose::size().
Referenced by protocols::simple_moves::RepeatPropagationMover::add_cap_seq_and_structure(), protocols::hybridization::FoldTreeHybridize::add_strand_pairing(), protocols::frag_picker::nonlocal::NonlocalFrags::apply(), protocols::simple_moves::SwitchChainOrderMover::apply(), protocols::ligand_docking::ga_ligand_dock::make_ligand_only_pose(), partition_pose_by_jump(), and protocols::grafting::return_region().
void core::pose::declare_cutpoint_chemical_bond | ( | core::pose::Pose & | pose, |
Size const | cutpoint_res, | ||
Size const | next_res_in | ||
) |
Create a chemical bond from lower to upper residue across CUTPOINT_LOWER/CUTPOINT_UPPER.
This will prevent steric repulsion.
[in] | pose | The pose to modify. |
[in] | cutpoint_res | The index of the CUTPOINT_LOWER residue. |
[in] | next_res_in | The index of the CUTPOINT_UPPER residue. If not provided, or if set to 0, this defaults to the cutpoint_res + 1 residue. Must be specified for cyclic geometry. |
References core::conformation::Residue::atom_name(), core::pose::Pose::conformation(), core::conformation::Residue::connect_map_size(), core::conformation::Residue::connected_residue_at_resconn(), core::conformation::Conformation::declare_chemical_bond(), core::chemical::FIVEPRIME_CAP, core::conformation::Residue::has(), core::conformation::Residue::has_lower_connect(), core::conformation::Residue::has_upper_connect(), core::conformation::Residue::has_variant_type(), core::conformation::Residue::lower_connect_atom(), core::pose::Pose::residue(), core::conformation::Conformation::residue(), core::conformation::Residue::residue_connect_atom_index(), core::conformation::Residue::residue_connection_conn_id(), core::conformation::Conformation::sever_chemical_bond(), and core::conformation::Residue::upper_connect_atom().
Referenced by correctly_add_cutpoint_variants(), protocols::stepwise::modeler::declare_chemical_bonds_at_cutpoints(), and protocols::rna::movers::RNA_LoopCloser::rna_ccd_close().
Note that this does a clone()
, which isn't actually a full deep copy (which would be detached_copy()
) This may or may not have implications for multithreaded use.
References core::pose::Pose::clone().
bool core::pose::definite_terminal_root | ( | pose::Pose const & | pose, |
Size const | i | ||
) |
References core::pose::full_model_info::const_full_model_info(), core::pose::full_model_info::FullModelInfo::cutpoint_open_in_full_model(), definite_terminal_root(), core::pose::full_model_info::FullModelInfo::res_list(), core::pose::full_model_info::FullModelInfo::size(), and core::pose::full_model_info::FullModelInfo::working_res().
bool core::pose::definite_terminal_root | ( | utility::vector1< Size > const & | cutpoint_open_in_full_model, |
utility::vector1< Size > const & | working_res, | ||
utility::vector1< Size > const & | res_list, | ||
Size const | nres, | ||
Size const | i | ||
) |
References effective_lower_terminus_based_on_working_res(), and effective_upper_terminus_based_on_working_res().
Referenced by definite_terminal_root(), and get_definite_terminal_root().
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.
References core::pose::Pose::data(), and core::pose::datacache::CacheableDataType::STRING_MAP.
Referenced by protocols::hbnet::HBNet::apply(), and protocols::loophash::MPI_LoopHashRefine_Master::create_loophash_WUs().
utility::vector1< std::pair< Size, Size > > core::pose::disulfide_pairs_from_sfr | ( | Pose const & | pose, |
io::StructFileRep const & | sfr | ||
) |
extract disulfide pairing from SFR
References core::pose::Pose::pdb_info(), core::io::StructFileRep::ssbond_map(), and TR().
Referenced by initialize_disulfide_bonds().
void core::pose::dump_comment_pdb | ( | std::string const & | file_name, |
core::pose::Pose const & | pose | ||
) |
dumps pose+ comments to pdb file
References core::pose::Pose::dump_pdb(), get_all_comments(), and core::conformation::membrane::out.
bool core::pose::effective_lower_terminus_based_on_working_res | ( | Size const | i, |
utility::vector1< Size > const & | working_res, | ||
utility::vector1< Size > const & | res_list, | ||
utility::vector1< Size > const & | cutpoint_open_in_full_model | ||
) |
Referenced by definite_terminal_root().
bool core::pose::effective_upper_terminus_based_on_working_res | ( | Size const | i, |
utility::vector1< Size > const & | working_res, | ||
utility::vector1< Size > const & | res_list, | ||
utility::vector1< Size > const & | cutpoint_open_in_full_model, | ||
Size const | nres_full | ||
) |
Referenced by definite_terminal_root().
core::Real core::pose::energy_from_pose | ( | core::pose::Pose const & | pose, |
core::scoring::ScoreType const & | sc_type | ||
) |
References core::pose::Pose::energies(), and core::scoring::Energies::total_energies().
core::Real core::pose::energy_from_pose | ( | core::pose::Pose const & | pose, |
std::string const & | sc_type | ||
) |
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.
References core::pose::Pose::data(), and core::pose::datacache::CacheableDataType::JOBDIST_OUTPUT_TAG.
Referenced by protocols::cluster::GatherPosesMover::apply(), protocols::cluster::AssignToClustersMover::apply(), protocols::cluster::ClusterBase::print_cluster_assignment(), and protocols::cluster::ClusterBase::print_summary().
void core::pose::fix_pdbinfo_damaged_by_insertion | ( | core::pose::Pose & | pose | ) |
Repair pdbinfo of inserted residues that may have blank chain and zero seqpos. Assumes insertions only occur after a residue.
That assumption is a bad simplifying assumption, but it's all I need for now.
References core::pose::PDBInfo::chain(), core::pose::PDBInfo::icode(), core::pose::PDBInfo::number(), core::pose::Pose::pdb_info(), and core::pose::Pose::size().
void core::pose::fix_up_residue_type_variants | ( | pose::Pose & | pose | ) |
References core::pose::Pose::conformation(), core::pose::full_model_info::const_full_model_info(), correctly_add_2prime_connection_variants(), correctly_add_cutpoint_variants(), core::chemical::CUTPOINT_LOWER, core::chemical::CUTPOINT_UPPER, core::chemical::DISULFIDE, core::pose::full_model_info::FullModelInfo::disulfide_pairs(), core::chemical::FIVE_PRIME_PHOSPHATE, fix_up_residue_type_variants_at_floating_base(), fix_up_residue_type_variants_at_strand_beginning(), fix_up_residue_type_variants_at_strand_end(), core::pose::Pose::fold_tree(), core::conformation::form_disulfide(), core::chemical::ResidueTypeBase::has_variant_type(), core::kinematics::FoldTree::is_cutpoint(), core::chemical::ResidueType::is_NA(), core::chemical::ResidueTypeBase::is_polymer(), core::chemical::ResidueType::is_virtual_residue(), core::chemical::LOWER_TERMINUS_VARIANT, protocols::mean_field::max(), protocols::mean_field::min(), core::pose::Pose::pdb_info(), remove_variant_type_from_pose_residue(), core::pose::Pose::residue_type(), core::pose::Pose::size(), core::chemical::THREE_PRIME_PHOSPHATE, TR(), update_block_stack_variants(), core::chemical::UPPER_TERMINUS_VARIANT, core::chemical::VIRTUAL_PHOSPHATE, and core::chemical::VIRTUAL_RIBOSE.
Referenced by protocols::stepwise::monte_carlo::submotif::SubMotifLibrary::create_new_submotif(), protocols::stepwise::modeler::fix_up_jump_atoms_and_residue_type_variants(), protocols::stepwise::modeler::StepWiseModeler::initialize_working_parameters_and_root(), protocols::recces::pose_setup_from_file(), and protocols::stepwise::monte_carlo::mover::StepWiseMasterMover::preminimize_pose().
void core::pose::fix_up_residue_type_variants_at_floating_base | ( | pose::Pose & | pose, |
Size const | res | ||
) |
References add_variant_type_to_pose_residue(), core::pose::full_model_info::const_full_model_info(), core::pose::full_model_info::FullModelInfo::cutpoint_open_in_full_model(), core::chemical::FIVE_PRIME_PHOSPHATE, core::pose::full_model_info::get_res_list_from_full_model_info(), core::chemical::ResidueTypeBase::has_variant_type(), core::chemical::ResidueTypeBase::is_RNA(), core::chemical::LOWER_TERMINUS_VARIANT, remove_variant_type_from_pose_residue(), core::pose::Pose::residue_type(), core::pose::full_model_info::FullModelInfo::rna_sample_sugar_res(), core::pose::full_model_info::FullModelInfo::sample_res(), core::pose::Pose::size(), core::chemical::THREE_PRIME_PHOSPHATE, core::chemical::UPPER_TERMINUS_VARIANT, and core::chemical::VIRTUAL_RIBOSE.
Referenced by fix_up_residue_type_variants().
void core::pose::fix_up_residue_type_variants_at_strand_beginning | ( | pose::Pose & | pose, |
Size const | res | ||
) |
References add_variant_type_to_pose_residue(), core::conformation::Residue::atom_name(), core::pose::Pose::conformation(), core::conformation::Residue::connect_map_size(), core::conformation::Residue::connected_residue_at_resconn(), core::pose::full_model_info::const_full_model_info(), correctly_add_cutpoint_variants(), correctly_remove_variants_incompatible_with_lower_cutpoint_variant(), core::chemical::CUTPOINT_LOWER, core::pose::full_model_info::FullModelInfo::cutpoint_open_in_full_model(), core::chemical::CUTPOINT_UPPER, core::conformation::Conformation::declare_chemical_bond(), core::chemical::FIVE_PRIME_PACKABLE_TRIPHOSPHATE, core::chemical::FIVE_PRIME_PHOSPHATE, core::chemical::FIVEPRIME_CAP, core::pose::full_model_info::get_chains_full(), core::pose::full_model_info::get_res_list_from_full_model_info(), core::conformation::Residue::has_lower_connect(), core::conformation::Residue::has_upper_connect(), core::chemical::ResidueTypeBase::has_variant_type(), core::chemical::ResidueType::is_NA(), core::chemical::ResidueTypeBase::is_peptoid(), core::chemical::ResidueTypeBase::is_protein(), core::chemical::ResidueTypeBase::is_RNA(), core::chemical::ResidueType::is_TNA(), core::conformation::Residue::lower_connect_atom(), core::chemical::LOWER_TERMINUS_VARIANT, core::chemical::LOWERTERM_TRUNC_VARIANT, core::chemical::N_ACETYLATION, core::chemical::N_FORMYLATION, core::chemical::ResidueTypeBase::name(), remove_variant_type_from_pose_residue(), core::pose::Pose::residue(), core::conformation::Conformation::residue(), core::conformation::Residue::residue_connect_atom_index(), core::conformation::Residue::residue_connection_conn_id(), core::pose::Pose::residue_type(), core::conformation::Residue::seqpos(), core::conformation::Conformation::sever_chemical_bond(), TR(), core::conformation::Residue::type(), core::conformation::Residue::upper_connect_atom(), and core::chemical::VIRTUAL_PHOSPHATE.
Referenced by fix_up_residue_type_variants().
void core::pose::fix_up_residue_type_variants_at_strand_end | ( | pose::Pose & | pose, |
Size const | res | ||
) |
References add_variant_type_to_pose_residue(), core::conformation::Residue::atom_name(), core::chemical::C_METHYLAMIDATION, core::pose::Pose::conformation(), core::conformation::Residue::connect_map_size(), core::conformation::Residue::connected_residue_at_resconn(), core::pose::full_model_info::const_full_model_info(), correctly_add_cutpoint_variants(), correctly_remove_variants_incompatible_with_lower_cutpoint_variant(), core::chemical::CUTPOINT_LOWER, core::pose::full_model_info::FullModelInfo::cutpoint_open_in_full_model(), core::chemical::CUTPOINT_UPPER, core::conformation::Conformation::declare_chemical_bond(), core::pose::full_model_info::get_chains_full(), core::pose::full_model_info::get_res_list_from_full_model_info(), core::conformation::Residue::has_lower_connect(), core::conformation::Residue::has_upper_connect(), core::chemical::ResidueTypeBase::has_variant_type(), core::chemical::ResidueType::is_NA(), core::chemical::ResidueTypeBase::is_peptoid(), core::chemical::ResidueTypeBase::is_polymer(), core::chemical::ResidueTypeBase::is_protein(), core::chemical::ResidueTypeBase::is_RNA(), core::chemical::ResidueType::is_TNA(), core::conformation::Residue::lower_connect_atom(), remove_variant_type_from_pose_residue(), core::pose::Pose::residue(), core::conformation::Conformation::residue(), core::conformation::Residue::residue_connect_atom_index(), core::conformation::Residue::residue_connection_conn_id(), core::pose::Pose::residue_type(), core::conformation::Conformation::sever_chemical_bond(), core::pose::full_model_info::FullModelInfo::size(), core::pose::Pose::size(), TR(), core::conformation::Residue::upper_connect_atom(), core::chemical::UPPER_TERMINUS_VARIANT, and core::chemical::UPPERTERM_TRUNC_VARIANT.
Referenced by fix_up_residue_type_variants().
utility::vector1< bool > core::pose::generate_vector_from_bounds | ( | pose::Pose const & | pose, |
int const | start, | ||
int const | stop | ||
) |
References core::pose::Pose::size(), protocols::loops::start, and protocols::loops::stop.
Referenced by center_of_mass(), and return_nearest_residue().
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.
References core::pose::Pose::data(), and core::pose::datacache::CacheableDataType::STRING_MAP.
Referenced by protocols::hbnet::HBNet::apply(), protocols::simple_moves::SwitchChainOrderMover::apply(), protocols::evolution::NucleotideMutation::apply(), protocols::monte_carlo::GenericMonteCarloMover::boltzmann(), protocols::evolution::EvolutionaryDynamicsMover::boltzmann(), protocols::simple_filters::PoseComment::compute(), protocols::simple_filters::SequenceDistance::compute(), dump_comment_pdb(), core::io::silent::SilentStruct::energies_from_pose(), protocols::splice::Splice::generate_sequence_profile(), protocols::splice::SpliceManager::generate_sequence_profile(), get_comment(), core::io::pose_to_sfr::PoseToStructFileRepConverter::grab_pdb_comments(), protocols::splice::Splice::load_pdb_segments_from_pose_comments(), protocols::splice::SpliceOut::load_pdb_segments_from_pose_comments(), protocols::splice::load_pdb_segments_from_pose_comments(), protocols::cluster::ClusterBase::print_cluster_PDBs(), protocols::features::PoseCommentsFeatures::report_features(), protocols::splice::Splice::set_fold_tree(), and protocols::simple_moves::AddChainMover::swap_chain().
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.
References core::pose::Pose::data(), and core::pose::datacache::CacheableDataType::SCORE_LINE_STRINGS.
Referenced by protocols::cluster::GatherPosesMover::apply(), core::io::silent::SilentStruct::energies_from_pose(), get_score_line_string(), and protocols::cluster::ClusterBase::print_cluster_PDBs().
core::Angle core::pose::get_bb_torsion | ( | uint | torsion_id, |
Pose const & | pose, | ||
core::Size | sequence_position | ||
) |
Get a particular backbone torsion, phi, psi, omega (see core::types) Works with carbohydrates. Think about moving this to pose itself.
References core::pose::carbohydrates::get_glycosidic_torsion(), core::conformation::Residue::is_carbohydrate(), core::pose::Pose::omega(), core::id::omega2_dihedral, core::id::omega3_dihedral, core::id::omega_dihedral, core::pose::Pose::phi(), core::id::phi_dihedral, core::pose::Pose::psi(), core::id::psi_dihedral, and core::pose::Pose::residue().
Referenced by protocols::simple_moves::bb_sampler::SmallBBSampler::get_torsion(), protocols::simple_moves::bb_sampler::SmallBBSampler::set_torsion_to_pose(), and protocols::simple_moves::bb_sampler::SugarBBSampler::set_torsion_to_pose().
numeric::xyzVector< core::Real > core::pose::get_center_of_mass | ( | core::pose::Pose const & | pose | ) |
@detail Get center of mass of a pose.
Get center of mass of a pose.
This computes an equally-weighted, all-(non-virtual)-heavy atom center.
References core::conformation::Residue::aa(), core::chemical::aa_vrt, core::conformation::Residue::atom(), core::conformation::Residue::nheavyatoms(), core::pose::Pose::residue(), core::pose::Pose::size(), and core::conformation::Atom::xyz().
Referenced by addVirtualResAsRoot(), protocols::rna::denovo::RNA_FragmentMonteCarlo::apply(), protocols::ligand_docking::ga_ligand_dock::GALigandDock::apply(), protocols::membrane::chain_com(), protocols::membrane::chain_tm_com(), protocols::stepwise::modeler::rna::checker::RNA_VDW_BinChecker::FARFAR_setup_using_user_input_VDW_pose(), protocols::electron_density::DockPDBIntoDensityMover::get_radius(), protocols::electron_density::DockPDBIntoDensityMover::minimize_poseOP_into_density(), protocols::cyclic_peptide_predict::SimpleCycpepPredictApplication::run(), and protocols::electron_density::DockPDBIntoDensityMover::set_nRsteps_from_pose().
char core::pose::get_chain_from_chain_id | ( | core::Size const & | chain_id, |
core::pose::Pose const & | pose | ||
) |
Get the chain letter for the first residue in a given chain number.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
Keep in mind that not all residues with the given chain number will necessarily have the returned chain letter
References core::conformation::Conformation::chain_begin(), core::pose::Pose::conformation(), core::pose::Pose::num_chains(), core::pose::Pose::pdb_info(), and TR().
Referenced by protocols::antibody::AntibodyNumberingConverterMover::apply(), core::simple_metrics::metrics::SelectedResiduesPyMOLMetric::calculate(), protocols::ligand_docking::Rotate_info::chain_letter(), protocols::ligand_docking::Translate_info::chain_letter(), protocols::pose_length_moves::NearNativeLoopCloser::close_loop(), protocols::features::InterfaceFeatures::get_all_pose_chains(), protocols::antibody::AntibodyInfo::get_CDRNameEnum_of_residue(), protocols::fold_from_loops::utils::Nub::get_nub_pieces(), protocols::antibody::AntibodyInfo::get_region_of_residue(), protocols::antibody::AntibodyInfo::identify_antibody(), protocols::fold_from_loops::movers::SplitAndMixPoseMover::merge_poses(), protocols::membrane::rsd_closest_to_chain_tm_com(), protocols::antibody::select_epitope_residues(), protocols::ligand_docking::MoveMapBuilder::set_all_chi(), and protocols::analysis::InterfaceAnalyzerMover::setup_for_dock_chains().
char core::pose::get_chain_from_jump_id | ( | core::Size const & | jump_id, |
core::pose::Pose const & | pose | ||
) |
Get the chain letter of the chain built by the given jump.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
Keep in mind that not every residue with the returned chain ID will be downstream of this jump.
References core::kinematics::FoldTree::downstream_jump_residue(), core::pose::Pose::fold_tree(), core::pose::Pose::num_jump(), core::pose::Pose::pdb_info(), and TR().
Referenced by protocols::ligand_docking::get_ligand_grid_scores().
core::Size core::pose::get_chain_id_from_chain | ( | char const & | chain, |
core::pose::Pose const & | pose | ||
) |
Attempt to get the chain number which correspond to the given chain letter.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
If the chain letter corresponds to more than one chain letter, raise an error
References get_chain_ids_from_chain(), and core::id::to_string().
core::Size core::pose::get_chain_id_from_chain | ( | std::string const & | chain, |
core::pose::Pose const & | pose | ||
) |
Attempt to get the chain number which correspond to the given chain letter.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
If the chain letter corresponds to more than one chain letter, raise an error
Referenced by protocols::docking::membrane::MPFindInterfaceMover::apply(), protocols::ligand_docking::AddHydrogens::apply(), protocols::ligand_docking::GrowLigand::apply(), protocols::ligand_docking::HighResEnsemble::apply(), protocols::ligand_docking::MinimizeLigand::apply(), protocols::ligand_docking::ProtLigEnsemble::apply(), protocols::ligand_docking::RandomConformers::apply(), protocols::ligand_docking::TetherLigand::apply(), protocols::ligand_docking::Transform::apply(), protocols::ligand_docking::WriteLigandMolFile::apply(), protocols::pose_creation::MergePDBMover::apply(), protocols::simple_moves::DeleteChainsMover::apply(), protocols::simple_moves::ReportXYZ::apply(), protocols::ligand_docking::AtomCountFilter::apply(), protocols::ligand_docking::CompleteConnectionsFilter::apply(), protocols::ligand_docking::HBondAcceptorFilter::apply(), protocols::ligand_docking::HBondDonorFilter::apply(), protocols::ligand_docking::MolarMassFilter::apply(), protocols::ligand_docking::MolecularMassFilter::apply(), protocols::simple_moves::AddJobPairData::apply(), protocols::pose_length_moves::InsertResMover::apply(), protocols::pose_creation::MergePDBatOverlapMover::apply_helper(), protocols::ligand_docking::TransformEnsemble_info::chain_ids(), protocols::simple_moves::SwitchChainOrderMover::chain_order(), protocols::pose_length_moves::NearNativeLoopCloser::close_loop(), protocols::pose_length_moves::NearNativeLoopCloser::combine_chains(), protocols::membrane::create_membrane_docking_foldtree_from_partners(), protocols::membrane::create_membrane_multi_partner_foldtree_anchor_tmcom(), protocols::simple_filters::SecretionPredictionFilter::find_tm_regions(), protocols::pose_length_moves::ConnectChainsMover::generate_connected_chains(), protocols::pose_creation::MakeJunctionsMover::generate_start_pose(), protocols::antibody::AntibodyInfo::get_antibody_chain_ids(), protocols::antibody::AntibodyInfo::get_antigen_chain_ids(), protocols::peptide_deriver::PeptideDeriverFilter::get_chain_indices(), protocols::tcr::graft_framework(), protocols::antibody::AntibodyInfo::identify_antibody(), protocols::ligand_docking::ComputeLigandRDF::ligand_protein_rdf(), protocols::ligand_docking::move_ligand_neighbor_to_desired_position(), protocols::ligand_docking::ProtLigEnsemble::prepare_single_ligand_pose(), protocols::ligand_docking::ComputeLigandRDF::protein_protein_rdf(), protocols::qsar::scoring_grid::ShapeGrid::refresh(), protocols::qsar::scoring_grid::VdwGrid::refresh(), protocols::antibody::design::GeneralAntibodyModeler::repack_antibody_interface(), protocols::antibody::design::GeneralAntibodyModeler::repack_antigen_interface(), protocols::features::ScreeningFeatures::report_features(), protocols::ligand_docking::HeavyAtomFilter::report_sm(), protocols::interface::select_interface_residues(), protocols::antibody::snugdock::SnugDockProtocol::setup_ab_ag_foldtree(), protocols::qsar::scoring_grid::ChargeGrid::setup_charge_atoms(), and core::scoring::constraints::FabConstraint::setup_csts().
core::Size core::pose::get_chain_id_from_jump_id | ( | core::Size const & | jump_id, |
core::pose::Pose const & | pose | ||
) |
Get the chain ID of the residue directly built by the given jump.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
Keep in mind that not every residue with the returned chain ID will be downstream of this jump.
References core::pose::Pose::chain(), core::kinematics::FoldTree::downstream_jump_residue(), core::pose::Pose::fold_tree(), and core::pose::Pose::num_jump().
utility::vector1< core::Size > core::pose::get_chain_ids_from_chain | ( | char const & | chain, |
core::pose::Pose const & | pose | ||
) |
Get all chain numbers for the residues with the given chain letter.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
The returned chain numbers are in sorted order
References get_chain_ids_from_chains().
utility::vector1< core::Size > core::pose::get_chain_ids_from_chain | ( | std::string const & | chain, |
core::pose::Pose const & | pose | ||
) |
Get all chain numbers for the residues with the given chain letter.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
The returned chain numbers are in sorted order
Referenced by protocols::ligand_docking::CompoundTranslate::apply(), protocols::ligand_docking::Rotates::apply(), protocols::ligand_docking::SlideTogether::apply(), protocols::ligand_docking::Translate::apply(), protocols::ligand_docking::ChainExistsFilter::apply(), protocols::analysis::InterfaceAnalyzerMover::apply_const(), protocols::ligand_docking::Rotate_info::chain_id(), protocols::ligand_docking::Translate_info::chain_id(), protocols::ligand_docking::InterfaceBuilder::find_interface_residues(), get_chain_id_from_chain(), protocols::features::InterfaceDdGMover::get_movable_jumps(), protocols::simple_ddg::ddG::get_movable_jumps(), protocols::ligand_docking::move_ligand_to_desired_centroid(), protocols::analysis::InterfaceAnalyzerMover::reorder_foldtree_find_jump(), core::pose::ResidueIndexDescriptionChainEnd::resolve_index(), core::scoring::constraints::SiteConstraint::setup_csts(), protocols::analysis::InterfaceAnalyzerMover::setup_for_dock_chains(), protocols::ligand_docking::Rotate_info::tag_along_chain_ids(), and protocols::ligand_docking::Translate::uniform_translate_ligand().
utility::vector1< core::Size > core::pose::get_chain_ids_from_chains | ( | utility::vector1< char > const & | chains, |
core::pose::Pose const & | pose | ||
) |
Get all chain numbers for the residues with the given chain letters.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
The returned chain numbers are in sorted order
References core::pose::Pose::chain(), core::pose::Pose::pdb_info(), core::pose::Pose::size(), and TR().
utility::vector1< core::Size > core::pose::get_chain_ids_from_chains | ( | utility::vector1< std::string > const & | chains, |
core::pose::Pose const & | pose | ||
) |
Get all chain numbers for the residues with the given chain letters.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
The returned chain numbers are in sorted order
Referenced by get_chain_ids_from_chain().
core::conformation::ResidueCOPs core::pose::get_chain_residues | ( | core::pose::Pose const & | pose, |
core::Size | chain_id | ||
) |
Get all residues which correspond to the given chain number.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
References core::conformation::Conformation::chain_begin(), core::conformation::Conformation::chain_end(), core::pose::Pose::conformation(), core::sequence::end, core::pose::Pose::num_chains(), and core::pose::Pose::residue().
Referenced by protocols::ligand_docking::HighResEnsemble::apply(), protocols::geometry::centroid_by_chain(), protocols::ligand_docking::Rotate::create_random_rotation(), protocols::pose_length_moves::InsertResMover::extendRegion(), get_residues_from_chains(), and protocols::ligand_docking::move_ligand_neighbor_to_desired_position().
utility::vector1< core::Size > core::pose::get_chains | ( | core::pose::Pose const & | pose | ) |
Get all the chain numbers from conformation.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
This is a rather silly function, as it will just return a vector with entries from 1 to pose->num_chains() (as chains numbers are sequential starting from 1
References core::pose::Pose::num_chains().
Referenced by protocols::pose_length_moves::InsertResMover::apply(), protocols::pose_length_moves::NearNativeLoopCloser::close_loop(), protocols::pose_length_moves::NearNativeLoopCloser::combine_chains(), compute_unique_chains(), protocols::membrane::create_membrane_foldtree_anchor_com(), protocols::membrane::create_membrane_foldtree_anchor_pose_tmcom(), protocols::membrane::create_membrane_multi_partner_foldtree_anchor_tmcom(), protocols::pose_creation::MergePDBMover::generate_overlaps(), protocols::membrane::get_anchor_points_for_tmcom(), and protocols::membrane::setup_foldtree_pose_com().
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.
References get_all_comments(), and protocols::hybridization::val.
Referenced by core::sequence::alignment_from_pose(), protocols::protein_interface_design::movers::SetAtomTree::apply(), protocols::fold_from_loops::movers::LabelPoseFromResidueSelectorMover::apply_remarks(), protocols::simple_filters::PoseComment::compute(), protocols::loophash::extract_sample_weights(), core::io::pose_to_sfr::PoseToStructFileRepConverter::grab_pdb_parents(), protocols::jobdist::pose_matches_user_tag(), core::energy_methods::CustomAtomPairEnergy::setup_for_scoring(), and protocols::calc_taskop_filters::RelativePoseFilter::thread_seq().
void core::pose::get_constraints_from_link_records | ( | core::pose::Pose & | pose, |
io::StructFileRep const & | sfr | ||
) |
References core::pose::Pose::add_constraint(), core::conformation::Residue::atom_index(), core::chemical::ResidueTypeBase::is_peptoid(), core::io::StructFileRep::link_map(), core::chemical::ResidueTypeBase::name3(), core::pose::Pose::pdb_info(), core::pose::Pose::residue(), TR(), and core::conformation::Residue::type().
Referenced by core::io::pose_from_sfr::PoseFromSFRBuilder::refine_pose().
Size core::pose::get_definite_terminal_root | ( | pose::Pose const & | pose, |
utility::vector1< Size > const & | partition_res, | ||
bool const | disallow_cutpoint_closed_upper | ||
) |
References core::pose::full_model_info::const_full_model_info(), core::pose::full_model_info::FullModelInfo::cutpoint_open_in_full_model(), core::pose::full_model_info::FullModelInfo::fixed_domain_map(), get_definite_terminal_root(), core::pose::full_model_info::FullModelInfo::res_list(), and core::pose::full_model_info::FullModelInfo::working_res().
Size core::pose::get_definite_terminal_root | ( | pose::Pose const & | pose, |
utility::vector1< Size > const & | partition_res, | ||
utility::vector1< Size > const & | res_list, | ||
utility::vector1< Size > const & | fixed_domain_map, | ||
utility::vector1< Size > const & | cutpoint_open_in_full_model, | ||
utility::vector1< Size > const & | working_res, | ||
bool const | disallow_cutpoint_closed_upper | ||
) |
References core::chemical::CUTPOINT_UPPER, definite_terminal_root(), core::pose::Pose::fold_tree(), core::chemical::ResidueTypeBase::has_variant_type(), core::kinematics::FoldTree::possible_root(), and core::pose::Pose::residue_type().
Referenced by get_definite_terminal_root(), reroot(), and protocols::stepwise::modeler::revise_root_and_moving_res().
core::Size core::pose::get_hash_excluding_chain | ( | char const & | chain, |
core::pose::Pose const & | pose, | ||
std::string const & | extra_label = "" |
||
) |
Get a value representing the position of all the atoms for residues which don't have the given chain letter.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
References core::pose::Pose::conformation(), get_hash_from_pos(), core::conformation::Residue::natoms(), core::pose::Pose::pdb_info(), core::conformation::Conformation::residue(), core::pose::Pose::size(), TR(), and core::conformation::Conformation::xyz().
core::Size core::pose::get_hash_from_chain | ( | char const & | chain, |
core::pose::Pose const & | pose, | ||
std::string const & | extra_label = "" |
||
) |
Get a value representing the position of all the atoms for residues with the given chain letter.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
References core::pose::Pose::conformation(), get_hash_from_pos(), core::conformation::Residue::natoms(), core::pose::Pose::pdb_info(), core::conformation::Conformation::residue(), core::pose::Pose::size(), TR(), and core::conformation::Conformation::xyz().
core::Size core::pose::get_hash_from_pos | ( | PointPosition const & | pos | ) |
Utility function for get_hash_from_chain() - get hash for an isolated position.
Referenced by get_hash_excluding_chain(), and get_hash_from_chain().
core::Size core::pose::get_jump_id_from_chain | ( | char const & | chain, |
core::pose::Pose const & | pose | ||
) |
Get the jump number for the given chain letter.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
The jump here is the jumps which is directly upstream of a residue with a given chain letter, (i.e. a residue with the given chain letter is built directly from the jump) rather than logically upstream. If there's more than one jump which builds residues with the given chain letter, return the smallest numbered jump (even if it's not the jump which best partions the chain on the FoldTree). If no jump directly builds the chain, hard exit.
References get_jump_ids_from_chain(), and TR().
core::Size core::pose::get_jump_id_from_chain | ( | std::string const & | chain, |
core::pose::Pose const & | pose | ||
) |
Get the jump number for the given chain letter.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
The jump here is the jumps which is directly upstream of a residue with a given chain letter, (i.e. a residue with the given chain letter is built directly from the jump) rather than logically upstream. If there's more than one jump which builds residues with the given chain letter, return the smallest numbered jump (even if it's not the jump which best partions the chain on the FoldTree). If no jump directly builds the chain, hard exit.
Referenced by protocols::ligand_docking::ProtLigEnsemble::apply(), protocols::ligand_docking::move_ligand_neighbor_to_desired_position(), and protocols::ligand_docking::move_ligand_to_desired_centroid().
core::Size core::pose::get_jump_id_from_chain_id | ( | core::Size const & | chain_id, |
core::pose::Pose const & | pose | ||
) |
Attempt to get the jump number which correspond to the given chain number.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
The jump here is the jump which is directly upstream of a residue in the given chain, (i.e. a residue on the given chain number is built directly from the jump) rather than logically upstream. If there's more than one jump which builds the given chain, return the smallest numbered jump (even if it's not the jump which best partions the chain on the FoldTree). If no jump directly builds the chain (unlikely), hard exit.
References get_jump_ids_from_chain_ids(), has_chain(), core::id::to_string(), and TR().
Referenced by protocols::ligand_docking::SlideTogether::apply(), protocols::ligand_docking::Transform::apply(), protocols::simple_task_operations::RestrictToInterface::apply(), protocols::simple_ddg::DdgFilter::compute(), protocols::features::InterfaceDdGMover::get_movable_jumps(), protocols::simple_ddg::ddG::get_movable_jumps(), protocols::ligand_docking::Rotate_info::jump_id(), protocols::ligand_docking::Translate_info::jump_id(), protocols::ligand_docking::TransformEnsemble_info::jump_ids(), protocols::ligand_docking::move_ligand_to_desired_centroid(), protocols::analysis::InterfaceAnalyzerMover::reorder_foldtree_find_jump(), protocols::ligand_docking::Rotate_info::tag_along_jumps(), and protocols::ligand_docking::Translate::uniform_translate_ligand().
utility::vector1< core::Size > core::pose::get_jump_ids_from_chain | ( | char const & | chain, |
core::pose::Pose const & | pose | ||
) |
Get all the jump numbers for the given chain letter.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
The jumps here are the jumps which are directly upstream of a residue with a given chain letter, (i.e. a residue with the given chain letter is built directly from the jump) rather than logically upstream. Return all jumps which build residues with the given chain letter. If no jumps directly builds residues with the given chain letters, return an empty vector.
The returned jump numbers are in sorted order
References core::kinematics::FoldTree::downstream_jump_residue(), core::pose::Pose::fold_tree(), core::pose::Pose::num_jump(), core::pose::Pose::pdb_info(), and TR().
Referenced by protocols::ligand_docking::HighResDocker::create_rigid_body_movers(), protocols::ligand_docking::MinimizeBackbone::find_attach_pts(), get_jump_id_from_chain(), get_jump_ids_from_chain(), and protocols::ligand_docking::set_jumps().
utility::vector1< core::Size > core::pose::get_jump_ids_from_chain | ( | std::string const & | chain, |
core::pose::Pose const & | pose | ||
) |
Get all the jump numbers for the given chain letter.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
The jumps here are the jumps which are directly upstream of a residue with a given chain letter, (i.e. a residue with the given chain letter is built directly from the jump) rather than logically upstream. Return all jumps which build residues with the given chain letter. If no jumps directly builds residues with the given chain letters, return an empty vector.
The returned jump numbers are in sorted order
References get_jump_ids_from_chain().
std::set< core::Size > core::pose::get_jump_ids_from_chain_ids | ( | std::set< core::Size > const & | chain_ids, |
core::pose::Pose const & | pose | ||
) |
Attempt to get jump IDs which correspond to the given chain number.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
The jumps here are the jumps which are directly upstream of a residue in the given chains, (i.e. a residue on the given chain number is built directly from the jump) rather than logically upstream. Return all jumps which build a given chain. If no jumps directly builds the given chains (unlikely), return an empty set.
References core::pose::Pose::chain(), core::kinematics::FoldTree::downstream_jump_residue(), core::pose::Pose::fold_tree(), and core::pose::Pose::num_jump().
Referenced by get_jump_id_from_chain_id().
std::map< std::string, core::Size > core::pose::get_pdb2pose_numbering_as_stdmap | ( | core::pose::Pose const & | pose | ) |
Create std::map from PDBPoseMap in pose (JKLeman)
Create std::map from PDBPoseMap.
References nres_protein(), core::pose::Pose::pdb_info(), and core::id::to_string().
Referenced by protocols::membrane::AddMembraneMover::apply().
core::conformation::ResidueCOPs core::pose::get_residues_from_chains | ( | core::pose::Pose const & | pose, |
utility::vector1< core::Size > const & | chain_ids | ||
) |
Get all residues which correspond to the given chain numbers.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
References get_chain_residues().
Referenced by protocols::geometry::centroid_by_chains(), and protocols::ligand_docking::HighResEnsemble::prepare_single_ligand_pose().
std::set< core::Size > core::pose::get_resnum_list | ( | std::string const & | str, |
core::pose::Pose const & | pose | ||
) |
returns a resnum list directly from a string
References core::sequence::end, parse_resnum(), parse_selection_block(), protocols::loops::start, and protocols::kinmatch::str().
Referenced by protocols::sewing::hashing::AlignmentFileGeneratorMover::add_pose_segments_to_segment_vector(), protocols::drug_design::ApplyChemistryMover::apply(), protocols::simple_moves::FavorSequenceProfile::apply(), protocols::task_operations::DesignAroundOperation::apply(), core::pack::task::residue_selector::ClashBasedShellSelector::apply(), core::select::residue_selector::ResidueIndexSelector::apply(), core::select::residue_selector::ScoreTermValueBasedSelector::apply(), protocols::simple_filters::DomainInterfaceFilter::apply(), protocols::task_operations::InteractingRotamerExplosion::apply(), protocols::simple_filters::EnergyPerResidueFilter::apply_helper(), protocols::residue_selectors::LigandMetalContactSelector::calculate_ligand_resnums(), protocols::residue_selectors::HBondSelector::compute_input_set(), protocols::simple_filters::ResidueIEFilter::compute_resnums(), protocols::simple_moves::SetupMetalsMover::find_contact_resnums(), protocols::simple_moves::SetupMetalsMover::find_metal_resnums(), protocols::constraint_generator::MetalContactsConstraintGenerator::get_contact_resnums(), core::select::residue_selector::NeighborhoodResidueSelector::get_focus(), core::select::residue_selector::BondedResidueSelector::get_input_set(), protocols::ligand_docking::ga_ligand_dock::GALigandDock::get_movable_scs(), protocols::loop_modeler::perturbers::LoopHashPerturber::perturb_subset(), and core::select::residue_selector::InterGroupInterfaceByVectorSelector::set_from_residue_list_string().
utility::vector1< core::Size > core::pose::get_resnum_list_ordered | ( | std::string const & | str, |
core::pose::Pose const & | pose | ||
) |
returns a resnum list directly from a string, preserving order
References core::sequence::end, parse_resnum(), parse_selection_block(), protocols::loops::start, and protocols::kinmatch::str().
Referenced by protocols::sewing::hashing::AlignmentFileGeneratorMover::add_pose_segments_to_segment_vector(), protocols::symmetry::SetupNCSMover::apply(), protocols::task_operations::LinkResidues::apply(), protocols::ligand_docking::ga_ligand_dock::GALigandDock::apply(), protocols::fldsgn::filters::HelixKinkFilter::apply(), core::pack::task::operation::PreventRepacking::apply(), protocols::sewing::hashing::AlignmentFileGeneratorMover::basis_map_from_alignment(), protocols::calc_taskop_filters::RotamerBoltzmannWeight::compute(), protocols::simple_filters::NMerPSSMEnergyFilter::compute(), protocols::simple_filters::NMerSVMEnergyFilter::compute(), protocols::simple_filters::ResidueSetChainEnergyFilter::compute(), protocols::constraint_generator::parse_custom_torsion(), protocols::task_operations::LinkResidues::remap_allowed_residues_to_template(), protocols::glycopeptide_docking::GlycopeptideDockingFlags::set_substrate_chain(), and protocols::hybridization::HybridizeProtocol::setup_templates_and_sampling_options().
core::select::residue_selector::ResidueSelectorOP core::pose::get_resnum_selector | ( | utility::tag::TagCOP | tag_ptr, |
std::string const & | tag | ||
) |
References TR().
Referenced by protocols::backrub::BackrubProtocol::parse_my_tag(), protocols::enzdes::RepackWithoutLigandFilter::parse_my_tag(), protocols::enzdes::PackRotamersMoverPartGreedy::parse_my_tag(), protocols::hbnet::HBNet::parse_my_tag(), protocols::idealize::IdealizeMover::parse_my_tag(), protocols::protein_interface_design::filters::DisulfideFilter::parse_my_tag(), protocols::protein_interface_design::movers::AddSidechainConstraintsToHotspots::parse_my_tag(), protocols::protein_interface_design::movers::DisulfideMover::parse_my_tag(), protocols::protein_interface_design::movers::HotspotDisjointedFoldTreeMover::parse_my_tag(), protocols::protein_interface_design::movers::PlaceStubMover::parse_my_tag(), protocols::protein_interface_design::movers::ShoveResidueMover::parse_my_tag(), protocols::protein_interface_design::movers::TryRotamers::parse_my_tag(), protocols::backrub::BackrubMover::parse_my_tag(), protocols::backrub::BackrubSidechainMover::parse_my_tag(), protocols::hybridization::CartesianSampler::parse_my_tag(), protocols::ligand_docking::ga_ligand_dock::GALigandDock::parse_my_tag(), protocols::pose_reporters::RMSDReporter::parse_my_tag(), and protocols::ncbb::oop::OopCreatorMover::parse_my_tag().
std::string core::pose::get_resnum_string | ( | utility::tag::TagCOP | tag_ptr, |
std::string const & | prefix, | ||
std::string const & | default_value | ||
) |
DEPRECATED - provided for legacy usage only. Don't use for new code. Instead, just use a single option which uses parse_resnum syntax to specify.
Checks for either/both of pdb_num
/res_num
in the tag, and pulls out the appropriate string
std::string core::pose::get_resnum_string | ( | utility::tag::TagCOP | tag_ptr, |
std::string const & | prefix = "" |
||
) |
DEPRECATED - provided for legacy usage only. Don't use for new code. Instead, just use a single option which uses the parse_resnum syntax to specify.
Checks for either/both of pdb_num
/res_num
in the tag, and pulls out the appropriate string
Referenced by protocols::abinitio::DomainAssembly::parse_my_tag(), protocols::enzdes::EnzScoreFilter::parse_my_tag(), protocols::enzdes::DiffAtomSasaFilter::parse_my_tag(), protocols::loophash::LoopHashDiversifier::parse_my_tag(), protocols::loophash::LoopHashMoverWrapper::parse_my_tag(), protocols::protein_interface_design::filters::HbondsToAtomFilter::parse_my_tag(), protocols::protein_interface_design::movers::BackrubDDMover::parse_my_tag(), protocols::protein_interface_design::movers::HotspotHasherMover::parse_my_tag(), protocols::protein_interface_design::movers::PeptideStapleDesignMover::parse_my_tag(), protocols::protein_interface_design::movers::ShoveResidueMover::parse_my_tag(), protocols::protein_interface_design::movers::TryRotamers::parse_my_tag(), protocols::simple_filters::EnergyPerResidueFilter::parse_my_tag(), protocols::simple_filters::NeighborTypeFilter::parse_my_tag(), protocols::simple_filters::ResidueDistanceFilter::parse_my_tag(), protocols::simple_filters::SidechainRmsdFilter::parse_my_tag(), protocols::protein_interface_design::movers::LoopFinder::parse_my_tag(), protocols::protein_interface_design::movers::LoopRemodel::parse_my_tag(), protocols::simple_filters::SimpleHbondsToAtomFilter::parse_my_tag(), protocols::protein_interface_design::filters::RmsdFilter::parse_my_tag(), and protocols::calc_taskop_movers::DesignRepackMover::parse_my_tag().
core::Size core::pose::get_resnumber_from_reference_pose | ( | std::string const & | refpose_name, |
core::Size const | refpose_number, | ||
signed long const | refpose_offset, | ||
core::pose::Pose const & | pose | ||
) |
Given the name of a ReferencePose object in the pose, a residue number in that reference pose, and a residue offset, this function returns the Rosetta number of the corresponding residue in the pose. Should throw an error if the ReferencePose doesn't exist in the pose, or 0 if no corresponding residue exists in the pose.
References core::pose::Pose::corresponding_residue_in_current(), and core::pose::Pose::size().
Referenced by core::pose::ResidueIndexDescriptionRefPose::resolve_index().
utility::vector1< core::Size > core::pose::get_resnums_for_chain | ( | core::pose::Pose const & | pose, |
char | chain | ||
) |
Get a vector of all residues numbers which are represented by this chain letter.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
The returned residue numbers are in sorted order
References core::pose::Pose::pdb_info(), core::pose::Pose::size(), and TR().
Referenced by protocols::drug_design::RDKitMetricsMover::add_scores_for_chain(), protocols::drug_design::bcl::BCLFragmentMutateMover::apply(), protocols::qsar::qsarMover::apply(), protocols::qsar::RenderGridsToKinemage::apply(), protocols::nmr::pcs::PCSLigandTransformMover::apply(), protocols::protein_interface_design::movers::SecretionOptimizationMover::find_tm_regions(), protocols::ligand_docking::get_ligand_grid_scores(), protocols::ligand_docking::get_ligand_RMSDs(), protocols::ligand_docking::get_ligand_travel(), protocols::ligand_docking::get_radius_of_gyration(), core::select::residue_selector::SSElementSelector::parse_ss(), and protocols::features::ResidueGridScoresFeatures::report_features().
utility::vector1< core::Size > core::pose::get_resnums_for_chain_id | ( | core::pose::Pose const & | pose, |
core::Size | chain_id | ||
) |
Get a vector of all residues numbers which are represented by this chain number.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
The returned residue numbers are in sorted order
References core::conformation::Conformation::chain_begin(), core::conformation::Conformation::chain_end(), core::pose::Pose::conformation(), core::sequence::end, and core::pose::Pose::num_chains().
Referenced by protocols::pose_length_moves::NearNativeLoopCloser::combine_chains(), protocols::pose_creation::MergePDBMover::determine_overlap(), protocols::pose_creation::MergePDBMover::generate_overlaps(), protocols::simple_ddg::SSElementBisectddGFilter::get_ddg_bisect_score(), and protocols::qsar::scoring_grid::GridSet::total_score().
core::chemical::ResidueTypeCOP core::pose::get_restype_for_pose | ( | core::pose::Pose const & | pose, |
std::string const & | name | ||
) |
Return the residue type in the correct "mode" (fullatom, centroid ...) the pose is in.
References core::pose::Pose::conformation(), core::chemical::FULL_ATOM_t, core::chemical::MIXED_t, and core::conformation::Conformation::residue_typeset_mode().
Referenced by core::util::add_covalent_linkage_helper(), protocols::kinmatch::alapose(), protocols::magnesium::MgMonteCarlo::apply(), protocols::ncbb::oop::OopCreatorMover::apply(), protocols::simple_moves::PeptideStapleMover::apply(), protocols::simple_moves::RepulsiveOnlyMover::apply(), protocols::fldsgn::CircularPermutation::apply(), protocols::forge::remodel::RemodelMover::apply(), protocols::matdes::SchemePlaceMotifsMover::apply(), protocols::indexed_structure_store::apply_residue_entries_to_pose(), protocols::denovo_design::connection::AreConnectablePredicate::check_distance(), protocols::hotspot_hashing::HotspotStubSet::create_hotspot_after_pose(), protocols::metal_interface::MatchGrafter::ensure_proper_his_tautomers(), protocols::protein_interface_design::movers::MapHotspot::GenerateMap(), core::scoring::motif::Xfrag::insert(), protocols::protein_interface_design::movers::PlaceOnLoop::loop_length(), protocols::toolbox::match_enzdes_util::EnzConstraintParameters::make_constraint_covalent_helper(), protocols::simple_moves::MutateResidue::make_mutation(), core::scoring::motif::Xfres::place_sidechain_in_pose(), core::import_pose::atom_tree_diffs::pose_from_atom_tree_diff(), protocols::pose_metric_calculators::SemiExplicitWaterUnsatisfiedPolarsCalculator::recompute(), protocols::denovo_design::components::rsd_op(), protocols::pose_metric_calculators::SemiExplicitWaterUnsatisfiedPolarsCalculator::semiexpl_water_hbgeom_score(), protocols::relax::RepeatProteinRelax::setup_repeat_pose(), protocols::relax::RepeatProteinRelax::setup_repeat_pose_jumping(), and virtual_type_for_pose().
core::chemical::ResidueTypeCOP core::pose::get_restype_for_pose | ( | core::pose::Pose const & | pose, |
std::string const & | name, | ||
core::chemical::TypeSetMode | mode | ||
) |
Return the residue type in the passed mode, respecting any modification that pose may make.
References core::pose::Pose::residue_type_set_for_pose(), and TR().
core::chemical::ResidueTypeCOP core::pose::get_rsd_type_from_aa | ( | chemical::ResidueTypeSet const & | residue_set, |
chemical::AA const & | my_aa, | ||
bool const & | is_lower_terminus, | ||
bool const & | is_upper_terminus, | ||
bool const | metapatches | ||
) |
use efficient residue type finder to find simplest residue type with this AA & requested termini.
ResidueTypeFinder finds simplest residue type with this AA & requested termini.
References core::chemical::ResidueTypeFinder::aa(), core::chemical::ResidueTypeFinder::get_representative_type(), is_lower_terminus(), is_upper_terminus(), core::chemical::LOWER_TERMINUS_VARIANT, core::chemical::UPPER_TERMINUS_VARIANT, update_ResidueType_enum_files::variants, and core::chemical::ResidueTypeFinder::variants().
Referenced by residue_types_from_sequence().
bool core::pose::get_score_line_string | ( | core::pose::Pose const & | pose, |
std::string const & | key, | ||
std::string & | val | ||
) |
References get_all_score_line_strings(), and protocols::hybridization::val.
Referenced by protocols::loophash::BackboneDB::add_pose(), and protocols::cryst::DockLatticeMover::apply().
Size core::pose::get_sequence_len | ( | std::string const & | sequence_in | ) |
Get the length of the annotated sequence.
Get the real length of a annotated sequence.
References parse_sequence().
Referenced by core::import_pose::RNA_HelixAssembler::build_init_pose(), and protocols::recces::pose_setup_turner().
std::string core::pose::get_sha1_hash_excluding_chain | ( | char const & | chain, |
core::pose::Pose const & | pose, | ||
std::string const & | extra_label = "" |
||
) |
Get a value representing the position of all the atoms for residues which don't have the given chain letter.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
References get_sha1_hash_excluding_chains(), and core::id::to_string().
Referenced by protocols::ligand_docking::StartFrom::apply().
std::string core::pose::get_sha1_hash_excluding_chain | ( | std::string const & | chain, |
core::pose::Pose const & | pose, | ||
std::string const & | extra_label = "" |
||
) |
Get a value representing the position of all the atoms for residues which don't have the given chain letter.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
References get_sha1_hash_excluding_chains().
std::string core::pose::get_sha1_hash_excluding_chains | ( | utility::vector1< std::string > const & | chains, |
core::pose::Pose const & | pose, | ||
std::string const & | extra_label = "" |
||
) |
Get a value representing the position of all the atoms for residues which don't have the given chain letter.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
References core::pose::Pose::conformation(), core::conformation::Residue::natoms(), core::pose::Pose::pdb_info(), core::conformation::Conformation::residue(), core::pose::Pose::size(), core::id::to_string(), TR(), and core::conformation::Conformation::xyz().
Referenced by protocols::qsar::scoring_grid::GridManager::compute_hash(), and get_sha1_hash_excluding_chain().
std::string core::pose::get_sha1_hash_from_chain | ( | char const & | chain, |
core::pose::Pose const & | pose, | ||
std::string const & | extra_label = "" |
||
) |
Get a value representing the position of all the atoms for residues with the given chain letter.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
References get_sha1_hash_from_chains(), and core::id::to_string().
std::string core::pose::get_sha1_hash_from_chains | ( | utility::vector1< std::string > const & | chains, |
core::pose::Pose const & | pose, | ||
std::string const & | extra_label = "" |
||
) |
Get a value representing the position of all the atoms for residues with the given chain letters.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
References core::pose::Pose::conformation(), core::conformation::Residue::natoms(), core::pose::Pose::pdb_info(), core::conformation::Conformation::residue(), core::pose::Pose::size(), core::id::to_string(), TR(), and core::conformation::Conformation::xyz().
Referenced by protocols::qsar::scoring_grid::GridManager::compute_hash(), and get_sha1_hash_from_chain().
std::map< std::string, float > core::pose::getPoseExtraFloatScores | ( | core::pose::Pose const & | pose | ) |
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
References getPoseExtraScore().
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.
References core::pose::datacache::CacheableDataType::ARBITRARY_FLOAT_DATA, and core::pose::Pose::data().
Referenced by protocols::cluster::GatherPosesMover::apply(), protocols::cluster::AssignToClustersMover::apply(), protocols::loop_build::LoopBuildMover::apply(), protocols::ligand_docking::ga_ligand_dock::GALigandDock::apply(), protocols::simple_moves::VirtualRootMover::apply(), core::simple_metrics::metrics::CalculatorMetric::calculate(), protocols::stepwise::modeler::align::StepWiseClusterer::check_screen_and_kick_out_displaced_model(), protocols::magnesium::MgScanner::cluster_mg(), protocols::loophash::cmp(), protocols::simple_filters::ReadPoseExtraScoreFilter::compute(), protocols::stepwise::modeler::rna::StepWiseRNA_CombineLongLoopFilterer::convert_silent_file_to_pose_data_list(), protocols::stepwise::legacy::modeler::rna::StepWiseRNA_Clusterer::create_large_cluster_centers_member_list(), protocols::stepwise::modeler::StepWiseMinimizer::do_full_minimizing(), protocols::stepwise::monte_carlo::StepWiseMonteCarlo::do_main_loop(), protocols::stepwise::legacy::modeler::rna::StepWiseRNA_Clusterer::do_some_clustering(), protocols::stepwise::modeler::align::StepWiseLegacyClustererSilentBased::do_some_clustering(), protocols::recon_design::find_pose_in_vector(), protocols::stepwise::legacy::modeler::rna::StepWiseRNA_Clusterer::get_best_neighboring_shift_RMSD_and_output_silent_file(), getPoseExtraScore(), protocols::ligand_docking::ga_ligand_dock::make_ligand_only_pose(), protocols::magnesium::MgScanner::output_mg_into_one_PDB(), protocols::cluster::ClusterBase::print_summary(), protocols::stepwise::legacy::modeler::rna::StepWiseRNA_Clusterer::recalculate_rmsd_and_output_silent_file(), protocols::cluster::ClusterBase::remove_highest_energy_member_of_each_group(), protocols::ligand_docking::ga_ligand_dock::GALigandDock::run_docking(), protocols::stepwise::legacy::modeler::rna::StepWiseRNA_Clusterer::setup_fail_triangle_inequailty_list(), protocols::cluster::ClusterBase::sort_each_group_by_energy(), protocols::cluster::ClusterBase::sort_groups_by_energy(), and total_energy_from_pose().
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.
References core::pose::datacache::CacheableDataType::ARBITRARY_STRING_DATA, and core::pose::Pose::data().
std::map< std::string, std::string > core::pose::getPoseExtraStringScores | ( | core::pose::Pose const & | pose | ) |
bool core::pose::has_chain | ( | char const & | chain, |
core::pose::Pose const & | pose | ||
) |
Does the pose have a residue with the given chain letter.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
References core::pose::Pose::pdb_info(), core::pose::Pose::size(), and TR().
bool core::pose::has_chain | ( | core::Size | chain_id, |
core::pose::Pose const & | pose | ||
) |
Does the pose have a residue with the given chain number.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
References core::pose::Pose::conformation(), and core::conformation::Conformation::num_chains().
bool core::pose::has_chain | ( | std::string const & | chain, |
core::pose::Pose const & | pose | ||
) |
Does the pose have a residue with the given chain letter.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
Referenced by protocols::features::InterfaceDdGMover::add_chain_id(), protocols::features::InterfaceDdGMover::add_chain_name(), protocols::antibody::AntibodyNumberingConverterMover::apply(), protocols::drug_design::RDKitMetricsMover::apply(), protocols::ligand_docking::StartFrom::apply(), protocols::pose_creation::MergePDBMover::apply(), protocols::pose_length_moves::InsertResMover::apply(), protocols::pose_creation::MergePDBatOverlapMover::apply_helper(), chain_end_res(), protocols::features::InterfaceFeatures::chains_exist_in_pose(), protocols::antibody::clusters::check_if_pose_renumbered_for_clusters(), protocols::pose_length_moves::NearNativeLoopCloser::combine_chains(), protocols::antibody::design::disable_conserved_framework_positions(), protocols::pose_creation::MakeJunctionsMover::generate_start_pose(), get_jump_id_from_chain_id(), protocols::ligand_docking::InterfaceScoreCalculator::get_ligand_docking_scores(), protocols::antibody::AntibodyInfo::identify_antibody(), and core::select::residue_selector::SSElementSelector::parse_ss().
bool core::pose::hasPoseExtraScore | ( | core::pose::Pose const & | pose, |
std::string const & | name | ||
) |
does this ExtraScore exist?
References core::pose::datacache::CacheableDataType::ARBITRARY_FLOAT_DATA, and core::pose::Pose::data().
Referenced by protocols::stepwise::modeler::align::StepWiseClusterer::check_screen_and_kick_out_displaced_model(), protocols::stepwise::modeler::StepWiseMinimizer::do_full_minimizing(), and protocols::stepwise::monte_carlo::StepWiseMonteCarlo::do_main_loop().
bool core::pose::hasPoseExtraScore_str | ( | core::pose::Pose const & | pose, |
std::string const & | name | ||
) |
does this (string) ExtraScore exist?
References core::pose::datacache::CacheableDataType::ARBITRARY_STRING_DATA, and core::pose::Pose::data().
void core::pose::initialize_atomid_map | ( | id::AtomID_Map< T > & | atom_map, |
conformation::Conformation const & | conformation | ||
) |
Initialize an AtomID_Map for a given Conformation using the AtomID_Map's current default fill values.
References core::id::AtomID_Map< T >::clear(), core::chemical::ResidueType::natoms(), core::conformation::Conformation::residue_type(), core::id::AtomID_Map< T >::resize(), and core::conformation::Conformation::size().
void core::pose::initialize_atomid_map | ( | id::AtomID_Map< T > & | atom_map, |
conformation::Conformation const & | conformation, | ||
T const & | value | ||
) |
Initialize an AtomID_Map for a given Conformation using a specified fill value.
References core::id::AtomID_Map< T >::clear(), core::chemical::ResidueType::natoms(), core::conformation::Conformation::residue_type(), core::id::AtomID_Map< T >::resize(), and core::conformation::Conformation::size().
void core::pose::initialize_atomid_map | ( | id::AtomID_Map< T > & | atom_map, |
pose::Pose const & | pose | ||
) |
Initialize an AtomID_Map for a given Pose using the AtomID_Map's current default fill values.
References core::id::AtomID_Map< T >::clear(), core::chemical::ResidueType::natoms(), core::pose::Pose::residue_type(), core::id::AtomID_Map< T >::resize(), and core::pose::Pose::size().
Referenced by protocols::loops::addScoresForLoopParts(), protocols::stepwise::modeler::rna::StepWiseRNA_CombineLongLoopFilterer::align_all_pose(), protocols::cyclic_peptide_predict::SimpleCycpepPredictApplication::align_and_calculate_rmsd(), protocols::hybridization::HybridizeProtocol::align_by_domain(), protocols::helical_bundle::align_mainchain_atoms(), protocols::helical_bundle::align_mainchain_atoms_of_residue_range(), core::scoring::motif::align_motif_pose_NCAC_super(), core::scoring::motif::align_motif_pose_super(), core::import_pose::libraries::RNA_ChunkLibrary::align_to_chunk(), protocols::antibody_legacy::Antibody::align_to_native(), protocols::antibody::align_to_native(), protocols::helical_bundle_predict::HelicalBundlePredictApplication::align_to_native_pose(), protocols::energy_based_clustering::EnergyBasedClusteringProtocol::align_with_offset(), protocols::helical_bundle::FitSimpleHelix::apply(), protocols::relax::loop::LoopRelaxMover::apply(), protocols::toolbox::match_enzdes_util::AlignPoseToInvrotTreeMover::apply(), protocols::antibody::GraftOneCDRLoop::apply(), protocols::antibody_legacy::GraftOneMover::apply(), protocols::comparative_modeling::ExtraThreadingMover::apply(), protocols::comparative_modeling::MultiThreadingMover::apply(), protocols::comparative_modeling::PartialThreadingMover::apply(), protocols::comparative_modeling::ThreadingMover::apply(), protocols::task_operations::SelectBySASAOperation::apply(), protocols::minimization_packing::RepackSidechainsMover::apply(), core::scoring::atomic_depth::atomic_depth(), core::scoring::atomic_depth::atoms_deeper_than(), protocols::electron_density::BfactorMultifunc::BfactorMultifunc(), core::scoring::sc::ElectrostaticComplementarityCalculator::Calc(), core::scoring::sc::ElectrostaticSimilarityCalculator::Calc(), protocols::fldsgn::topology::calc_delta_sasa(), protocols::symmetric_docking::SymDockProtocol::calc_Irms(), core::scoring::calc_per_atom_sasa(), core::scoring::calc_per_atom_sasa_sc(), core::scoring::calc_per_res_hydrophobic_sasa(), protocols::forge::methods::calc_rsd_sasa(), core::select::util::SelectResiduesByLayer::calc_rsd_sasa(), protocols::fldsgn::topology::Sheet::calc_sasa_bothsides(), core::scoring::sasa::LeGrandSasa::calculate(), protocols::simple_pose_metric_calculators::BuriedUnsatisfiedPolarsCalculator::calculate_sasa(), core::scoring::calpha_superimpose_pose(), core::sequence::calpha_superimpose_with_mapping(), protocols::sic_dock::cb_weight_map_from_pose(), protocols::antibody::cdr_backbone_rmsds(), protocols::electron_density::DockPDBIntoDensityMover::compare_and_align_poses(), protocols::simple_filters::BuriedUnsatHbondFilter::compute(), protocols::simple_filters::TaskAwareSASAFilter::compute(), protocols::fldsgn::filters::CoreDunbrackFilter::compute(), core::scoring::packstat::compute_atom_packing_scores(), core::scoring::packing::compute_holes_score(), core::pack::interaction_graph::SurfacePotential::compute_pose_hpatch_score(), protocols::sasa_scores::compute_residue_sasas_for_sasa_scores(), core::scoring::packing::compute_rosettaholes_score(), convert_from_std_map(), protocols::stepwise::modeler::rna::create_alignment_id_map_legacy(), protocols::stepwise::modeler::align::create_alignment_id_map_legacy(), core::scoring::hbonds::NPDHBondSet::derive_per_hbond_donor_and_acceptor_weights(), core::io::pose_to_sfr::PoseToStructFileRepConverter::determine_atom_indices(), protocols::helical_bundle::FitSimpleHelixMultiFunc::dfunc(), protocols::pockets::GenPharmacophore::extract_rna_rings_from_protein_rna_complex(), protocols::simple_moves::RepeatPropagationMover::generate_overlap(), protocols::pose_creation::MergePDBMover::generate_overlaps(), core::scoring::sc::ElectrostaticComplementarityCalculator::get_atoms_within_radius(), protocols::simple_filters::BuriedUnsatHbondFilter::get_deep_apo_atoms(), protocols::hybridization::InsertChunkMover::get_local_sequence_mapping(), core::scoring::motif::get_motif_atom_mask(), core::pack::guidance_scoreterms::sap::SapConstraintHelper::get_per_atom_sap(), core::scoring::sc::ElectrostaticComplementarityCalculator::get_present_atoms(), core::scoring::sc::ElectrostaticSimilarityCalculator::get_present_atoms(), core::scoring::sasa::SasaCalc::init(), core::scoring::sc::ElectrostaticComplementarityCalculator::Init(), protocols::sic_dock::SICFast::init(), initialize_atomid_map_AtomID(), protocols::loops::loop_rmsd_with_superimpose_core(), make_atom_map(), protocols::pose_creation::MergePDBatOverlapMover::merge_poses(), protocols::tcr::orient_tcr_chain(), core::scoring::packing::PoseBalls::PoseBalls(), core::scoring::packing::PoseBallsLite::PoseBallsLite(), protocols::vardist_solaccess::VarSolDistSasaCalculator::recompute(), core::pose::metrics::simple_calculators::InterfaceSasaDefinitionCalculator::recompute(), protocols::simple_pose_metric_calculators::BuriedUnsatisfiedPolarsCalculator::recompute(), core::io::pose_from_sfr::PoseFromSFRBuilder::refine_pose(), protocols::features::HBondFeatures::report_features(), protocols::hybridization::DomainAssembly::run(), core::pack::guidance_scoreterms::sap::sap_atom_sasa(), core::optimization::CartesianMinimizerMap::setup(), core::optimization::MinimizerMap::setup(), core::scoring::PoissonBoltzmannPotential::solve_pb(), protocols::simple_moves::SuperimposeMover::superimpose(), protocols::fldsgn::MatchResidues::superimpose_comb(), protocols::grafting::superimpose_overhangs_heavy(), core::scoring::superimpose_polymer_heavyatoms(), protocols::fibril::superimpose_pose_on_subset_bb(), protocols::toolbox::pose_manipulation::superimpose_pose_on_subset_CA(), protocols::hybridization::FoldTreeHybridize::superimpose_strand_pairings_to_templates(), protocols::simple_moves::SuperimposeMover::superimposebb(), protocols::docking::ConformerSwitchMover::switch_conformer(), core::optimization::symmetry::SymMinimizerMap::SymMinimizerMap(), protocols::hybridization::TMalign_poses(), and protocols::hybridization::update_atom_map().
void core::pose::initialize_atomid_map | ( | id::AtomID_Map< T > & | atom_map, |
pose::Pose const & | pose, | ||
T const & | value | ||
) |
Initialize an AtomID_Map for a given Pose using a specified fill value.
References core::id::AtomID_Map< T >::clear(), core::chemical::ResidueType::natoms(), core::pose::Pose::residue_type(), core::id::AtomID_Map< T >::resize(), and core::pose::Pose::size().
|
inline |
References initialize_atomid_map().
|
inline |
References initialize_atomid_map().
|
inline |
References initialize_atomid_map().
Referenced by protocols::protein_interface_design::movers::TopologyBrokerMover::apply().
|
inline |
References initialize_atomid_map().
void core::pose::initialize_atomid_map_heavy_only | ( | id::AtomID_Map< T > & | atom_map, |
conformation::Conformation const & | conformation | ||
) |
Initialize an AtomID_Map for a given Conformation using the AtomID_Map's current default fill values.
References core::id::AtomID_Map< T >::clear(), core::chemical::ResidueType::nheavyatoms(), core::conformation::Conformation::residue_type(), core::id::AtomID_Map< T >::resize(), and core::conformation::Conformation::size().
void core::pose::initialize_atomid_map_heavy_only | ( | id::AtomID_Map< T > & | atom_map, |
conformation::Conformation const & | conformation, | ||
T const & | value | ||
) |
Initialize an AtomID_Map for a given Conformation using a specified fill value.
References core::id::AtomID_Map< T >::clear(), core::chemical::ResidueType::nheavyatoms(), core::conformation::Conformation::residue_type(), core::id::AtomID_Map< T >::resize(), and core::conformation::Conformation::size().
void core::pose::initialize_atomid_map_heavy_only | ( | id::AtomID_Map< T > & | atom_map, |
pose::Pose const & | pose | ||
) |
Initialize an AtomID_Map for a given Pose using the AtomID_Map's current default fill values.
References core::id::AtomID_Map< T >::clear(), core::chemical::ResidueType::nheavyatoms(), core::pose::Pose::residue_type(), core::id::AtomID_Map< T >::resize(), and core::pose::Pose::size().
Referenced by core::scoring::packing::get_surf_vol(), core::scoring::packing::get_surf_vol_deriv(), core::scoring::packstat::MultiProbePoseAccumulator::MultiProbePoseAccumulator(), core::energy_methods::HolesEnergy::setup_for_derivatives(), core::energy_methods::SurfEnergy::setup_for_derivatives(), core::energy_methods::SurfVolEnergy::setup_for_derivatives(), and core::scoring::packing::HolesEnergyRes::setup_for_derivatives().
void core::pose::initialize_atomid_map_heavy_only | ( | id::AtomID_Map< T > & | atom_map, |
pose::Pose const & | pose, | ||
T const & | value | ||
) |
Initialize an AtomID_Map for a given Pose using a specified fill value.
References core::id::AtomID_Map< T >::clear(), core::chemical::ResidueType::nheavyatoms(), core::pose::Pose::residue_type(), core::id::AtomID_Map< T >::resize(), and core::pose::Pose::size().
void core::pose::initialize_disulfide_bonds | ( | Pose & | pose | ) |
detect and fix disulfide bonds
References core::pose::Pose::conformation(), core::conformation::Conformation::detect_disulfides(), core::io::raw_data::DisulfideFile::disulfides(), core::conformation::Conformation::fix_disulfides(), and core::pose::Pose::is_fullatom().
Referenced by protocols::hybridization::HybridizeProtocol::apply(), protocols::ligand_docking::ga_ligand_dock::GALigandDock::apply(), protocols::ligand_docking::ga_ligand_dock::GALigandDock::calculate_free_ligand_score(), core::io::silent::BinarySilentStruct::fill_pose(), core::io::silent::ProteinSilentStruct_Template< T >::fill_pose(), core::scoring::cryst::PhenixInterface::fitBfactors(), protocols::motif_grafting::movers::MotifGraftMover::generate_match_pose(), core::scoring::cryst::PhenixInterface::initialize_target_evaluator(), core::pose::symmetry::make_symmetric_pose(), protocols::features::DatabaseJobInputter::pose_from_job(), core::import_pose::pose_stream::PoseInputStream::preprocess_pose(), and core::io::pose_from_sfr::PoseFromSFRBuilder::refine_pose().
void core::pose::initialize_disulfide_bonds | ( | Pose & | pose, |
io::StructFileRep const & | sfr | ||
) |
void core::pose::initialize_dof_id_map | ( | id::DOF_ID_Map< T > & | dof_map, |
Pose const & | pose | ||
) |
Initialize a DOF_ID_Map for a given Pose using the DOF_ID_Map's current default fill values.
References core::id::DOF_ID_Map< T >::clear(), core::conformation::Residue::natoms(), core::pose::Pose::residue(), core::id::DOF_ID_Map< T >::resize(), and core::pose::Pose::size().
Referenced by core::optimization::symmetry::atom_tree_dfunc(), core::optimization::MinimizerMap::reset(), setup_dof_mask_from_move_map(), setup_dof_to_torsion_map(), and core::optimization::symmetry::SymMinimizerMap::SymMinimizerMap().
void core::pose::initialize_dof_id_map | ( | id::DOF_ID_Map< T > & | dof_map, |
Pose const & | pose, | ||
T const & | value | ||
) |
Initialize a DOF_ID_Map for a given Pose using a specified fill value.
References core::id::DOF_ID_Map< T >::clear(), core::conformation::Residue::natoms(), core::pose::Pose::residue(), core::id::DOF_ID_Map< T >::resize(), and core::pose::Pose::size().
chemical::rings::AxEqDesignation core::pose::is_atom_axial_or_equatorial_to_ring | ( | Pose const & | pose, |
id::AtomID const & | query_atom, | ||
utility::vector1< id::AtomID > const & | ring_atoms | ||
) |
This function calculates an average plane and determines whether the coordinates of a given atom are axial or equatorial to it (or neither).
<pose> | The Pose containing the atoms in question. |
<query_atom> | The AtomID of the atom in question. |
<ring_atoms> | A list of AtomIDs for the atoms of a monocyclic ring system in sequence. |
References core::id::AtomID::atomno(), core::conformation::is_atom_axial_or_equatorial_to_ring(), core::chemical::rings::NEITHER, core::pose::Pose::residue(), core::id::AtomID::rsd(), and TR().
Referenced by core::scoring::carbohydrates::get_CHI_energy_function_linkage_type_for_psi_for_residue_in_pose(), and core::scoring::carbohydrates::get_omega_preference_for_residue_in_pose().
chemical::rings::AxEqDesignation core::pose::is_atom_axial_or_equatorial_to_ring | ( | Pose const & | pose, |
uint | seqpos, | ||
uint | query_atom, | ||
utility::vector1< uint > const & | ring_atoms | ||
) |
Is the query atom in this pose residue axial or equatorial to the given ring or neither?
This function calculates an average plane and determines whether the coordinates of a given atom are axial or equatorial to it (or neither).
<pose> | The Pose containing the Residue in question. |
<seqpos> | The sequence position in the Pose of the Residue containing the atoms in question. |
<query_atom> | The index of the atom in question. |
<ring_atoms> | A list of indices for the atoms of a monocyclic ring system in sequence. |
References core::conformation::is_atom_axial_or_equatorial_to_ring(), and core::pose::Pose::residue().
bool core::pose::is_ideal_pose | ( | core::pose::Pose const & | pose | ) |
checks if the pose geometry is ideal
Returns true if the <pose> geometry is ideal.
[in] | pose | The Pose to check. |
References is_ideal_position(), and core::pose::Pose::size().
Referenced by core::io::silent::ProteinSilentStruct_Template< T >::fill_struct(), core::io::silent::SilentStructFactory::get_silent_struct_out(), core::io::pose_to_sfr::PoseToStructFileRepConverter::grab_torsion_records(), and protocols::frag_picker::FragmentPicker::nonlocal_pairs().
bool core::pose::is_ideal_position | ( | core::Size | seqpos, |
core::pose::Pose const & | pose | ||
) |
checks if the pose geometry is ideal in position seqpos
Returns true if the <pose> geometry is ideal in position <seqpos>
[in] | pose | The Pose to check. |
References core::pose::Pose::conformation(), and core::conformation::is_ideal_position().
Referenced by protocols::abinitio::abscript::fix_mainchain_connect(), protocols::topology_broker::fix_mainchain_connect(), and is_ideal_pose().
bool core::pose::is_lower_terminus | ( | pose::Pose const & | pose, |
Size const | resid | ||
) |
checks to see if this is a lower chain ending more intelligently than just checking residue variants
References core::pose::Pose::chain(), core::conformation::Residue::is_lower_terminus(), core::conformation::Residue::is_peptoid(), core::conformation::Residue::is_polymer(), core::conformation::Residue::is_protein(), and core::pose::Pose::residue().
Referenced by protocols::denovo_design::movers::add_overlap_to_loops(), core::select::residue_selector::BFactorSelector::apply(), core::select::residue_selector::PrimarySequenceNeighborhoodSelector::apply(), protocols::hybridization::HybridizeProtocol::apply(), core::conformation::get_residue_from_name1(), core::io::pose_from_sfr::PoseFromSFRBuilder::get_rsd_type(), get_rsd_type_from_aa(), protocols::abinitio::abscript::RigidChunkCM::initialize(), protocols::loops::Loop::is_terminal(), core::scoring::dna::DNA_DihedralPotential::parse_dna_geometry_log(), core::io::pose_from_sfr::PoseFromSFRBuilder::pass_2_quick_and_dirty_resolve_residue_types(), core::io::pose_from_sfr::PoseFromSFRBuilder::pass_2_resolve_residue_types(), core::io::pose_from_sfr::PoseFromSFRBuilder::pass_4_redo_termini(), pose_residue_is_terminal(), core::io::serialization::read_binary(), and residue_types_from_sequence().
bool core::pose::is_position_conserved_residue | ( | Pose const & | pose, |
core::Size | residue | ||
) |
Returns true if <residue> is positionally conserved, false otherwise Based on the POSITION_CONSERVED_RESIDUES annotation stored in the Pose DataCache.
References core::pose::Pose::data(), core::pose::datacache::CacheableDataType::POSITION_CONSERVED_RESIDUES, and core::pose::Pose::size().
bool core::pose::is_referencepose_number | ( | std::string const & | str, |
std::string & | refpose_string, | ||
core::Size & | refpose_resnumber, | ||
signed long & | refpose_offset | ||
) |
Is a string of the format "refpose(<refposename>,<refposenumber>)" or "refpose(<refposename>,<refposenumber>)+/-<number>"?
If this successfully determines that this is a string of this format, it populates the refpose_string, refpose_resnumber, and refpose_offset variables with the name of the ReferencePose, the number of the residue in the reference pose, and the +/- offset number parsed from this string.
References protocols::kinmatch::str().
Referenced by parse_resnum().
bool core::pose::is_upper_terminus | ( | pose::Pose const & | pose, |
Size const | resid | ||
) |
checks to see if this is a lower chain ending more intelligently than just checking residue variants
References core::pose::Pose::chain(), core::conformation::Residue::is_peptoid(), core::conformation::Residue::is_polymer(), core::conformation::Residue::is_protein(), core::conformation::Residue::is_upper_terminus(), core::pose::Pose::residue(), and core::pose::Pose::size().
Referenced by protocols::denovo_design::movers::add_overlap_to_loops(), core::select::residue_selector::BFactorSelector::apply(), core::select::residue_selector::PrimarySequenceNeighborhoodSelector::apply(), core::io::pose_from_sfr::PoseFromSFRBuilder::build_initial_pose(), protocols::denovo_design::filters::PreProlineFilter::compute_simple(), protocols::denovo_design::filters::PreProlineFilter::compute_spline(), core::conformation::get_residue_from_name1(), core::io::pose_from_sfr::PoseFromSFRBuilder::get_rsd_type(), get_rsd_type_from_aa(), protocols::abinitio::abscript::RigidChunkCM::initialize(), protocols::loops::Loop::is_terminal(), core::scoring::dna::DNA_DihedralPotential::parse_dna_geometry_log(), core::io::pose_from_sfr::PoseFromSFRBuilder::pass_2_quick_and_dirty_resolve_residue_types(), core::io::pose_from_sfr::PoseFromSFRBuilder::pass_2_resolve_residue_types(), core::io::pose_from_sfr::PoseFromSFRBuilder::pass_4_redo_termini(), pose_residue_is_terminal(), and residue_types_from_sequence().
void core::pose::jumps_from_pose | ( | core::pose::Pose const & | pose, |
Jumps & | jumps | ||
) |
Retrieves jump information from <pose>, storing the result in <jumps>. Jumps are keyed by their jump id.
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
References core::pose::Pose::num_jump().
bool core::pose::just_modeling_RNA | ( | std::string const & | sequence | ) |
Referenced by core::import_pose::just_modeling_RNA().
core::id::AtomID_Map< platform::Real > core::pose::make_atom_map | ( | core::pose::Pose const & | p, |
PoseCoordPickMode | m | ||
) |
References core::conformation::Residue::atom_index(), core::conformation::Residue::has(), initialize_atomid_map(), core::conformation::Residue::is_polar(), core::conformation::Residue::natoms(), core::conformation::Residue::nbr_atom(), core::conformation::Residue::nheavyatoms(), PoseCoordPickMode_BB, PoseCoordPickMode_CA, PoseCoordPickMode_CB, PoseCoordPickMode_CB_else_CA, PoseCoordPickMode_HVY, PoseCoordPickMode_HVY_IF_NP, PoseCoordPickMode_N_C_O, PoseCoordPickMode_N_CA_C, PoseCoordPickMode_N_CA_C_CB, PoseCoordPickMode_NBR, core::pose::Pose::residue(), and core::pose::Pose::size().
Referenced by core::pose::xyzStripeHashPose::extract_pose_balls(), protocols::scoring::methods::TargetClashEnergy::finalize_total_energy(), protocols::motif_grafting::movers::MotifGraftMover::get_matching_fragments(), protocols::scoring::methods::TargetClashEnergy::initiate_voxel(), protocols::motif_grafting::movers::MotifGraftMover::test_epigraft_and_contextStructure_clashes(), and core::pose::xyzStripeHashPose::xyzStripeHashPose().
void core::pose::make_pose_from_saccharide_sequence | ( | pose::Pose & | pose, |
std::string const & | sequence, | ||
chemical::ResidueTypeSet const & | residue_set, | ||
bool const | auto_termini, | ||
bool const | idealize_linkages | ||
) |
Create a Pose from an annotated, linear, IUPAC polysaccharide sequence <sequence> with ResidueTypeSet <residue_set> and store it in <pose>.
[in] | <pose> | the Pose to fill |
[in] | <sequence> | an annotated IUPAC polysaccharide sequence, e.g., "alpha-D-Glcp-(1->4)-alpha-D-Glcp-(1->4)-D-Glcp" |
[in] | <residue_set> | the desired residue set |
[in] | <auto_termini> | if true (default) creates termini variants of terminal residues for the main chain |
Format for <sequence>:
Prefixes apply to the residue to which they are attached, below indicated by residue n.
Residues are listed from N to 1, where N is the total number of residues in the saccharide.
The sequence is parsed by reading to the next hyphen, so hyphens are crucial.
Linkage indication: "(a->x)-" specifies the linkage of residue n, where a is the anomeric carbon number of residue (n+1) and x is the oxygen number of residue n. The first residue listed in the annotated sequence (residue N) need not have the linkage prefix. A ->4) ResidueType will automatically be assigned by default if not specified.
Anomer indication: The strings "alpha-" or "beta-" are supplied next, which determines the stereochemistry of the anomeric carbon of the residue to which it is prefixed. An alpha ResidueType will automatically be assigned by default.
Stereochemical indication: "L-" or "D-" specifies whether residue n is an L- or D-sugar. The default is "D-".
3-Letter code: A three letter code (in sentence case) MUST be supplied next. This specifies the "base sugar name", e.g., Glc is for glucose. (A list of all recognized 3-letter codes for sugars can be found in database/chemical/carbohydrates/codes_to_roots.map.)
1-Letter suffix: If no suffix follows, residue n will be linear. If a letter is present, it indicates the ring size, where "f" is furanose, "p" is puranose, and "s" is septanose.
Branches are indicated using nested brackets and are best explained by example:
beta-D-Galp-(1->4)-[alpha-L-Fucp-(1->3)]-D-GlcpNAc is:
beta-D-Galp-(1->4)-D-GlcpNAc
|
alpha-L-Fucp-(1->3)
References append_pose_with_glycan_residues(), core::pose::Pose::chain_sequence(), core::pose::Pose::clear(), core::pose::Pose::conformation(), core::conformation::Conformation::contains_carbohydrate_residues(), core::chemical::ResidueTypeSet::get_residue_type_with_variant_added(), core::chemical::ResidueTypeSet::get_residue_type_with_variant_removed(), core::chemical::ResidueType::get_self_ptr(), core::pose::Pose::glycan_tree_set(), core::pose::carbohydrates::idealize_last_n_glycans_in_pose(), core::chemical::LOWER_TERMINUS_VARIANT, core::pose::Pose::pdb_info(), residue_types_from_saccharide_sequence(), core::conformation::Conformation::setup_glycan_trees(), TR(), and core::chemical::UPPER_TERMINUS_VARIANT.
Referenced by make_pose_from_saccharide_sequence(), and pose_from_saccharide_sequence().
void core::pose::make_pose_from_saccharide_sequence | ( | pose::Pose & | pose, |
std::string const & | sequence, | ||
std::string const & | type_set_name, | ||
bool const | auto_termini, | ||
bool const | idealize_linkages | ||
) |
Create a Pose from an annotated, linear, IUPAC polysaccharide sequence <sequence> with residue type set name <type_set_name> and store it in <pose>.
Overloaded version of make_pose_from_saccharide_sequence() that takes the string name for a residue type set instead of a ResidueTypeSet object. A convenience method for PyRosetta.
References make_pose_from_saccharide_sequence().
void core::pose::make_pose_from_sequence | ( | pose::Pose & | pose, |
chemical::ResidueTypeCOPs | requested_types, | ||
bool const | auto_termini = true |
||
) |
Creates a Pose from the annotated protein sequence <sequence> with ResidueTypeSet <residue_set> and stores it in <pose>
example(s): make_pose_from_sequence(pose,"THANKSEVAN",core::chemical::FA_STANDARD) See also: Pose PDBInfo pose_from_pdb pose_from_rcsb pose_from_sequence
References core::chemical::aa_h2o, core::chemical::aa_unk, core::chemical::aa_vrt, core::pose::Pose::annotated_sequence(), core::pose::Pose::append_residue_by_atoms(), core::pose::Pose::append_residue_by_bond(), core::pose::Pose::append_residue_by_jump(), core::chemical::ResidueType::atom_name(), core::pose::Pose::clear(), core::conformation::ResidueFactory::create_residue(), core::chemical::ResidueTypeBase::has_variant_type(), core::chemical::ResidueType::is_lower_terminus(), core::chemical::ResidueTypeBase::is_polymer(), core::chemical::ResidueTypeBase::is_RNA(), core::chemical::ResidueType::is_upper_terminus(), core::chemical::N_ACETYLATION, core::pose::Pose::residue_type(), core::pose::Pose::sequence(), core::pose::Pose::size(), TR(), and core::chemical::ResidueType::upper_connect_atom().
Referenced by protocols::comparative_modeling::AlignmentClustering::AlignmentClustering(), core::fragment::rna::analyze_for_homology(), protocols::domain_assembly::CombineChainsMover::apply(), protocols::loop_grower::LoopGrower::apply(), protocols::pose_creation::ExtendedPoseMover::apply(), protocols::membrane::HelixFromSequence::apply(), protocols::pose_creation::PoseFromSequenceMover::apply(), protocols::rna::movers::RNA_Decoarsify::apply(), protocols::stepwise::monte_carlo::mover::FromScratchMover::apply(), protocols::loops::loop_closure::ccd::ShortLoopClosure::apply(), core::pose::rna::assert_phosphate_nomenclature_matches_mini(), core::import_pose::RNA_HelixAssembler::build_init_pose(), protocols::noesy_assign::FragsToAtomDist::compute_average_distances(), protocols::simple_moves::ConcatenatePosesMover::concatenate_poses(), protocols::pack_daemon::create_entity_resfile_contents(), protocols::simple_moves::ConstrainToIdealMover::create_pose_reference(), protocols::pose_sewing::data_storage::PoseWithTerminalSegmentsOfKnownDSSP::create_source_pose_for_segment(), core::import_pose::RNA_DeNovoSetup::de_novo_setup_from_command_line_legacy(), core::import_pose::RNA_DeNovoSetup::de_novo_setup_from_options(), protocols::forge::build::BuildManager::dummy_modify(), protocols::rna::denovo::ensure_phosphate_nomenclature_matches_mini(), core::io::raw_data::DecoyStruct::fill_pose(), core::io::silent::BinarySilentStruct::fill_pose(), core::io::silent::ProteinSilentStruct_Template< T >::fill_pose(), core::io::silent::RNA_SilentStruct::fill_pose(), core::import_pose::pose_stream::ExtendedPoseInputStream::fill_pose(), protocols::frag_picker::scores::FragmentAllAtomCrmsd::FragmentAllAtomCrmsd(), protocols::frag_picker::scores::FragmentChunkCrms::FragmentChunkCrms(), protocols::stepwise::sampler::protein::generate_beta_database_test(), protocols::abinitio::AbrelaxApplication::generate_extended_pose(), protocols::star::generate_extended_pose(), core::pack::guidance_scoreterms::sap::SapDatabase::generate_max_sasa(), protocols::mainchain_potential::GenerateMainchainPotential::generate_pose(), protocols::indexed_structure_store::initial_pose_for_residues(), protocols::rna::denovo::movers::RNA_DeNovoProtocolMover::initial_pose_setup(), protocols::stepwise::monte_carlo::submotif::SubMotifLibrary::initialize_from_jump_library(), protocols::stepwise::modeler::protein::StepWiseProteinBackboneSampler::initialize_ghost_pose(), protocols::topology_broker::TopologyBroker::initialize_sequence(), protocols::features::PoseConformationFeatures::load_sequence(), core::import_pose::make_extended_coarse_pose(), protocols::stepwise::legacy::modeler::rna::StepWiseRNA_PoseSetup::make_extended_pose(), protocols::stepwise::legacy::modeler::protein::StepWiseProteinPoseSetup::make_full_pose(), core::pose::rna::make_phosphate_nomenclature_matches_mini(), protocols::helical_bundle_predict::HelicalBundlePredictApplication::make_pose_from_fasta_contents(), core::fragment::make_pose_from_frags(), make_pose_from_sequence(), protocols::topology_broker::SequenceClaimer::make_sequence_claim(), protocols::comparative_modeling::ThreadingJobInputter::pose_from_job(), protocols::jd2::LargeNstructJobInputter::pose_from_job(), protocols::abinitio::IterativeBase::reassign_noesy_data(), core::fragment::FragmentRmsd::rmsd(), protocols::abinitio::run_boinc_debug(), protocols::frag_picker::scores::RDCScore::score(), protocols::rna::denovo::RNA_DeNovoPoseInitializer::setup_fold_tree_through_build_full_model_info(), protocols::pose_sewing::data_storage::PoseWithTerminalSegmentsOfKnownDSSP::store_reference_pdb(), protocols::topology_broker::SymmetryClaimer::symmetry_duplicate(), protocols::legacy_sewing::Assembly::to_multichain_pose(), protocols::legacy_sewing::Assembly::to_pose(), protocols::sewing::data_storage::SmartAssembly::to_pose(), core::pose::full_model_info::FullModelParameters::update_pose_and_cst_set_from_cst_string(), and protocols::frag_picker::VallProvider::vallChunksFromLibrary().
void core::pose::make_pose_from_sequence | ( | pose::Pose & | pose, |
std::string const & | sequence_in, | ||
std::string const & | type_set_name, | ||
bool const | auto_termini, | ||
bool const | metapatches | ||
) |
Creates a Pose from the annotated protein sequence <sequence> with the desired <type_set_name> and stores it in <pose>
overloaded version of make_pose_from_sequence, does the same function, but reads in a string of the residue type set instead of a ResidueTypeSet object.
References make_pose_from_sequence().
void core::pose::make_pose_from_sequence | ( | pose::Pose & | pose, |
std::string const & | sequence_in, | ||
chemical::ResidueTypeSet const & | residue_set, | ||
bool const | auto_termini, | ||
bool const | metapatches | ||
) |
Given a Pose, a protein sequence where each character represents an amino acid, and a ResidueTypeSet, give the Pose a conformation of covalently linked residues that match the sequence. NOTE: support making pose from a fully annotated sequence now, that is, for each residue variant or ligand which cannot be deduced from one letter code directly, a [] is added directly following the one letter code containing the residue's fullname, e.g. K[lys:NtermProteinFull]ADFGCH[HIS_D]QNVE[glu:CtermProteinFull]Z[ZN]. This allows a pose to be constructed with full features from a silent output file, such as with distinguished HIS tautomers, various chain termini and cutpoint variants etc. Currently not working with disulfide variant CYD, but this is on to-do list.
References annotated_to_oneletter_sequence(), make_pose_from_sequence(), and residue_types_from_sequence().
void core::pose::make_pose_from_sequence | ( | pose::Pose & | pose, |
std::string const & | sequence_in, | ||
chemical::ResidueTypeSetCOP | residue_set, | ||
bool const | auto_termini, | ||
bool const | metapatches | ||
) |
Given a Pose, a protein sequence where each character represents an amino acid, and a ResidueTypeSet, give the Pose a conformation of covalently linked residues that match the sequence. NOTE: support making pose from a fully annotated sequence now, that is, for each residue variant or ligand which cannot be deduced from one letter code directly, a [] is added directly following the one letter code containing the residue's fullname, e.g. K[lys:NtermProteinFull]ADFGCH[HIS_D]QNVE[glu:CtermProteinFull]Z[ZN]. This allows a pose to be constructed with full features from a silent output file, such as with distinguished HIS tautomers, various chain termini and cutpoint variants etc. Currently not working with disulfide variant CYD, but this is on to-do list.
References annotated_to_oneletter_sequence(), make_pose_from_sequence(), and residue_types_from_sequence().
ResidueIndexDescriptionCOP core::pose::make_rid_posenum | ( | core::Size | resnum | ) |
Convenience function for converting a Size (Pose numbered) into a ResidueIndexDescription.
Referenced by protocols::pose_metric_calculators::FragQualCalculator::begin(), protocols::calc_taskop_movers::ForceDisulfidesMover::disulfides(), protocols::pose_metric_calculators::FragQualCalculator::end(), protocols::simple_filters::StemFinder::from_res(), protocols::splice::Splice::from_res(), protocols::protein_interface_design::movers::LoopLengthChange::loop_cut(), protocols::protein_interface_design::movers::LoopLengthChange::loop_end(), protocols::protein_interface_design::movers::LoopLengthChange::loop_start(), protocols::simple_moves::Tumble::parse_my_tag(), protocols::rigid::RollMover::parse_my_tag(), parse_resnum(), protocols::protein_interface_design::filters::Torsion::resnum(), protocols::simple_moves::sidechain_moves::SetChiMover::resnum(), protocols::pose_metric_calculators::FragQualCalculator::set_region(), protocols::moves::ResId::set_resid(), protocols::rigid::RigidBodyTiltMover::tilt1_center(), protocols::rigid::RigidBodyTiltMover::tilt2_center(), protocols::simple_filters::StemFinder::to_res(), and protocols::splice::Splice::to_res().
core::Real core::pose::mass | ( | core::Size | begin, |
core::Size const | end, | ||
core::pose::Pose const & | pose | ||
) |
References core::sequence::end, core::chemical::ResidueType::mass(), core::pose::Pose::residue(), and core::conformation::Residue::type().
Referenced by protocols::ligand_docking::MolarMassFilter::apply(), protocols::ligand_docking::MolecularMassFilter::apply(), protocols::md::CartesianMD::do_MD(), protocols::md::Thermostat::get_temperature(), protocols::md::CartesianMD::initialize_velocity(), core::scoring::TenANeighborNode::neighbor_mass(), protocols::md::Thermostat::rescale(), protocols::toolbox::reset_x(), protocols::md::Rattle::run_rattle1(), protocols::md::Rattle::run_rattle2(), core::scoring::nmr::pre::PREMultiSet::set_protein_mass(), protocols::cartesian::MolecularDynamics::setInitialSpeeds(), core::util::switch_to_centroid_rot_set(), and protocols::md::CartesianMD::VelocityVerlet_Integrator().
id::AtomID core::pose::named_atom_id_to_atom_id | ( | core::id::NamedAtomID const & | named_atom_id, |
Pose const & | pose, | ||
bool | raise_exception | ||
) |
returns an AtomID corresponding to your NamedAtomID check for a valid AtomID after this. following conditions return invalid ID : rsd > size atom not present in residue ( e.g., no CB in GLY )
References core::id::NamedAtomID::atom(), core::chemical::ResidueType::atom_index(), core::id::GLOBAL_BOGUS_ATOM_ID, core::chemical::ResidueType::has(), core::chemical::ResidueTypeBase::name(), core::chemical::ResidueType::nheavyatoms(), core::pose::Pose::residue_type(), core::id::NamedAtomID::rsd(), core::chemical::ResidueType::show_all_atom_names(), core::pose::Pose::size(), TR(), and core::id::NamedAtomID::valid().
Referenced by protocols::abinitio::AlternativePairings::build_constraints(), core::import_pose::RNA_BasePairHandler::check_base_pairs(), core::pose::toolbox::AtomLevelDomainMap::get_domain(), core::scoring::nmr::lookup_pseudoprotons(), core::scoring::constraints::AmbiguousNMRDistanceConstraint::map_to_CEN(), core::scoring::constraints::Obsolet_NamedAtomPairConstraint::mapto(), named_stub_id_to_stub_id(), core::scoring::constraints::parse_NMR_name(), core::scoring::constraints::parse_NMR_name_old(), core::scoring::constraints::LocalCoordinateConstraint::read_def(), core::scoring::constraints::DihedralConstraint::read_def(), core::scoring::constraints::DihedralPairConstraint::read_def(), core::scoring::constraints::DistancePairConstraint::read_def(), core::scoring::constraints::NamedAngleConstraint::read_def(), core::scoring::constraints::NamedAtomPairConstraint::read_def(), core::scoring::constraints::NamedDihedralConstraint::read_def(), core::scoring::constraints::AmbiguousNMRDistanceConstraint::remapped_clone(), core::scoring::constraints::DihedralConstraint::remapped_clone(), core::scoring::constraints::DihedralPairConstraint::remapped_clone(), core::scoring::constraints::DistancePairConstraint::remapped_clone(), core::scoring::constraints::LocalCoordinateConstraint::remapped_clone(), core::scoring::constraints::NamedAngleConstraint::remapped_clone(), core::scoring::constraints::NamedAtomPairConstraint::remapped_clone(), core::scoring::constraints::NamedDihedralConstraint::remapped_clone(), core::scoring::constraints::RTConstraint::remapped_clone(), core::pose::toolbox::AtomLevelDomainMap::set(), core::pose::toolbox::AtomLevelDomainMap::set_domain(), core::pose::toolbox::AtomLevelDomainMap::set_phosphate_domain(), core::pose::toolbox::AtomLevelDomainMap::set_sugar_domain(), core::pose::Pose::set_xyz(), core::import_pose::RNA_BasePairHandler::setup_base_pair_constraints(), protocols::stepwise::modeler::protein::setup_protein_backbone_atom_id_map(), and core::pose::toolbox::AtomLevelDomainMap::update_to_not_move_virtual_o2prime().
id::StubID core::pose::named_stub_id_to_stub_id | ( | id::NamedStubID const & | named_stub_id, |
core::pose::Pose const & | pose | ||
) |
References core::id::NamedStubID::atom(), core::id::NamedStubID::center(), named_atom_id_to_atom_id(), and core::id::NamedAtomID::valid().
Referenced by core::fragment::DownJumpSRFD::apply(), protocols::toolbox::DecoySetEvaluation::create_xyz_constraints_median(), protocols::forge::build::ConnectRight::extract_rt(), core::io::silent::BinarySilentStruct::fill_pose(), core::io::silent::ProteinSilentStruct_Template< T >::fill_pose(), protocols::forge::build::ConnectRight::modify_impl(), core::scoring::constraints::LocalCoordinateConstraint::read_def(), protocols::jumping::MembraneJump::rt_templates(), protocols::topology_broker::CoordConstraintClaimer::set_cst_root(), protocols::jumping::PairingLibrary::set_tmh_jump(), core::fragment::DownJumpSRFD::steal(), and core::pose::Pose::stub_from_id().
core::Size core::pose::noncanonical_atom_count | ( | core::pose::Pose const & | pose | ) |
count the number of non-canonical amino acids in thepose
References core::pose::Pose::begin(), and core::pose::Pose::end().
core::Size core::pose::noncanonical_chi_count | ( | core::pose::Pose const & | pose | ) |
count the number of non-canonical chi angles in the pose
References core::pose::Pose::begin(), and core::pose::Pose::end().
core::Size core::pose::noncanonical_residue_count | ( | core::pose::Pose const & | pose | ) |
count the number of non-canonical residues in the pose
References core::pose::Pose::begin(), and core::pose::Pose::end().
core::Size core::pose::nres_protein | ( | pose::Pose const & | pose | ) |
Number of protein residues in the pose.
No virtuals, membrane residues or embedding residues counted
References core::pose::Pose::begin(), and core::pose::Pose::end().
Referenced by protocols::cryst::MakeLatticeMover::add_monomers_to_lattice(), protocols::cryst::MakeLayerMover::add_monomers_to_layer(), protocols::docking::membrane::MPFindInterfaceMover::apply(), protocols::membrane::AqueousPoreFinder::apply(), protocols::membrane::MPLipidAccessibility::apply(), protocols::membrane::MPQuickRelaxMover::apply(), protocols::relax::membrane::MPRangeRelaxMover::apply(), protocols::relax::RangeRelaxMover::apply(), protocols::docking::membrane::MPFindInterfaceMover::calculate_interface_SASA(), protocols::relax::RangeRelaxMover::constrain_to_reference(), protocols::membrane::MPLipidAccessibility::fill_up_slices(), protocols::membrane::MPLipidAccessibility::finalize_setup(), protocols::relax::RangeRelaxMover::finalize_setup(), protocols::docking::membrane::MPFindInterfaceMover::fractions_small_residues(), get_pdb2pose_numbering_as_stdmap(), protocols::membrane::MPMutateRelaxMover::get_repack_residues(), core::pack::get_rotamer_angle_diffs(), protocols::relax::RangeRelaxMover::get_spherical_repack_residues(), protocols::relax::RangeRelaxMover::idealize_pose(), protocols::membrane::MPQuickRelaxMover::init_from_cmd(), protocols::membrane::MPLipidAccessibility::protein_in_membrane(), core::scoring::sasa::rel_per_res_sc_sasa(), core::energy_methods::MPHelicalityEnergy::residue_energy(), core::pack::residue_rotamer_recovery(), core::pack::rotamer_recovery(), protocols::membrane::rsd_closest_to_chain_com(), protocols::membrane::rsd_closest_to_chain_tm_com(), protocols::membrane::rsd_closest_to_pose_tm_com(), protocols::simple_moves::ShakeStructureMover::setup_ca_constraints(), protocols::simple_moves::PeriodicBoxMover::setup_pose(), protocols::relax::RepeatProteinRelax::setup_repeat_pose(), protocols::relax::RepeatProteinRelax::setup_repeat_pose_jumping(), protocols::cryst::MakeLatticeMover::setup_xtal_symminfo(), protocols::cryst::MakeLayerMover::setup_xtal_symminfo(), protocols::membrane::split_topology_by_chain_noshift(), and protocols::membrane::split_topology_by_jump().
core::Size core::pose::num_atoms | ( | core::Size | begin, |
core::Size const | end, | ||
core::pose::Pose const & | pose | ||
) |
References core::sequence::end, core::conformation::Residue::natoms(), core::pose::Pose::residue(), and TR().
Referenced by core::conformation::annotated_atom_graph_from_conformation(), protocols::ligand_docking::AtomCountFilter::apply(), core::conformation::atom_graph_from_conformation(), core::scoring::biggest_residue_deviation_no_super(), core::scoring::biggest_residue_deviation_no_super_subset(), core::scoring::MultipoleElecPotential::calculate_and_store_all_derivs(), core::scoring::fiber_diffraction::centroid_scatter(), protocols::pockets::PocketGrid::GetExemplarNumAtoms(), protocols::stepwise::modeler::rna::print_heavy_atoms(), core::scoring::residue_sc_rmsd_no_super(), core::pack::interaction_graph::RotamerDotsCache::resize(), core::scoring::rmsd_no_super(), core::scoring::rmsd_with_super(), core::pack::interaction_graph::RotamerDotsCache::RotamerDotsCache(), and core::scoring::sym_rmsd_with_super_subset().
core::Size core::pose::num_chi_angles | ( | core::Size | begin, |
core::Size const | end, | ||
core::pose::Pose const & | pose | ||
) |
core::Size core::pose::num_hbond_acceptors | ( | core::Size | begin, |
core::Size const | end, | ||
core::pose::Pose const & | pose | ||
) |
core::Size core::pose::num_hbond_donors | ( | core::Size | begin, |
core::Size const | end, | ||
core::pose::Pose const & | pose | ||
) |
References core::sequence::end, core::conformation::Residue::n_hbond_donors(), core::pose::Pose::residue(), and TR().
Referenced by protocols::ligand_docking::HBondDonorFilter::apply().
core::Size core::pose::num_heavy_atoms | ( | core::Size | begin, |
core::Size const | end, | ||
core::pose::Pose const & | pose | ||
) |
References core::sequence::end, core::conformation::Residue::nheavyatoms(), core::pose::Pose::residue(), and TR().
Referenced by core::scoring::rna::RNA_LowResolutionPotential::check_for_base_neighbor(), protocols::ligand_docking::Rotate::create_random_rotations(), protocols::ligand_docking::passes_filters(), and protocols::ligand_docking::HeavyAtomFilter::report_sm().
std::ostream & core::pose::operator<< | ( | std::ostream & | os, |
core::pose::UnrecognizedAtomRecord const & | uar | ||
) |
std::ostream & core::pose::operator<< | ( | std::ostream & | os, |
PDBInfo const & | info | ||
) |
References core::pose::PDBInfo::show().
std::ostream & core::pose::operator<< | ( | std::ostream & | os, |
Pose const & | pose | ||
) |
Test IO operator for debug and Python bindings.
References core::pose::Pose::conformation(), core::pose::full_model_info::const_full_model_info(), core::pose::Pose::fold_tree(), core::pose::full_model_info::full_model_info_defined(), core::pose::full_model_info::FullModelInfo::full_model_parameters(), core::conformation::Conformation::is_membrane(), core::conformation::Conformation::membrane_info(), core::pose::Pose::pdb_info(), core::pose::Pose::sequence(), and core::pose::Pose::size().
std::ostream & core::pose::operator<< | ( | std::ostream & | out, |
ResidueIndexDescription const & | rid | ||
) |
void core::pose::parse_PDBnum_icode | ( | std::string const & | token, |
std::string const & | fname, | ||
Size const | lineno, | ||
int & | PDBnum, | ||
char & | icode | ||
) |
Take the string "token" and try to interpret it as a PDB identifier in the form of an integer as well as an optional insertion code. For example the string "25A" would be interpretted as the residue 25 with the insertion code "A." Throws an exception if the input string is misformatted.
References character_is_USA_letter().
Referenced by core::pack::task::ResfileContents::parse_resid().
ResidueIndexDescriptionCOP core::pose::parse_resnum | ( | std::string const & | resnum, |
bool const | check_for_refpose = false |
||
) |
Creates a ResidueIndexDescription from a string @detail Recognizes three forms of numbering:
Reference pose numbers. These have the form refpose([refpose name], [refpose number]). In addition, relative numbers are permitted (of the form +[number] or -[number]) in conjunction with reference pose numbering. For example, one might say "refpose(state1,17)+3", which means three residues past the residue correpsonding to residue 17 in the reference pose called "state1".
References is_referencepose_number(), make_rid_posenum(), and TR().
Referenced by protocols::splice::SpliceOut::abstract_parse_tag(), protocols::splice::SpliceOutTail::abstract_parse_tag(), protocols::sewing::hashing::AlignmentFileGeneratorMover::add_pose_segments_to_segment_vector(), protocols::canonical_sampling::MetricRecorder::add_torsion(), protocols::seeded_abinitio::adjust_des_residues(), protocols::seeded_abinitio::adjust_residues(), protocols::seeded_abinitio::adjust_single_residues(), protocols::abinitio::DomainAssembly::apply(), protocols::carbohydrates::SimpleGlycosylateMover::apply(), protocols::grafting::AnchoredGraftMover::apply(), protocols::grafting::CCDEndsGraftMover::apply(), protocols::grafting::simple_movers::InsertPoseIntoPoseMover::apply(), protocols::grafting::simple_movers::KeepRegionMover::apply(), protocols::grafting::simple_movers::ReplaceRegionMover::apply(), protocols::loophash::LoopHashDiversifier::apply(), protocols::loophash::LoopHashMoverWrapper::apply(), protocols::protein_interface_design::movers::AddChainBreak::apply(), protocols::protein_interface_design::movers::HotspotHasherMover::apply(), protocols::protein_interface_design::movers::LoopFinder::apply(), protocols::protein_interface_design::movers::LoopRemodel::apply(), protocols::protein_interface_design::movers::PeptideStapleDesignMover::apply(), protocols::protein_interface_design::movers::SetAtomTree::apply(), protocols::protein_interface_design::movers::TryRotamers::apply(), protocols::seeded_abinitio::SegmentHybridizer::apply(), protocols::simple_moves::MutateResidue::apply(), protocols::simple_moves::SimpleThreadingMover::apply(), core::select::residue_selector::GlycanResidueSelector::apply(), protocols::protein_interface_design::filters::HbondsToResidueFilter::apply(), protocols::simple_filters::ResidueBurialFilter::apply(), protocols::ligand_docking::ga_ligand_dock::GALigandDock::apply(), protocols::protein_interface_design::movers::TaskAwareCsts::apply(), protocols::docking::DockingInitialPerturbation::apply_body(), protocols::simple_filters::EnergyPerResidueFilter::apply_helper(), protocols::enzdes::EnzScoreFilter::compute(), protocols::enzdes::DiffAtomSasaFilter::compute(), protocols::protein_interface_design::filters::HbondsToAtomFilter::compute(), protocols::simple_filters::EnergyPerResidueFilter::compute(), protocols::simple_filters::NeighborTypeFilter::compute(), protocols::simple_filters::ResidueBurialFilter::compute(), protocols::simple_filters::ResidueDistanceFilter::compute(), protocols::simple_filters::SidechainRmsdFilter::compute(), protocols::simple_filters::SimpleHbondsToAtomFilter::compute(), protocols::calc_taskop_filters::RelativePoseFilter::get_alignment(), protocols::constraint_generator::MetalContactsConstraintGenerator::get_ligand_resnum(), protocols::mpi_refinement::get_loop_info_full(), get_resnum_list(), get_resnum_list_ordered(), protocols::canonical_sampling::MetricRecorder::get_torsion_ids(), core::scoring::epr_deer::DEERIO::parse_desc_lines(), protocols::pose_metric_calculators::FragQualCalculator::parse_my_tag(), protocols::simple_moves::Tumble::parse_my_tag(), protocols::rigid::RollMover::parse_my_tag(), protocols::protein_interface_design::filters::Torsion::parse_my_tag(), protocols::protein_interface_design::movers::LoopLengthChange::parse_my_tag(), protocols::rigid::RigidBodyTiltMover::parse_my_tag(), protocols::seeded_abinitio::CAcstGenerator::parse_my_tag(), protocols::seeded_abinitio::GrowPeptides::parse_my_tag(), protocols::seeded_abinitio::SwapSegment::parse_my_tag(), protocols::simple_filters::AtomicContactFilter::parse_my_tag(), protocols::simple_filters::AtomicDistanceFilter::parse_my_tag(), protocols::simple_filters::SSMotifFinder::parse_my_tag(), protocols::simple_filters::StemFinder::parse_my_tag(), protocols::simple_moves::sidechain_moves::SetChiMover::parse_my_tag(), protocols::splice::Splice::parse_my_tag(), protocols::splice::SpliceOut::parse_my_tag(), protocols::frag_picker::FragmentScoreFilter::parse_my_tag(), protocols::membrane::AddMembraneMover::parse_my_tag(), protocols::protein_interface_design::movers::VLB::parse_my_tag(), protocols::rbsegment_relax::IdealizeHelicesMover::parse_my_tag(), protocols::calc_taskop_movers::ForceDisulfidesMover::parse_my_tag(), core::pose::PDBInfo::parse_pdbinfo_labels(), parse_resnum(), protocols::seeded_abinitio::parse_seeds(), parse_selection_block(), protocols::seeded_abinitio::parse_spans(), protocols::task_operations::PreventResiduesFromRepackingOperation::parse_tag(), protocols::task_operations::RestrictIdentitiesAtAlignedPositionsOperation::parse_tag(), protocols::task_operations::RestrictResiduesToRepackingOperation::parse_tag(), protocols::task_operations::RestrictToAlignedSegmentsOperation::parse_tag(), core::scoring::epr_deer::DEERIO::pull_coords(), protocols::protein_interface_design::filters::HbondsToResidueFilter::report(), protocols::simple_filters::ResidueBurialFilter::report(), protocols::protein_interface_design::filters::HbondsToResidueFilter::report_sm(), protocols::loops::serialized_loops_from_string(), and core::select::residue_selector::ResidueSpanSelector::set_span().
core::Size core::pose::parse_resnum | ( | std::string const & | resnum, |
core::pose::Pose const & | pose, | ||
bool const | check_for_refpose = false |
||
) |
Extracts a residue number from a string. @detail Recognizes three forms of numbering:
Reference pose numbers. These have the form refpose([refpose name], [refpose number]). In addition, relative numbers are permitted (of the form +[number] or -[number]) in conjunction with reference pose numbering. For example, one might say "refpose(state1,17)+3", which means three residues past the residue correpsonding to residue 17 in the reference pose called "state1".
References parse_resnum().
utility::vector1<core::Size> core::pose::parse_selection_block | ( | std::string const & | sele, |
core::pose::Pose const & | pose | ||
) |
Extracts residue numbers from a 'selection'. @detail Recognizes two forms of numbering:
References core::conformation::Residue::name3(), parse_resnum(), core::pose::Pose::residue(), and core::pose::Pose::size().
Referenced by get_resnum_list(), and get_resnum_list_ordered().
void core::pose::parse_sequence | ( | std::string const & | sequence_in, |
utility::vector1< std::string > & | fullname_list, | ||
std::vector< Size > & | oneletter_to_fullname_index, | ||
std::string & | one_letter_sequence | ||
) |
parse the annotated sequence.
Parse the input annotated sequence.
References protocols::cluster::calibur::aa, and TR().
Referenced by core::import_pose::libraries::ChunkSet::filter_poses_have_same_sequence_and_variants(), get_sequence_len(), core::import_pose::look_for_dna(), core::sequence::parse_out_non_standard_residues(), and residue_types_from_sequence().
utility::vector1< int > core::pose::partition_pose_by_jump | ( | pose::Pose const & | src, |
int const | jump_number, | ||
pose::Pose & | partner1, | ||
pose::Pose & | partner2 | ||
) |
References create_subpose(), core::pose::Pose::fold_tree(), core::kinematics::FoldTree::partition_by_jump(), core::pose::Pose::size(), and TR().
Referenced by protocols::docking::DockingEnsemblePrepackProtocol::apply(), protocols::splice::DesignInterfacesOperation::apply(), protocols::simple_filters::BuriedUnsatHbondFilter::get_deep_apo_atoms(), protocols::docking::move_together(), and protocols::membrane::split_topology_by_jump().
Size core::pose::pdb_to_pose | ( | pose::Pose const & | pose, |
int const | res_num, | ||
char const | chain | ||
) |
Convert PDB numbering to pose numbering. Must exist somewhere else, but I couldn't find it. – rhiju.
References core::pose::Pose::pdb_info(), and core::pose::Pose::size().
Referenced by protocols::magnesium::get_hoh_xyz(), and protocols::magnesium::get_hydration_stats().
utility::vector1< Size > core::pose::pdb_to_pose | ( | pose::Pose const & | pose, |
std::tuple< utility::vector1< int >, utility::vector1< char >, utility::vector1< std::string > > const & | pdb_res | ||
) |
Convert PDB numbering to pose numbering. Must exist somewhere else, but I couldn't find it. – rhiju.
Convert PDB numbering/chain to pose numbering. Must exist somewhere else, but I couldn't find it. – rhiju.
References pdb_to_pose().
utility::vector1< Size > core::pose::pdb_to_pose | ( | pose::Pose const & | pose, |
utility::vector1< int > const & | pdb_res | ||
) |
Convert PDB numbering to pose numbering. Must exist somewhere else, but I couldn't find it. – rhiju.
References core::pose::Pose::pdb_info(), and core::pose::Pose::size().
Referenced by pdb_to_pose().
void core::pose::pdbslice | ( | core::pose::Pose & | new_pose, |
core::pose::Pose const & | pose, | ||
utility::vector1< core::Size > const & | slice_res | ||
) |
Create a subpose of the src pose – figures out a reasonable fold tree.
References core::pose::Pose::append_residue_by_bond(), core::pose::Pose::append_residue_by_jump(), core::chemical::rna::chi1_torsion_atom(), core::pose::Pose::clear(), core::conformation::Residue::clone(), core::pose::full_model_info::FullModelInfo::clone_info(), core::pose::full_model_info::const_full_model_info(), core::pose::Pose::fold_tree(), core::pose::full_model_info::full_model_info_defined(), core::kinematics::FoldTree::is_cutpoint(), core::chemical::ResidueTypeBase::is_RNA(), core::chemical::N_ACETYLATION, core::pose::Pose::pdb_info(), core::pose::Pose::residue(), core::pose::Pose::residue_type(), core::pose::full_model_info::set_full_model_info(), core::pose::Pose::size(), tag_from_pose(), and tag_into_pose().
Referenced by core::import_pose::RNA_DeNovoSetup::de_novo_setup_from_options(), protocols::simple_moves::RepeatPropagationMover::determine_overlap(), protocols::pose_creation::MergePDBMover::determine_overlap(), protocols::stepwise::modeler::align::StepWiseLegacyClusterer::do_some_clustering(), protocols::stepwise::modeler::align::StepWiseLegacyClustererSilentBased::do_some_clustering(), protocols::simple_moves::RepeatPropagationMover::generate_overlap(), protocols::simple_ddg::SSElementBisectddGFilter::get_ddg_bisect_score(), protocols::rna::denovo::movers::RNA_DeNovoProtocolMover::initial_pose_setup(), protocols::stepwise::legacy::modeler::protein::StepWiseProteinPoseSetup::make_pose(), protocols::pose_creation::MergePDBatOverlapMover::merge_poses(), protocols::pose_creation::SliceToMiniProteinMover::parse_chunks(), pdbslice(), core::import_pose::reorder_pose(), protocols::stepwise::modeler::working_parameters::setup_working_parameters_for_swa(), protocols::pose_sewing::data_storage::TerminalDSSPSortedPoseVector::store_pose(), protocols::magnesium::strip_out_magnesiums(), and protocols::pose_creation::SliceToMiniProteinMover::trim_chunks().
void core::pose::pdbslice | ( | core::pose::Pose & | pose, |
utility::vector1< core::Size > const & | slice_res | ||
) |
Create a subpose of the src pose – figures out a reasonable fold tree.
References pdbslice(), and core::pose::Pose::size().
void core::pose::pdbslice | ( | pose::Pose & | new_pose, |
pose::Pose const & | pose, | ||
utility::vector1< Size > const & | slice_res | ||
) |
Create a subpose of the src pose – figures out a reasonable fold tree.
References core::pose::Pose::append_residue_by_bond(), core::pose::Pose::append_residue_by_jump(), core::chemical::rna::chi1_torsion_atom(), core::pose::Pose::clear(), core::conformation::Residue::clone(), core::pose::full_model_info::FullModelInfo::clone_info(), core::pose::full_model_info::const_full_model_info(), core::pose::Pose::fold_tree(), core::pose::full_model_info::full_model_info_defined(), core::kinematics::FoldTree::is_cutpoint(), core::chemical::ResidueTypeBase::is_RNA(), core::chemical::N_ACETYLATION, core::pose::Pose::pdb_info(), core::pose::Pose::residue(), core::pose::Pose::residue_type(), core::pose::full_model_info::set_full_model_info(), core::pose::Pose::size(), tag_from_pose(), and tag_into_pose().
Referenced by core::import_pose::RNA_DeNovoSetup::de_novo_setup_from_options(), protocols::simple_moves::RepeatPropagationMover::determine_overlap(), protocols::pose_creation::MergePDBMover::determine_overlap(), protocols::stepwise::modeler::align::StepWiseLegacyClusterer::do_some_clustering(), protocols::stepwise::modeler::align::StepWiseLegacyClustererSilentBased::do_some_clustering(), protocols::simple_moves::RepeatPropagationMover::generate_overlap(), protocols::simple_ddg::SSElementBisectddGFilter::get_ddg_bisect_score(), protocols::rna::denovo::movers::RNA_DeNovoProtocolMover::initial_pose_setup(), protocols::stepwise::legacy::modeler::protein::StepWiseProteinPoseSetup::make_pose(), protocols::pose_creation::MergePDBatOverlapMover::merge_poses(), protocols::pose_creation::SliceToMiniProteinMover::parse_chunks(), pdbslice(), core::import_pose::reorder_pose(), protocols::stepwise::modeler::working_parameters::setup_working_parameters_for_swa(), protocols::pose_sewing::data_storage::TerminalDSSPSortedPoseVector::store_pose(), protocols::magnesium::strip_out_magnesiums(), and protocols::pose_creation::SliceToMiniProteinMover::trim_chunks().
void core::pose::pdbslice | ( | pose::Pose & | pose, |
utility::vector1< Size > const & | slice_res | ||
) |
Create a subpose of the src pose – figures out a reasonable fold tree.
References pdbslice(), and core::pose::Pose::size().
pose::PoseOP core::pose::pose_from_saccharide_sequence | ( | std::string const & | sequence, |
std::string const & | type_set_name, | ||
bool const | auto_termini, | ||
bool const | idealize_linkages | ||
) |
Return a Pose from an annotated, linear, IUPAC polysaccharide sequence <sequence> with residue type set name <type_set_name>.
A convenience method for PyRosetta.
References make_pose_from_saccharide_sequence().
core::Real core::pose::pose_max_nbr_radius | ( | pose::Pose const & | pose | ) |
returns a Distance
References core::chemical::ResidueType::nbr_radius(), core::conformation::Residue::nbr_radius(), core::pose::Pose::residue(), core::pose::Pose::residue_type(), and core::pose::Pose::size().
Referenced by core::pack::interaction_graph::SurfacePotential::compute_pose_hpatch_score(), core::scoring::Energies::fill_point_graph(), core::scoring::solid_surface::SurfaceEnergies::fill_point_graph(), core::scoring::symmetry::SymmetricEnergies::fill_point_graph(), and core::scoring::NeighborList::setup().
returns true if the given residue in the pose is a chain ending or has upper/lower terminal variants
References is_lower_terminus(), and is_upper_terminus().
Referenced by core::select::residue_selector::SecondaryStructureSelector::add_overlap().
utility::vector1< Size > core::pose::pose_to_pdb | ( | pose::Pose const & | pose, |
utility::vector1< Size > const & | pose_res | ||
) |
Convert pose numbering to pdb numbering. Must exist somewhere else, but I couldn't find it. – rhiju.
References core::pose::Pose::pdb_info(), and core::pose::Pose::size().
Referenced by protocols::magnesium::get_hydration_stats().
core::Real core::pose::radius_of_gyration | ( | core::pose::Pose const & | pose, |
numeric::xyzVector< core::Real > const & | center_of_mass, | ||
utility::vector1< bool > const & | residues | ||
) |
Get the radius of gyration of the selected residues.
WARNING: Despite the name, this function only calculates with a single coordinate per residue (the Calpha/neighbor atom)
Requires the center_of_mass as an input because often people will want both com and rg and this ensures that we only calculate com once.
References core::conformation::Residue::atom(), center_of_mass(), core::conformation::Residue::is_protein(), core::conformation::Residue::nbr_atom_xyz(), core::pose::Pose::residue(), core::pose::Pose::size(), and core::conformation::Atom::xyz().
Referenced by protocols::motif_grafting::movers::MotifGraftMover::get_next_nonredundant_motifmatch(), and protocols::features::RadiusOfGyrationFeatures::write_radius_of_gyration_table_schema().
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.
References add_comment(), and TR().
Referenced by protocols::simple_moves::LoadPDBMover::apply().
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 | ||
) |
void core::pose::remove_ligand_canonical_residues | ( | core::pose::Pose & | pose | ) |
this function removes all residues with both UPPER and LOWER terminus types. This is intended for removing ligands that are canonical residues.
References core::pose::Pose::conformation(), core::conformation::Conformation::delete_residue_slow(), core::chemical::ResidueType::is_lower_terminus(), core::chemical::ResidueType::is_upper_terminus(), core::pose::Pose::residue_type(), and core::pose::Pose::size().
Referenced by protocols::ligand_docking::ProtLigEnsemble::prepare_single_ligand_pose().
void core::pose::remove_lower_terminus_type_from_pose_residue | ( | pose::Pose & | pose, |
Size const | seqpos | ||
) |
References core::chemical::LOWER_TERMINUS_VARIANT, and remove_variant_type_from_pose_residue().
Referenced by protocols::simple_moves::RepeatPropagationMover::add_cap_seq(), protocols::energy_based_clustering::EnergyBasedClusteringProtocol::add_cyclic_constraints(), protocols::pose_sewing::movers::AddFlankingVirtualResiduesMover::add_flanking_virtual_residues(), protocols::denovo_design::components::add_to_pose(), protocols::protein_interface_design::movers::AddChainBreak::apply(), protocols::simple_moves::RepulsiveOnlyMover::apply(), protocols::forge::remodel::RemodelMover::apply(), protocols::pose_length_moves::NearNativeLoopCloser::combine_chains(), protocols::denovo_design::movers::AlignResiduesMover::copy_residue(), protocols::relax::cyclize_pose(), protocols::simple_moves::RepeatPropagationMover::duplicate_residues_by_type(), protocols::denovo_design::components::ExtendedPoseBuilder::extend_pose(), protocols::simple_moves::RepeatPropagationMover::generate_overlap(), protocols::pose_creation::MergePDBMover::generate_overlaps(), protocols::mainchain_potential::GenerateMainchainPotential::generate_pose(), protocols::stepwise::legacy::modeler::protein::StepWiseProteinPoseSetup::make_full_pose(), protocols::pose_creation::MergePDBatOverlapMover::merge_poses(), protocols::fold_from_loops::movers::SplitAndMixPoseMover::merge_poses(), protocols::forge::build::Bridge::modify_impl(), protocols::denovo_design::movers::new_jump_and_cutpoint(), protocols::enzymatic_movers::NTerminalAcetyltransferaseMover::perform_reaction(), protocols::protein_interface_design::movers::PlaceStubMover::place_stub(), protocols::protein_interface_design::movers::PlaceSimultaneouslyMover::place_stubs(), protocols::forge::remodel::RemodelLoopMover::repeat_generation_with_additional_residue(), protocols::hotspot_hashing::HotspotStub::scaffold_match(), protocols::denovo_design::components::Segment::set_template_pose(), protocols::cyclic_peptide_predict::SimpleCycpepPredictApplication::set_up_isopeptide_variants(), protocols::cyclic_peptide_predict::SimpleCycpepPredictApplication::set_up_native(), protocols::cyclic_peptide::crosslinker::set_up_thioether_variants(), protocols::pose_sewing::data_storage::TerminalDSSPSortedPoseVector::store_pose(), protocols::grafting::superimpose_overhangs_heavy(), and protocols::seeded_abinitio::SwapSegment::swap_segment().
void core::pose::remove_nonprotein_residues | ( | core::pose::Pose & | pose | ) |
this function removes all residues from the pose which are not protein residues.
this function removes all residues from the pose which are not protein residues. This removal includes, but is not limited to, metals, DNA, RNA, and ligands. It will NOT remove ligands which are canonical residues (for example, if a protein binds an alanine monomer, the monomer will be untouched).
This removal includes, but is not limited to, metals, DNA, RNA, and ligands. It will NOT remove ligands which are canonical residues (for example, if a protein binds an alanine monomer, the monomer will be untouched).
References core::pose::Pose::conformation(), core::conformation::Conformation::delete_residue_slow(), core::chemical::ResidueTypeBase::is_protein(), core::pose::Pose::residue_type(), and core::pose::Pose::size().
Referenced by protocols::ligand_docking::ProtLigEnsemble::prepare_single_ligand_pose().
void core::pose::remove_upper_terminus_type_from_pose_residue | ( | pose::Pose & | pose, |
Size const | seqpos | ||
) |
References remove_variant_type_from_pose_residue(), and core::chemical::UPPER_TERMINUS_VARIANT.
Referenced by protocols::energy_based_clustering::EnergyBasedClusteringProtocol::add_cyclic_constraints(), protocols::pose_sewing::movers::AddFlankingVirtualResiduesMover::add_flanking_virtual_residues(), protocols::denovo_design::components::add_to_pose(), protocols::denovo_design::components::append_residues_from_template_segment(), protocols::protein_interface_design::movers::AddChainBreak::apply(), protocols::simple_moves::RepulsiveOnlyMover::apply(), protocols::forge::remodel::RemodelMover::apply(), protocols::pose_length_moves::NearNativeLoopCloser::combine_chains(), protocols::denovo_design::movers::AlignResiduesMover::copy_residue(), protocols::relax::cyclize_pose(), protocols::simple_moves::RepeatPropagationMover::duplicate_residues_by_type(), protocols::denovo_design::components::ExtendedPoseBuilder::extend_pose(), protocols::simple_moves::RepeatPropagationMover::generate_overlap(), protocols::pose_creation::MergePDBMover::generate_overlaps(), protocols::mainchain_potential::GenerateMainchainPotential::generate_pose(), core::pose::carbohydrates::glycosylate_pose(), protocols::cyclic_peptide::PeptideStubMover::handle_lower_terminus(), protocols::cyclic_peptide::PeptideStubMover::handle_upper_terminus(), protocols::stepwise::legacy::modeler::protein::StepWiseProteinPoseSetup::make_full_pose(), protocols::pose_creation::MergePDBatOverlapMover::merge_poses(), protocols::fold_from_loops::movers::SplitAndMixPoseMover::merge_poses(), protocols::forge::build::Bridge::modify_impl(), protocols::denovo_design::movers::new_jump_and_cutpoint(), protocols::protein_interface_design::movers::PlaceStubMover::place_stub(), protocols::protein_interface_design::movers::PlaceSimultaneouslyMover::place_stubs(), protocols::forge::remodel::RemodelLoopMover::repeat_generation_with_additional_residue(), protocols::hotspot_hashing::HotspotStub::scaffold_match(), protocols::denovo_design::components::Segment::set_template_pose(), protocols::cyclic_peptide_predict::SimpleCycpepPredictApplication::set_up_isopeptide_variants(), protocols::cyclic_peptide_predict::SimpleCycpepPredictApplication::set_up_native(), protocols::relax::RepeatProteinRelax::setup_repeat_pose(), protocols::relax::RepeatProteinRelax::setup_repeat_pose_jumping(), protocols::pose_sewing::data_storage::TerminalDSSPSortedPoseVector::store_pose(), protocols::grafting::superimpose_overhangs_heavy(), and protocols::seeded_abinitio::SwapSegment::swap_segment().
void core::pose::remove_variant_type_from_pose_residue | ( | pose::Pose & | pose, |
chemical::VariantType const | variant_type, | ||
Size const | seqpos | ||
) |
Construct a non-variant of an existing pose residue.
E.g., remove a terminus variant, and replace the original in pose.
References core::pose::Pose::conformation(), core::conformation::Residue::connect_map(), core::conformation::Residue::connected_residue_at_resconn(), core::chemical::ResConnID::connid(), core::conformation::Residue::has_variant_type(), core::chemical::ResidueTypeBase::mode(), replace_pose_residue_copying_existing_coordinates(), core::pose::Pose::residue(), core::conformation::Conformation::residue(), core::pose::Pose::residue_type(), core::pose::Pose::residue_type_set_for_pose(), core::conformation::Residue::type(), and core::conformation::Conformation::update_noncanonical_connection().
Referenced by protocols::protein_interface_design::movers::SetAtomTree::add_cutpoint_variants(), protocols::denovo_design::components::append_new_residues(), protocols::indexed_structure_store::append_pose_with_overlap(), protocols::stepwise::monte_carlo::mover::AddMover::append_residue(), protocols::fold_from_loops::movers::NubInitioLoopClosureMover::apply(), protocols::helical_bundle::BackboneGridSampler::apply(), protocols::loop_grower::LoopGrower::apply(), protocols::protein_interface_design::movers::AddChainBreak::apply(), protocols::protein_interface_design::movers::ShoveResidueMover::apply(), protocols::simple_moves::RepulsiveOnlyMover::apply(), protocols::stepwise::modeler::rna::sugar::SugarInstantiateMover::apply(), protocols::simple_moves::DeclareBond::apply(), protocols::protein_interface_design::movers::SaveAndRetrieveSidechains::apply(), protocols::fold_from_loops::movers::NubInitioLoopClosureMover::apply_closure_trust(), core::pose::rna::apply_virtual_rna_residue_variant_type(), protocols::fold_from_loops::utils::attach_unfolded_pose_to_pose_c_term(), protocols::fold_from_loops::utils::attach_unfolded_pose_to_pose_n_term(), protocols::metal_interface::MatchGrafter::build_combined_pose_with_zinc_overlay(), protocols::peptide_deriver::PeptideDeriverFilter::build_receptor_peptide_pose(), protocols::analysis::LoopAnalyzerMover::calculate_all_chainbreaks(), protocols::stepwise::modeler::protein::InputStreamWithResidueInfo::cleanup_pose(), protocols::simple_moves::ConcatenatePosesMover::concatenate_poses(), protocols::stepwise::modeler::protein::StepWiseProteinBackboneSampler::convert_to_centroid(), protocols::stepwise::modeler::rna::sugar::copy_bulge_res_and_sugar_torsion(), correctly_add_2prime_connection_variants(), correctly_remove_variants_incompatible_with_lower_cutpoint_variant(), correctly_remove_variants_incompatible_with_upper_cutpoint_variant(), protocols::enzdes::EnzdesBaseProtocol::cst_minimize(), protocols::relax::cyclize_pose(), protocols::stepwise::modeler::StepWiseModeler::do_stepwise_lores(), protocols::loop_grower::LoopComparator::fill_pose(), fix_up_residue_type_variants(), fix_up_residue_type_variants_at_floating_base(), fix_up_residue_type_variants_at_strand_beginning(), fix_up_residue_type_variants_at_strand_end(), protocols::stepwise::sampler::protein::generate_beta_database_test(), protocols::motif_grafting::movers::MotifGraftMover::generate_scaffold_matches(), protocols::stepwise::modeler::rna::checker::RNA_AtrRepChecker::get_base_atr_rep_score(), protocols::pose_sewing::data_storage::PoseWithTerminalSegmentsOfKnownDSSP::get_source_pose_op(), protocols::metal_interface::MatchGrafter::graft(), protocols::cyclic_peptide::PeptideStubMover::handle_lower_terminus(), protocols::cyclic_peptide::PeptideStubMover::handle_upper_terminus(), protocols::stepwise::modeler::StepWiseConnectionSampler::initialize_checkers(), protocols::grafting::GraftMoverBase::insert_piece(), protocols::grafting::insert_pose_into_pose(), protocols::magnesium::instantiate_water_at_octahedral_vertex(), protocols::fold_from_loops::utils::Nub::join_pieces(), protocols::stepwise::modeler::make_variants_match(), protocols::stepwise::modeler::rna::sugar::minimize_all_sampled_floating_bases(), protocols::pose_length_moves::PossibleLoop::minimize_loop(), protocols::enzdes::EnzdesFlexibleRegion::minimize_region(), protocols::stepwise::modeler::rna::sugar::modeler_starting_pose_data_list(), protocols::fold_from_loops::NubInitioMover::post_process(), protocols::peptide_deriver::PeptideDeriverFilter::prepare_pose(), protocols::denovo_design::components::prepend_new_residues(), protocols::stepwise::monte_carlo::mover::AddMover::prepend_residue(), protocols::stepwise::legacy::modeler::rna::StepWiseRNA_PoseSetup::read_input_pose_and_copy_dofs(), protocols::stepwise::modeler::rna::sugar::VirtualSugarSampler::reinstantiate_backbone_at_moving_res(), protocols::stepwise::modeler::rna::sugar::VirtualSugarSampler::reinstantiate_distal_partition(), protocols::stepwise::modeler::rna::remove_all_variant_types(), protocols::stepwise::modeler::rna::remove_all_virtual_phosphates(), core::pose::carbohydrates::remove_carbohydrate_branch_point_variants(), protocols::stepwise::modeler::rna::remove_chain_break_variants(), protocols::jumping::JumpSample::remove_chainbreaks(), protocols::toolbox::pose_manipulation::remove_chainbreaks_according_to_jumps(), core::import_pose::remove_cutpoint_closed(), core::util::remove_cutpoint_variants(), protocols::loops::remove_cutpoint_variants(), protocols::forge::methods::remove_cutpoint_variants(), protocols::grafting::remove_cutpoint_variants_for_ccd(), protocols::ligand_docking::MinimizeBackbone::remove_cutpoints(), protocols::denovo_design::movers::SealFoldTreeMover::remove_cutpoints(), protocols::energy_based_clustering::EnergyBasedClusteringProtocol::remove_extraneous_virtuals(), remove_lower_terminus_type_from_pose_residue(), protocols::stepwise::modeler::rna::phosphate::remove_terminal_phosphates(), core::pose::rna::remove_upper_lower_variants_from_RNA(), remove_upper_terminus_type_from_pose_residue(), protocols::stepwise::modeler::rna::remove_virtual_O2Prime_hydrogen(), core::pose::rna::remove_virtual_rna_residue_variant_type(), protocols::hybridization::HybridizeFoldtreeDynamic::reset(), protocols::stepwise::modeler::rna::sugar::VirtualSugarSampler::restore_pose_variants_after_chain_closure(), protocols::relax::RepeatProteinRelax::seal_jumps(), protocols::loops::set_loop_cutpoint_in_pose_fold_tree(), protocols::rna::denovo::RNA_DeNovoPoseInitializer::setup_chainbreak_variants(), protocols::stepwise::modeler::rna::sugar::VirtualSugarSampler::setup_sugar_conformations(), protocols::stepwise::modeler::rna::phosphate::PhosphateMover::setup_variants_and_free_pose_for_five_prime_phosphate(), protocols::stepwise::modeler::rna::phosphate::PhosphateMover::setup_variants_and_free_pose_for_three_prime_phosphate(), protocols::loop_grower::LoopGrower::single_grow(), protocols::stepwise::monte_carlo::mover::TransientCutpointHandler::take_out_cutpoints(), protocols::loop_grower::LoopGrower::update_to_stored(), core::scoring::rna::data::RNA_DMS_Potential::update_virtual_base_if_necessary(), core::pose::rna::virtualize_free_rna_moieties(), and protocols::stepwise::modeler::polar_hydrogens::PolarHydrogenPacker::virtualize_poor_scoring_o2prime_hydrogens().
conformation::ResidueOP core::pose::remove_variant_type_from_residue | ( | core::conformation::Residue const & | old_rsd, |
core::chemical::VariantType const | variant_type, | ||
pose::Pose const & | pose | ||
) |
Remove variant from an existing residue.
References core::conformation::Residue::chi(), core::conformation::Residue::clone(), core::pose::Pose::conformation(), core::conformation::copy_residue_coordinates_and_rebuild_missing_atoms(), core::conformation::ResidueFactory::create_residue(), core::conformation::Residue::has_variant_type(), core::chemical::ResidueTypeBase::mode(), core::chemical::ResidueType::nchi(), core::conformation::Residue::nchi(), core::pose::Pose::residue_type_set_for_pose(), TR(), and core::conformation::Residue::type().
Referenced by protocols::toolbox::rotamer_set_operations::SpecialRotamerRSO::alter_rotamer_set(), protocols::stepwise::modeler::polar_hydrogens::PolarHydrogenPacker::apply(), core::pack::rotamer_set::build_five_prime_phosphate_rotamers(), core::pack::rotamer_set::build_rna_rotamers(), core::pack::rotamer_set::RotamerSets::build_rotamers(), core::pack::rotamer_set::build_three_prime_phosphate_rotamers(), core::pack::rotamer_set::RotamerSets::copy_residue_conenctions_and_variants(), protocols::toolbox::match_enzdes_util::MatchConstraintFileInfo::diversify_backbone_only_rotamers(), protocols::stepwise::modeler::merge_two_poses(), protocols::environment::Environment::remove_chainbreak_variants(), and protocols::stepwise::modeler::slice().
void core::pose::remove_virtual_residues | ( | core::pose::Pose & | pose | ) |
Removes all virtual residues from <pose>
References core::pose::Pose::conformation(), core::conformation::Conformation::delete_residue_slow(), core::chemical::ResidueTypeBase::name(), core::pose::Pose::residue_type(), and core::pose::Pose::size().
Referenced by protocols::rbsegment_relax::ConfChangeMover::apply(), protocols::rna::movers::RNAIdealizeMover::apply(), and protocols::simple_moves::ResetFoldTree::apply().
bool core::pose::renumber_pdbinfo_based_on_conf_chains | ( | core::pose::Pose & | pose, |
bool | fix_chains, | ||
bool const | start_from_existing_numbering, | ||
bool const | keep_insertion_codes, | ||
bool const | rotate_chain_ids | ||
) |
renumber PDBInfo based on Conformation chains; each chain starts from 1
[in,out] | pose | The Pose to modify. |
[in] | fix_chains | If true, the procedure will attempt to fix any empty record characters it finds in the PDBInfo. (default true) |
[in] | start_from_existing_numbering | If true, will attempt to start each chain from the existing numbering in the PDBInfo. E.g. if the first residue of chain 2 in the Conformation is 27, then the renumbering of the chain in PDBInfo will start from 27. (default true) |
[in] | keep_insertion_codes | If true, will maintain insertion codes and will not increment the pdb residue numbering for those residues. This means new numbering with insertion codes will only reflect properly if the old numbering included the base numbering of the insertion code residues, i.e. 100 100A 100B and not just 100A 100B (with 100 never appearing). (default false) |
[in] | rotate_chain_ids | If true, allows support for more than 26 pdb chains by rotating [A,Z] continuously. WARNING: This will break the assumption made by the PDBPoseMap that each pdb chain id is unique, so make sure you are not using the PDBPoseMap feature downstream in your code path without corrections! (default false) |
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
[in,out] | pose | The Pose to modify. |
[in] | fix_chains | If true, the procedure will attempt to fix any empty record characters it finds in the PDBInfo. (default true) |
[in] | start_from_existing_numbering | If true, will attempt to start each chain from the existing numbering in the PDBInfo. E.g. if the first residue of chain 2 in the Conformation is 27, then the renumbering of the chain in PDBInfo will start from 27. (default true) |
[in] | keep_insertion_codes | If true, will maintain insertion codes and will not increment the pdb residue numbering for those residues. This means new numbering with insertion codes will only reflect properly if the old numbering included the base numbering of the insertion code residues, i.e. 100 100A 100B and not just 100A 100B (with 100 never appearing). (default false) |
[in] | rotate_chain_ids | If true, allows support for more than 26 pdb chains by rotating [A,Z] continuously. WARNING: This will break the assumption made by the PDBPoseMap that each pdb chain id is unique, so make sure you are not using the PDBPoseMap feature downstream in your code path without corrections! (default false) |
References core::pose::PDBInfo::chain(), core::pose::Pose::chain(), core::conformation::Conformation::chain_endings(), conf2pdb_chain(), core::pose::Pose::conformation(), core::pose::PDBInfo::empty_record(), core::pose::PDBInfo::icode(), core::pose::PDBInfo::number(), core::pose::Pose::pdb_info(), core::pose::PDBInfo::set_resinfo(), core::pose::Pose::size(), and TR().
Referenced by protocols::docking::membrane::MPDockingSetupMover::apply(), protocols::forge::remodel::RemodelMover::apply(), protocols::simple_moves::ExplicitWaterMover::apply(), protocols::pose_length_moves::ConnectChainsMover::assemble_missing_chain(), protocols::pose_length_moves::NearNativeLoopCloser::create_maximum_length_pose(), protocols::simple_moves::ExplicitWaterMover::delete_waters(), protocols::pose_length_moves::NearNativeLoopCloser::extendRegion(), protocols::pose_length_moves::PossibleLoop::extendRegion(), protocols::pose_length_moves::InsertResMover::extendRegion(), protocols::simple_moves::RepeatPropagationMover::generate_overlap(), protocols::pose_creation::MergePDBMover::generate_overlaps(), protocols::pose_creation::MakeJunctionsMover::make_pose_from_design(), protocols::pose_creation::MergePDBatOverlapMover::merge_poses(), protocols::pose_length_moves::ConnectChainsMover::reletter_chains(), protocols::pose_length_moves::NearNativeLoopCloser::switch_chain_order(), protocols::simple_moves::RepeatPropagationMover::trim_back_repeat_to_repair_scar(), protocols::pose_creation::MakeJunctionsMover::trim_pose(), and protocols::pose_length_moves::PossibleLoop::trimRegion().
utility::vector1< Size > core::pose::reorder_root_partition_res | ( | utility::vector1< Size > const & | root_partition_res, |
utility::vector1< Size > const & | res_list, | ||
utility::vector1< Size > const & | fixed_domain_map | ||
) |
References protocols::mean_field::max().
Referenced by reroot().
void core::pose::replace_pose_residue_copying_existing_coordinates | ( | pose::Pose & | pose, |
Size const | seqpos, | ||
core::chemical::ResidueType const & | new_rsd_type | ||
) |
Helper function for residue replacement/residuetype switching Will match up old and new atoms based on their atom names.
References core::pose::Pose::conformation(), core::conformation::copy_residue_coordinates_and_rebuild_missing_atoms(), core::conformation::ResidueFactory::create_residue(), core::pose::Pose::replace_residue(), and core::pose::Pose::residue().
Referenced by add_custom_variant_type_to_pose_residue(), add_variant_type_to_pose_residue(), protocols::kinmatch::alapose(), protocols::simple_moves::ModifyVariantTypeMover::apply(), protocols::simple_moves::RepulsiveOnlyMover::apply(), protocols::forge::components::VarLengthBuild::apply(), protocols::forge::remodel::RemodelMover::apply(), protocols::matdes::SchemePlaceMotifsMover::apply(), protocols::metal_interface::MatchGrafter::graft(), protocols::ligand_docking::ProtLigEnsemble::prepare_single_ligand_pose(), core::pose::Pose::real_to_virtual(), core::io::pose_from_sfr::PoseFromSFRBuilder::refine_pose(), remove_variant_type_from_pose_residue(), protocols::metal_interface::RemoveMetalConnectionsMover::remove_variant_types_from_res(), protocols::forge::remodel::RemodelLoopMover::repeat_propagation(), protocols::forge::components::VarLengthBuild::set_starting_non_canonical(), protocols::forge::remodel::RemodelLoopMover::set_starting_sequence(), protocols::simple_moves::CyclizationMover::setup_connections(), protocols::simple_moves::ResTypeFragmentMover::swap_residue_types(), and core::pose::Pose::virtual_to_real().
void core::pose::replace_pose_residue_copying_existing_coordinates | ( | pose::Pose & | pose, |
Size const | seqpos, | ||
core::chemical::ResidueType const & | new_rsd_type, | ||
utility::vector1< core::Size > const & | mapping | ||
) |
Helper function for residue replacement/residuetype switching Matches up old an new atoms based on the provided map. (Indexed by new_rsd_type atom number, giving corresponding atom number in the current pose residue.)
References core::pose::Pose::conformation(), core::conformation::copy_residue_coordinates_and_rebuild_missing_atoms(), core::conformation::ResidueFactory::create_residue(), core::pose::Pose::replace_residue(), and core::pose::Pose::residue().
void core::pose::reroot | ( | pose::Pose & | pose, |
utility::vector1< Size > const & | root_partition_res, | ||
utility::vector1< Size > const & | res_list, | ||
utility::vector1< Size > const & | preferred_root_res, | ||
utility::vector1< Size > const & | fixed_domain_map, | ||
utility::vector1< Size > const & | cutpoint_open_in_full_model, | ||
utility::vector1< Size > const & | working_res | ||
) |
References core::chemical::CUTPOINT_UPPER, core::pose::Pose::fold_tree(), get_definite_terminal_root(), core::chemical::ResidueTypeBase::has_variant_type(), core::kinematics::FoldTree::possible_root(), core::kinematics::FoldTree::reorder(), reorder_root_partition_res(), core::pose::Pose::residue_type(), core::kinematics::FoldTree::root(), and TR().
Referenced by protocols::stepwise::modeler::reroot_based_on_full_model_info(), and core::import_pose::setup_fold_trees().
bool core::pose::res_in_chain | ( | core::pose::Pose const & | pose, |
core::Size | resnum, | ||
std::string const & | chain | ||
) |
Does this residue number have this chain letter?
See the documentation of Pose::num_chains() for details about chain numbers, chain letters and jumps.
References core::pose::Pose::pdb_info(), and TR().
Referenced by protocols::pose_length_moves::NearNativeLoopCloser::combine_chains(), core::import_pose::define_chains(), protocols::pose_creation::MergePDBMover::determine_overlap(), and protocols::pose_creation::MergePDBMover::generate_overlaps().
int core::pose::residue_center_of_mass | ( | pose::Pose const & | pose, |
int const | start, | ||
int const | stop | ||
) |
calculates the center of mass of a pose
the start and stop positions (or residues) within the pose are used to find the starting and finishing locations
References core::conformation::membrane::center, center_of_mass(), return_nearest_residue(), protocols::loops::start, and protocols::loops::stop.
Referenced by protocols::membrane::rsd_closest_to_chain_com(), protocols::docking::setup_foldtree(), and protocols::membrane::setup_foldtree_pose_com().
int core::pose::residue_center_of_mass | ( | pose::Pose const & | pose, |
utility::vector1< bool > | residues | ||
) |
References core::conformation::membrane::center, center_of_mass(), return_nearest_residue(), and core::pose::Pose::size().
Referenced by protocols::antibody_legacy::AntibodyModeler::all_cdr_VL_VH_fold_tree(), protocols::protein_interface_design::movers::SetAtomTree::apply(), protocols::peptide_deriver::PeptideDeriverFilter::build_receptor_peptide_pose(), protocols::antibody::AntibodyInfo::get_FoldTree_AllCDRs_LHDock(), protocols::antibody::AntibodyInfo::get_FoldTree_L_HA(), protocols::antibody::AntibodyInfo::get_FoldTree_LA_H(), protocols::antibody::AntibodyInfo::get_FoldTree_LH_A(), protocols::ub_e2c::ubi_e2c_modeler::init_k48r_perturbation(), protocols::ub_e2c::ubi_e2c_modeler::monoub_setup_key_residues(), protocols::antibody::snugdock::SnugDockProtocol::place_VRT_at_residue_COM(), protocols::topology_broker::TMHTopologySamplerClaimer::pre_process(), protocols::protein_interface_design::movers::SetAtomTree::set_ab_fold_tree(), protocols::ub_e2c::ubi_e2c_modeler::set_e2g2_diubi_fold_tree(), protocols::splice::SpliceOut::set_fold_tree_nodes(), protocols::splice::SpliceIn::set_fold_tree_nodes(), protocols::splice::SpliceInAntibody::set_fold_tree_nodes(), protocols::splice::SpliceInTail::set_fold_tree_nodes(), protocols::splice::SpliceOutAntibody::set_fold_tree_nodes(), protocols::splice::SpliceOutTail::set_fold_tree_nodes(), protocols::flexpep_docking::FlexPepDockingFlags::setDefaultAnchors(), protocols::docking::setup_foldtree(), protocols::hotspot_hashing::HotspotStubSet::setup_hotspot_foldtree_(), protocols::ub_e2c::ubi_e2c_modeler::setup_key_residues(), protocols::ncbb::setup_pert_foldtree(), and protocols::hotspot_hashing::stub_tgt_angle().
chemical::ResidueTypeCOPs core::pose::residue_types_from_saccharide_sequence | ( | std::string const & | sequence, |
chemical::ResidueTypeSet const & | residue_set | ||
) |
Return a list of carbohydrate ResidueTypes corresponding to an annotated, linear, IUPAC polysaccharide sequence.
[in] | <sequence> | an annotated IUPAC polysaccharide sequence, e.g., "alpha-D-Glcp-(1->4)-alpha-D-Glcp-(1->4)-D-Glcp" |
[in] | <residue_set> | the desired residue set |
Format for <sequence>:
Prefixes apply to the residue to which they are attached, below indicated by residue n.
Residues are listed from N to 1, where N is the total number of residues in the saccharide.
The sequence is parsed by reading to the next hyphen, so hyphens are crucial.
Linkage indication: "(a->x)-" specifies the linkage of residue n, where a is the anomeric carbon number of residue (n+1) and x is the oxygen number of residue n. The first residue listed in the annotated sequence (residue N) need not have the linkage prefix. A ->4) ResidueType will automatically be assigned by default if not specified.
Anomer indication: The strings "alpha-" or "beta-" are supplied next, which determines the stereochemistry of the anomeric carbon of the residue to which it is prefixed. An alpha ResidueType will automatically be assigned by default.
Stereochemical indication: "L-" or "D-" specifies whether residue n is an L- or D-sugar. The default is "D-".
3-Letter code: A three letter code (in sentence case) MUST be supplied next. This specifies the "base sugar name", e.g., Glc is for glucose. (A list of all recognized 3-letter codes for sugars can be found in the database.)
1-Letter suffix: If no suffix follows, residue n will be linear. If a letter is present, it indicates the ring size, where "f" is furanose, "p" is pyranose, and "s" is septanose.
Branches are indicated using nested brackets and are best explained by example:
beta-D-Galp-(1->4)-[alpha-L-Fucp-(1->3)]-D-GlcpNAc is:
beta-D-Galp-(1->4)-D-GlcpNAc
|
alpha-L-Fucp-(1->3)
Bidirectional linkages are indicated with a double-headed arrow, e.g., sucrose is a-D-Glcp-(1<->2)-b-D-Fruf.
[in] | <sequence> | an annotated IUPAC polysaccharide sequence, e.g., "alpha-D-Glcp-(1->4)-alpha-D-Glcp-(1->4)-D-Glcp" |
[in] | <residue_set> | the desired residue set |
Format for <sequence>:
Prefixes apply to the residue to which they are attached, below indicated by residue n.
Residues are listed from N to 1, where N is the total number of residues in the saccharide.
The sequence is parsed by reading to the next hyphen, so hyphens are crucial.
Linkage indication: "(a->x)-" specifies the linkage of residue n, where a is the anomeric carbon number of residue (n+1) and x is the oxygen number of residue n. The first residue listed in the annotated sequence (residue N) need not have the linkage prefix. A ->4) ResidueType will automatically be assigned by default if not specified.
Anomer indication: The strings "alpha-" or "beta-" are supplied next, which determines the stereochemistry of the anomeric carbon of the residue to which it is prefixed. An alpha ResidueType will automatically be assigned by default.
Stereochemical indication: "L-" or "D-" specifies whether residue n is an L- or D-sugar. The default is "D-".
3-Letter code: A three letter code (in sentence case) MUST be supplied next. This specifies the "base sugar name", e.g., Glc is for glucose. (A list of all recognized 3-letter codes for sugars can be found in the database.)
1-Letter suffix: If no suffix follows, residue n will be linear. If a letter is present, it indicates the ring size, where "f" is furanose, "p" is pyranose, and "s" is septanose.
Branches are indicated using nested brackets and are best explained by example:
beta-D-Galp-(1->4)-[alpha-L-Fucp-(1->3)]-D-GlcpNAc is:
beta-D-Galp-(1->4)-D-GlcpNAc
|
alpha-L-Fucp-(1->3)
References residue_types_from_saccharide_sequence_recursive(), and TR().
Referenced by core::pose::carbohydrates::glycosylate_pose(), and make_pose_from_saccharide_sequence().
chemical::ResidueTypeCOPs core::pose::residue_types_from_saccharide_sequence_recursive | ( | std::string const & | sequence, |
chemical::ResidueTypeSet const & | residue_set | ||
) |
Internal implementation detail of residue_types_from_saccharide_sequence() Returns the reorganized (but not reversed) set of residuetypes.
References core::chemical::ResidueTypeSet::get_residue_type_with_variant_added(), core::chemical::ResidueType::get_self_ptr(), core::chemical::ResidueTypeSet::name_mapOP(), core::conformation::membrane::out, core::io::carbohydrates::sugar_modifications_from_suffix(), TR(), and core::chemical::UPPER_TERMINUS_VARIANT.
Referenced by residue_types_from_saccharide_sequence().
chemical::ResidueTypeCOPs core::pose::residue_types_from_sequence | ( | std::string const & | sequence_in, |
chemical::ResidueTypeSet const & | residue_set, | ||
bool const | auto_termini, | ||
bool const | metapatches | ||
) |
return a list of ResidueTypes corresponding to an annotated protein sequence
Given a protein sequence where each character represents an amino acid, and a ResidueTypeSet, return the residue types that match the sequence. NOTE: support making residue types from a fully annotated sequence now, that is, for each residue variant or ligand which cannot be deduced from one letter code directly, a [] is added directly following the one letter code containing the residue's fullname, for example K[lys:NtermProteinFull]ADFGCH[HIS_D]QNVE[glu:CtermProteinFull]Z[ZN]. This allows a pose to be constructed with full features from a silent output file, such as with distinguished HIS tautomers, various chain termini and cutpoint variants etc.
[in] | sequence_in | an annotated sequence |
[in] | residue_set | the desired residue set |
[in] | auto_termini | mark position 1, last_residue with lower, upper termini; default true |
References protocols::cluster::calibur::aa, core::chemical::aa_from_oneletter_code(), get_rsd_type_from_aa(), is_lower_terminus(), is_upper_terminus(), core::chemical::ResidueTypeSet::name_mapOP(), parse_sequence(), core::id::to_string(), and TR().
Referenced by protocols::loop_grower::LoopGrower::apply(), protocols::loop_grower::LoopComparator::fill_pose(), core::import_pose::RNA_HelixAssembler::get_residue(), make_pose_from_sequence(), protocols::forge::build::GrowLeft::modify_impl(), protocols::forge::build::GrowRight::modify_impl(), protocols::forge::build::SegmentInsert::modify_impl(), protocols::forge::build::SegmentRebuild::modify_impl(), protocols::rna::movers::RNAThreadAndMinimizeMover::obtain_rtypes_for_target_sequence(), protocols::rna::movers::RNAThreadAndMinimizeMover::process_insertions(), and protocols::forge::remodel::RemodelWorkingSet::workingSetGen().
int core::pose::return_nearest_residue | ( | core::pose::Pose const & | pose, |
int const | begin, | ||
int const | end, | ||
core::Vector | center | ||
) |
int core::pose::return_nearest_residue | ( | pose::Pose const & | pose, |
int const | begin, | ||
int const | end, | ||
Vector | center | ||
) |
finds the residue nearest some position passed in (normally a center of mass)
the start and stop positions (or residues) within the pose are used to find the starting and finishing locations
References core::conformation::membrane::center, core::sequence::end, generate_vector_from_bounds(), and return_nearest_residue().
Referenced by protocols::membrane::rsd_closest_to_pose_tm_com().
int core::pose::return_nearest_residue | ( | pose::Pose const & | pose, |
utility::vector1< bool > const & | residues, | ||
Vector | center | ||
) |
References core::conformation::Residue::atom(), core::conformation::membrane::center, core::conformation::Residue::is_protein(), core::conformation::Residue::nbr_atom_xyz(), core::pose::Pose::residue(), core::pose::Pose::size(), and core::conformation::Atom::xyz().
Referenced by protocols::peptide_deriver::PeptideDeriverFilter::build_receptor_peptide_pose(), residue_center_of_mass(), return_nearest_residue(), and protocols::flexpep_docking::FlexPepDockingFlags::setDefaultAnchors().
core::pose::PoseCOP core::pose::saved_native_pose | ( | basic::datacache::DataMap & | data_map, |
std::string const & | resource_str = "native_pose" |
||
) |
Retrieve the native pose from the DataMap which is added through the OptionsCollection during RosettaScript parsing as a resource.
If the resource is not present, will return a nullptr.
References TR().
Referenced by protocols::rosetta_scripts::legacy_saved_pose_or_input(), core::simple_metrics::composite_metrics::CompositeEnergyMetric::parse_my_tag(), core::simple_metrics::composite_metrics::ElectrostaticSimilarityMetric::parse_my_tag(), core::simple_metrics::metrics::DihedralDistanceMetric::parse_my_tag(), core::simple_metrics::metrics::RMSDMetric::parse_my_tag(), core::simple_metrics::metrics::SequenceSimilarityMetric::parse_my_tag(), core::simple_metrics::metrics::TotalEnergyMetric::parse_my_tag(), core::simple_metrics::per_residue_metrics::PerResidueEnergyMetric::parse_my_tag(), core::simple_metrics::per_residue_metrics::PerResidueRMSDMetric::parse_my_tag(), protocols::analysis::simple_metrics::SequenceRecoveryMetric::parse_my_tag(), core::simple_metrics::metrics::ShapeSimilarityMetric::parse_my_tag(), protocols::protein_interface_design::filters::RmsdSimpleFilter::parse_my_tag(), and protocols::residue_selectors::NativeSelector::parse_my_tag().
core::pose::PoseOP core::pose::saved_reference_pose | ( | utility::tag::TagCOP const | in_tag, |
basic::datacache::DataMap & | data_map, | ||
std::string const & | tag_name | ||
) |
References TR().
Referenced by protocols::rosetta_scripts::legacy_saved_pose_or_input(), protocols::simple_filters::DeltaFilter::parse_my_tag(), core::simple_metrics::composite_metrics::CompositeEnergyMetric::parse_my_tag(), core::simple_metrics::composite_metrics::ElectrostaticSimilarityMetric::parse_my_tag(), core::simple_metrics::metrics::DihedralDistanceMetric::parse_my_tag(), core::simple_metrics::metrics::RMSDMetric::parse_my_tag(), core::simple_metrics::metrics::TotalEnergyMetric::parse_my_tag(), core::simple_metrics::per_residue_metrics::PerResidueEnergyMetric::parse_my_tag(), core::simple_metrics::per_residue_metrics::PerResidueRMSDMetric::parse_my_tag(), protocols::analysis::simple_metrics::SequenceRecoveryMetric::parse_my_tag(), protocols::features::RotamerRecoveryFeatures::parse_my_tag(), core::simple_metrics::metrics::ShapeSimilarityMetric::parse_my_tag(), protocols::protein_interface_design::filters::RmsdSimpleFilter::parse_my_tag(), and protocols::rosetta_scripts::saved_reference_pose().
core::id::SequenceMapping core::pose::sequence_map_from_pdbinfo | ( | Pose const & | first, |
Pose const & | second | ||
) |
Create a sequence map of first pose onto the second, matching the PDBInfo If the PDBInfo of either Pose is missing or invalid, do a simple sequence alignment matching.
References core::sequence::map_seq1_seq2(), core::pose::Pose::pdb_info(), core::pose::Pose::size(), and TR().
Referenced by protocols::constraint_generator::AtomPairConstraintGenerator::create_sequence_mapping(), and protocols::constraint_generator::generate_seqmap_from_poses().
void core::pose::set_bb_torsion | ( | uint | torsion_id, |
Pose & | pose, | ||
core::Size | sequence_position, | ||
core::Angle | new_angle | ||
) |
This function calculates an average plane and determines whether the coordinates of a given atom are axial or equatorial to it (or neither). The ring is requested from the Residue.
<pose> | The Pose containing the Residue in question. |
<seqpos> | The sequence position in the Pose of the Residue containing the atoms in question. |
<query_atom> | The index of the atom in question. |
This function calculates an average plane and determines whether the coordinates of a given atom are axial or equatorial to it (or neither). The ring is requested from the corresponding Residue.
<pose> | The Pose containing the atoms in question. |
<query_atom> | The AtomID of the atom in question. |
Set the BB torsion, phi, psi, omega (see core::types). Works with carbohydrates. Think about moving this to pose itself.
References core::conformation::Residue::is_carbohydrate(), core::id::omega2_dihedral, core::id::omega3_dihedral, core::id::omega_dihedral, core::id::phi_dihedral, core::id::psi_dihedral, core::pose::Pose::residue(), core::pose::carbohydrates::set_glycosidic_torsion(), core::pose::Pose::set_omega(), core::pose::Pose::set_phi(), and core::pose::Pose::set_psi().
Referenced by protocols::simple_moves::bb_sampler::SmallBBSampler::set_torsion_to_pose().
void core::pose::set_bfactors_from_atom_id_map | ( | Pose & | pose, |
id::AtomID_Map< Real > const & | bfactors | ||
) |
Set bfactors in a pose PDBInfo.
Is the query atom in this pose axial or equatorial to the given ring or neither?
Is the query atom in this pose residue axial or equatorial or neither?
Is the query atom in this pose axial or equatorial or neither?
Set bfactors in a pose PDBInfo
References core::id::AtomID_Map< T >::has(), core::pose::Pose::pdb_info(), core::pose::Pose::residue(), and core::pose::Pose::size().
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 | ||
) |
References core::pose::Pose::pdb_info(), and core::pose::Pose::size().
Referenced by core::import_pose::RNA_DeNovoSetup::de_novo_setup_from_options(), core::import_pose::RNA_DeNovoSetup::get_refine_pose_list(), protocols::rna::denovo::movers::RNA_DeNovoProtocolMover::initial_pose_setup(), and core::import_pose::RNA_DeNovoSetup::initialize_from_options().
void core::pose::set_reasonable_fold_tree | ( | pose::Pose & | pose | ) |
If all ligand residues and polymer branches have been appended by a jump, this method creates a new FoldTree without jumps through ligands, using CHEMICAL EDGEs instead.
References core::kinematics::FoldTree::add_edge(), core::kinematics::FoldTree::begin(), core::conformation::Residue::connected_residue_at_lower(), core::conformation::Residue::connected_residue_at_upper(), create_chemical_edge(), core::kinematics::FoldTree::end(), core::pose::Pose::fold_tree(), core::conformation::Residue::has_lower_connect(), core::conformation::Residue::has_upper_connect(), core::conformation::Residue::is_bonded(), core::conformation::Residue::is_polymer(), protocols::make_rot_lib::PEPTIDE, core::pose::Pose::residue(), core::kinematics::FoldTree::residue_is_in_fold_tree(), core::kinematics::FoldTree::size(), core::pose::Pose::size(), and TR().
Referenced by protocols::pose_sewing::movers::SewAnythingAddMover::apply(), protocols::simple_moves::DeleteChainsMover::apply(), core::import_pose::build_pose_as_is2(), protocols::grafting::insert_pose_into_pose(), protocols::rna::movers::RNAThreadAndMinimizeMover::long_mutate_strategy(), protocols::rna::movers::RNAThreadAndMinimizeMover::mutate_all_at_once(), protocols::analysis::InterfaceAnalyzerMover::setup_for_dock_chains(), and protocols::pose_sewing::data_storage::TerminalDSSPSortedPoseVector::store_pose().
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.
Crude way to guess secondary structure given a pose. This function sets the sec_struct array of pose.conformation_ to the result of the guesswork. This has been ported directly from rosetta++.
References core::chemical::ResidueTypeBase::is_protein(), core::pose::Pose::phi(), core::pose::Pose::psi(), core::pose::Pose::residue_type(), core::pose::Pose::set_secstruct(), and core::pose::Pose::size().
Referenced by protocols::abinitio::StructureStore::add(), protocols::antibody::AntibodyModelerProtocol::apply(), protocols::antibody::GraftCDRLoopsProtocol::apply(), protocols::loop_build::LoopBuildMover::apply(), protocols::loophash::LoopHashDiversifier::apply(), protocols::loophash::LoopHashLibrary::apply(), protocols::loophash::LoopHashMoverWrapper::apply(), protocols::loophash::Mover_LoopHashRefine::apply(), protocols::RBSegmentRelaxImpl::apply(), protocols::relax::loop::LoopRelaxMover::apply(), protocols::antibody_legacy::AntibodyModeler::apply(), protocols::loophash::MPI_LoopHashRefine_Master::create_loophash_WUs(), protocols::abinitio::AbrelaxApplication::do_distributed_rerun(), protocols::antibody::AntibodyModelerProtocol::finalize_setup(), protocols::antibody::GraftCDRLoopsProtocol::finalize_setup(), protocols::antibody_legacy::AntibodyModeler::init_on_new_input(), protocols::comparative_modeling::initialize_ss(), protocols::mpi_refinement::Serial_Refine::load_structures_from_cmdline_into_library(), protocols::loophash::MPI_LoopHashRefine::load_structures_from_cmdline_into_library(), protocols::mpi_refinement::MPI_Refinement::load_structures_from_cmdline_into_library(), protocols::loophash::LocalInserter_SimpleMin::make_local_bb_change(), protocols::loophash::LocalInserter_SimpleMin::make_local_bb_change_close_gaps(), protocols::loophash::LocalInserter_SimpleMin::make_local_bb_change_include_cut(), protocols::loophash::LoopHashRelaxProtocol::manual_call(), core::import_pose::pose_from_file(), protocols::RBSegmentRelaxImpl::RBSegmentRelaxImpl(), core::fragment::read_std_frags_from_cmd(), protocols::loophash::WorkUnit_LoopHash::run(), protocols::mpi_refinement::WorkUnit_LoopHash::run(), protocols::loops::set_secstruct_from_psipred_ss2(), core::io::sequence_comparation::DesignContrast::setSecStruct(), protocols::abinitio::AbrelaxApplication::setup(), core::fragment::steal_constant_length_frag_set_from_pose(), and core::fragment::steal_frag_set_from_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.
References core::pose::datacache::CacheableDataType::ARBITRARY_FLOAT_DATA, and core::pose::Pose::data().
Referenced by protocols::rna::denovo::movers::RNA_DeNovoProtocolMover::add_chem_shift_info(), protocols::antibody::clusters::add_cluster_comments_to_pose(), protocols::constraint_movers::CstInfoMover::add_info_for_csts(), protocols::sewing::movers::AssemblyMover::add_motif_scorers_to_score_file(), protocols::sewing::movers::LigandBindingAssemblyMover::add_motif_scorers_to_score_file(), core::pose::rna::add_number_base_pairs(), core::pose::rna::add_number_native_base_pairs(), protocols::analysis::InterfaceAnalyzerMover::add_score_info_to_pose(), protocols::drug_design::RDKitMetricsMover::add_scores_for_residue(), protocols::loops::addScoresForLoopParts(), protocols::simple_moves::WriteFiltersToPose::apply(), protocols::cluster::GatherPosesMover::apply(), protocols::cryst::CrystRMS::apply(), protocols::cryst::DockLatticeMover::apply(), protocols::domain_assembly::PostDockAssemblyScorer::apply(), protocols::fold_from_loops::movers::NubInitioLoopClosureMover::apply(), protocols::hybridization::FoldTreeHybridize::apply(), protocols::moves::FilterReportAsPoseExtraScoresMover::apply(), protocols::moves::SwitchMover::apply(), protocols::relax::FastRelax::apply(), protocols::relax::loop::LoopRelaxMover::apply(), protocols::rna::denovo::movers::RNA_DeNovoProtocolMover::apply(), protocols::rna::denovo::RNA_FragmentMonteCarlo::apply(), protocols::rna::movers::RNAThreadAndMinimizeMover::apply(), protocols::simple_moves::ReportXYZ::apply(), protocols::simple_moves::SixDoFGridDockMover::apply(), protocols::simple_moves::TailsScoreMover::apply(), protocols::stepwise::modeler::align::StepWiseClusterer::apply(), protocols::hybridization::HybridizeProtocol::apply(), protocols::protein_interface_design::movers::SecretionOptimizationMover::apply(), protocols::flxbb::FlxbbDesign::apply(), protocols::indexed_structure_store::movers::SegmentSequenceProfileMover::apply(), protocols::simple_ddg::ddG::apply(), protocols::simple_moves::ScoreMover::apply(), protocols::simple_moves::VirtualRootMover::apply(), protocols::rosetta_scripts::ParsedProtocol::apply_filter(), protocols::relax::FastRelax::batch_apply(), protocols::simple_ddg::ddG::calculate(), protocols::abinitio::AbrelaxApplication::check_filters(), protocols::stepwise::modeler::align::StepWiseClusterer::check_screen_and_kick_out_displaced_model(), protocols::ligand_docking::ga_ligand_dock::constraint_relax(), protocols::ligand_docking::ga_ligand_dock::OutputStructureStore::dens_pop(), protocols::stepwise::monte_carlo::StepWiseMonteCarlo::do_main_loop(), protocols::symmetric_docking::SymDockProtocol::docking_lowres_filter(), protocols::ligand_docking::ga_ligand_dock::GALigandDock::eval_docked_pose_helper(), core::import_pose::pose_stream::LazySilentFilePoseInputStream::fill_pose(), core::import_pose::pose_stream::SilentFilePoseInputStream::fill_pose(), protocols::abinitio::AbrelaxApplication::fold(), protocols::motif_grafting::movers::MotifGraftMover::generate_match_pose(), protocols::indexed_structure_store::movers::DirectSegmentLookupMover::generate_result_pose(), protocols::jd2::VectorPoseJobDistributor::go_mpi(), protocols::jd2::VectorPoseJobDistributor::go_serial(), protocols::stepwise::monte_carlo::StepWiseMonteCarlo::initialize_for_movie(), protocols::relax::FastRelax::inner_loop_ramp_repack_min_command(), protocols::jobdist::main_plain_pdb_mover(), protocols::ligand_docking::ga_ligand_dock::make_ligand_only_pose(), protocols::loophash::LocalInserter_SimpleMin::make_local_bb_change(), protocols::loophash::LocalInserter_SimpleMin::make_local_bb_change_close_gaps(), protocols::loophash::LocalInserter_SimpleMin::make_local_bb_change_include_cut(), protocols::fold_from_loops::NubInitioMover::manage_constraints(), protocols::frag_picker::FragmentPicker::nonlocal_pairs(), core::scoring::DockingScoreFunction::operator()(), core::scoring::MinScoreScoreFunction::operator()(), protocols::stepwise::monte_carlo::StepWiseMonteCarlo::output_checkpoint_file(), protocols::stepwise::monte_carlo::StepWiseMonteCarlo::output_movie(), protocols::frag_picker::FragmentCandidate::output_silent(), protocols::hbnet::HBNet::place_rots_on_pose(), protocols::ligand_docking::ga_ligand_dock::OutputStructureStore::pop(), protocols::fold_from_loops::NubInitioMover::post_process(), protocols::loop_modeling::utilities::TrajectoryLogger::record_endpoint(), protocols::glycopeptide_docking::record_pose_metrics(), protocols::glycan_docking::GlycanDockProtocol::record_pose_metrics(), protocols::glycan_docking::GlycanDockProtocol::record_protocol_info(), core::io::pose_from_sfr::PoseFromSFRBuilder::refine_pose(), protocols::fold_from_loops::NubInitioMover::refold_pose(), protocols::fold_from_loops::NubInitioMover::repack_minimize_disulfides(), protocols::rosetta_scripts::ParsedProtocol::report_filters_to_pose(), protocols::pose_reporters::FilterReporter::report_property(), protocols::ligand_docking::ga_ligand_dock::GALigandDock::run_docking(), protocols::magnesium::MgScanner::scan_magnesiums(), protocols::filters::Filter::score(), protocols::loops::loop_closure::ccd::SlidingWindowLoopClosure::select_final_loop(), protocols::loops::loop_closure::ccd::FASelectSlidingWindowLoopClosure::select_final_loop(), protocols::pose_selectors::Filter::select_poses(), protocols::loops::loop_closure::ccd::SlidingWindowLoopClosure::setPoseExtraScore(), protocols::relax::ClassicRelax::setPoseExtraScore(), protocols::fold_from_loops::NubInitioMover::template_rmsd(), protocols::chemically_conjugated_docking::ubq_ras_distance(), and protocols::jobdist::universal_main().
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.
References core::pose::datacache::CacheableDataType::ARBITRARY_STRING_DATA, and core::pose::Pose::data().
void core::pose::setup_dof_mask_from_move_map | ( | kinematics::MoveMap const & | mm, |
pose::Pose const & | pose, | ||
id::DOF_ID_Mask & | dof_mask | ||
) |
convert from allow-bb/allow-chi MoveMap to simple DOF_ID boolean mask needed by the minimizer
References core::conformation::Residue::aa(), core::chemical::aa_his, core::id::BB, core::id::BRANCH, core::chemical::rna::CHI, core::pose::Pose::conformation(), core::id::D, core::kinematics::MoveMap::dof_id_begin(), core::kinematics::MoveMap::dof_id_end(), core::conformation::Conformation::dof_id_from_torsion_id(), core::kinematics::MoveMap::get(), core::kinematics::MoveMap::get_jump(), initialize_dof_id_map(), core::conformation::Residue::is_aromatic(), core::conformation::Residue::is_carbohydrate(), core::chemical::is_mainchain_torsion_also_ring_torsion(), core::conformation::Residue::is_virtual(), core::id::JUMP, core::conformation::Residue::mainchain_atoms(), core::conformation::Residue::n_non_polymeric_residue_connections(), core::conformation::Residue::n_nus(), core::conformation::Residue::nchi(), core::id::NU, core::pose::Pose::num_jump(), core::chemical::rings::PHI, core::pose::Pose::residue(), core::pose::Pose::size(), core::chemical::rings::THETA, TR(), and core::conformation::Residue::type().
Referenced by core::optimization::CartesianMinimizerMap::setup(), core::optimization::MinimizerMap::setup(), and core::optimization::symmetry::SymMinimizerMap::SymMinimizerMap().
void core::pose::setup_dof_to_torsion_map | ( | pose::Pose const & | pose, |
id::DOF_ID_Map< id::TorsionID > & | dof_map | ||
) |
set up a map to look up TORSION_ID by DOF_ID (Map[DOF_ID] = TORISION_ID)
References core::id::BB, core::id::TorsionID::BOGUS_TORSION_ID(), core::id::BRANCH, core::chemical::rna::CHI, core::pose::Pose::conformation(), core::conformation::Conformation::dof_id_from_torsion_id(), initialize_dof_id_map(), core::id::JUMP, core::conformation::Residue::mainchain_atoms(), core::conformation::Residue::n_non_polymeric_residue_connections(), core::conformation::Residue::n_nus(), core::conformation::Residue::nchi(), core::id::NU, core::pose::Pose::num_jump(), core::pose::Pose::residue(), and core::pose::Pose::size().
Referenced by core::optimization::MinimizerMap::assign_rosetta_torsions(), core::optimization::CartesianMinimizerMap::assign_rosetta_torsions_and_trim(), and core::optimization::symmetry::SymMinimizerMap::SymMinimizerMap().
void core::pose::show_adjacent_nt_connections | ( | pose::Pose const & | pose, |
Size const | res | ||
) |
References core::pose::Pose::conformation(), core::conformation::Residue::connect_map_size(), core::conformation::Residue::connected_residue_at_resconn(), core::conformation::Residue::has_upper_connect(), core::conformation::Residue::name(), core::conformation::Conformation::residue(), core::conformation::Residue::residue_connect_atom_index(), core::conformation::Residue::residue_connection_conn_id(), core::conformation::Residue::seqpos(), TR(), and core::conformation::Residue::upper_connect_atom().
bool core::pose::sort_pose_by_score | ( | core::pose::PoseOP const & | pose1, |
core::pose::PoseOP const & | pose2 | ||
) |
References total_energy_from_pose().
Referenced by protocols::stepwise::modeler::rna::sugar::VirtualSugarSamplerFromStringList::apply(), protocols::stepwise::legacy::modeler::rna::StepWiseRNA_PoseSelection::finalize(), protocols::stepwise::modeler::rna::sugar::VirtualSugarJustInTimeInstantiator::get_sugar_modeling_set(), protocols::stepwise::modeler::align::StepWiseLegacyClusterer::initialize_parameters_and_input(), protocols::stepwise::legacy::modeler::rna::StepWiseRNA_PoseSelection::pose_selection_by_full_score(), and protocols::stepwise::modeler::align::StepWiseClusterer::sort_pose_list().
bool core::pose::stepwise_addable_pose_residue | ( | Size const | n, |
pose::Pose const & | pose | ||
) |
References core::pose::full_model_info::const_full_model_info(), core::pose::full_model_info::full_model_info_defined(), core::pose::full_model_info::FullModelInfo::res_list(), and stepwise_addable_residue().
Referenced by protocols::stepwise::modeler::packer::figure_out_working_interface_res(), and protocols::stepwise::monte_carlo::mover::StepWiseMoveSelector::get_docking_split_move_elements().
id::NamedStubID core::pose::stub_id_to_named_stub_id | ( | id::StubID const & | stub_id, |
core::pose::Pose const & | pose | ||
) |
void core::pose::swap_transform | ( | Size | jump_num, |
kinematics::RT const & | xform, | ||
Pose & | pose | ||
) |
Updates the rigid-body transform of the specified jump in <pose>
References core::conformation::Residue::atom_index(), core::pose::Pose::conformation(), core::kinematics::FoldTree::downstream_jump_residue(), core::pose::Pose::fold_tree(), core::conformation::Residue::natoms(), core::pose::Pose::num_jump(), core::pose::Pose::residue(), core::conformation::Conformation::set_stub_transform(), TR(), core::kinematics::FoldTree::upstream_jump_residue(), and core::id::StubID::valid().
std::string core::pose::tag_from_pose | ( | core::pose::Pose const & | pose | ) |
References core::pose::Pose::data(), core::pose::datacache::CacheableDataType::JOBDIST_OUTPUT_TAG, and protocols::kinmatch::str().
Referenced by protocols::boinc::boincOutputFilter(), protocols::rna::setup::RNA_CSA_JobDistributor::check_for_closeness(), protocols::stepwise::screener::AnchorSugarScreener::check_screen(), protocols::stepwise::legacy::modeler::rna::StepWiseRNA_PoseSelection::cluster_pose_list(), protocols::stepwise::modeler::align::StepWiseLegacyClusterer::do_some_clustering(), protocols::stepwise::modeler::rna::StepWiseRNA_CombineLongLoopFilterer::do_some_filtering(), protocols::stepwise::monte_carlo::mover::StepWiseMasterMover::do_test_move(), core::import_pose::libraries::BasePairStepLibrary::initialize_data(), protocols::stepwise::modeler::rna::sugar::VirtualSugarJustInTimeInstantiator::instantiate_sugar(), protocols::stepwise::modeler::rna::sugar::modeler_starting_pose_data_list(), core::sequence::output_fasta_file(), core::scoring::rna::output_motifs_to_pymol(), protocols::stepwise::modeler::rna::sugar::VirtualSugarSamplerFromStringList::output_pose_data_list(), protocols::stepwise::monte_carlo::output_to_silent_file(), pdbslice(), protocols::rotamer_recovery::RRReporterHuman::report_rotamer_recovery(), core::energy_methods::FastSAXSEnergy::setup_for_scoring(), protocols::stepwise::modeler::rna::sugar::VirtualSugarSampler::setup_sugar_conformations(), and protocols::rotamer_recovery::PerNativeRRReporterHuman::show().
void core::pose::tag_into_pose | ( | core::pose::Pose & | pose, |
std::string const & | tag | ||
) |
References core::pose::Pose::data(), and core::pose::datacache::CacheableDataType::JOBDIST_OUTPUT_TAG.
Referenced by protocols::stepwise::modeler::add_to_pose_list(), protocols::stepwise::modeler::rna::sugar::VirtualSugarSamplerFromStringList::apply(), protocols::stepwise::modeler::rna::sugar::VirtualSugarSampler::apply(), protocols::stepwise::modeler::rna::StepWiseRNA_CombineLongLoopFilterer::convert_silent_file_to_pose_data_list(), core::import_pose::get_pdb_and_cleanup(), protocols::stepwise::modeler::align::StepWiseLegacyClustererSilentBased::get_pose_list(), protocols::stepwise::modeler::rna::sugar::VirtualSugarJustInTimeInstantiator::instantiate_sugar(), protocols::stepwise::modeler::rna::sugar::VirtualSugarJustInTimeInstantiator::instantiate_sugars_recursively(), protocols::features::StructureFeatures::load_tag(), protocols::stepwise::modeler::rna::sugar::modeler_starting_pose_data_list(), pdbslice(), protocols::jd2::LazySilentFileJobInputter::pose_from_job(), protocols::jd2::SilentFileJobInputter::pose_from_job(), protocols::stepwise::monte_carlo::submotif::SubMotifLibrary::save_pose_as_submotif(), and protocols::stepwise::modeler::rna::sugar::VirtualSugarSampler::setup_sugar_conformations().
core::Real core::pose::total_energy_from_pose | ( | core::pose::Pose const & | pose | ) |
References core::pose::Pose::energies(), getPoseExtraScore(), and core::scoring::Energies::total_energy().
Referenced by protocols::stepwise::modeler::align::StepWiseClusterer::check_screen_and_kick_out_displaced_model(), protocols::stepwise::legacy::modeler::rna::StepWiseRNA_PoseSelection::cluster_pose_list(), protocols::stepwise::modeler::align::StepWiseLegacyClusterer::do_some_clustering(), protocols::stepwise::modeler::rna::StepWiseRNA_CombineLongLoopFilterer::do_some_filtering(), protocols::stepwise::modeler::align::StepWiseLegacyClusterer::initialize_parameters_and_input(), protocols::stepwise::modeler::rna::StepWiseRNA_CombineLongLoopFilterer::pass_all_filters(), and sort_pose_by_score().
|
static |
Referenced by core::pose::ncbb::add_a3b_hbs_constraint(), core::pose::ncbb::add_generic_hbs_constraint(), core::pose::ncbb::add_hbs_constraint(), core::pose::ncbb::add_oop_constraint(), core::pose::ncbb::add_triazole_constraint(), add_variant_type_to_residue(), addVirtualResAsRoot(), protocols::stepwise::modeler::align::align_pose_and_add_rmsd_constraints(), append_pose_with_glycan_residues(), append_subpose_to_pose(), protocols::loophash::BackboneSegment::apply_to_pose(), chain_end_res(), core::import_pose::RNA_BasePairHandler::check_base_pairs(), core::pose::rna::RNA_SecStruct::check_compatible_with_sequence(), core::pose::full_model_info::check_full_model_info_OK(), protocols::stepwise::modeler::check_scores_from_parts(), core::pose::rna::RNA_SuiteName::closest_by_dist4(), core::pose::rna::RNA_SuiteName::closest_suite(), protocols::stepwise::modeler::align::StepWiseLegacyClustererSilentBased::cluster(), protocols::stepwise::modeler::align::StepWiseLegacyClustererSilentBased::cluster_with_auto_tune(), compare_atom_coordinates(), compute_unique_chains(), conf2pdb_chain(), core::pose::full_model_info::FullModelParameters::conventional_to_full(), correctly_add_2prime_connection_variants(), create_chemical_edge(), core::pose::carbohydrates::create_glycan_movemap_from_residue_selector(), core::pose::carbohydrates::delete_carbohydrate_branch(), disulfide_pairs_from_sfr(), protocols::stepwise::modeler::align::StepWiseLegacyClustererSilentBased::do_some_clustering(), core::import_pose::RNA_BasePairHandler::figure_out_partner(), core::import_pose::libraries::ChunkSet::filter_poses_have_same_sequence_and_variants(), protocols::stepwise::modeler::find_downstream_connection_res(), fix_up_residue_type_variants(), fix_up_residue_type_variants_at_strand_beginning(), fix_up_residue_type_variants_at_strand_end(), core::import_pose::libraries::ChunkSet::get_atom_id_domain_map_for_rosetta_library_chunk(), protocols::stepwise::sampler::protein::get_basic_protein_sampler(), get_chain_from_chain_id(), get_chain_from_jump_id(), get_chain_ids_from_chains(), get_constraints_from_link_records(), protocols::stepwise::modeler::get_domain_boundary_suites(), get_hash_excluding_chain(), get_hash_from_chain(), get_jump_id_from_chain(), get_jump_id_from_chain_id(), get_jump_ids_from_chain(), protocols::stepwise::modeler::rna::sugar::get_possible_reference_res_list_from_pose_without_fold_tree(), protocols::stepwise::modeler::rna::sugar::get_reference_res_for_each_virtual_sugar_without_fold_tree(), get_resnum_selector(), get_resnums_for_chain(), get_restype_for_pose(), get_sha1_hash_excluding_chains(), get_sha1_hash_from_chains(), core::pose::carbohydrates::glycosylate_pose(), has_chain(), core::pose::carbohydrates::idealize_last_n_glycans_in_pose(), protocols::recces::sampler::initialize_sampler(), protocols::recces::sampler::initialize_thermal_sampler(), is_atom_axial_or_equatorial_to_ring(), protocols::stepwise::modeler::rna::sugar::is_sugar_virtual(), protocols::stepwise::modeler::rna::sugar::look_for_jumps(), protocols::loophash::LocalInserter_SimpleMin::make_local_bb_change(), protocols::loophash::LocalInserter_SimpleMin::make_local_bb_change_close_gaps(), protocols::loophash::LocalInserter_SimpleMin::make_local_bb_change_include_cut(), make_pose_from_saccharide_sequence(), make_pose_from_sequence(), protocols::stepwise::modeler::merge_two_poses(), protocols::stepwise::modeler::rna::sugar::minimize_all_sampled_floating_bases(), named_atom_id_to_atom_id(), num_atoms(), num_hbond_acceptors(), num_hbond_donors(), num_heavy_atoms(), core::pose::PDBInfo::parse_pdbinfo_labels(), parse_resnum(), parse_sequence(), partition_pose_by_jump(), protocols::stepwise::monte_carlo::prepare_silent_struct(), protocols::loophash::BackboneSegment::print(), read_comment_pdb(), protocols::loophash::BackboneDB::read_db(), core::pose::full_model_info::FullModelParameters::read_global_seq_info(), protocols::loophash::BackboneDB::read_homologs(), protocols::loophash::BackboneDB::read_legacydb(), read_psipred_ss2_file(), core::pose::rna::RNA_SecStruct::read_secstruct_from_file(), protocols::stepwise::modeler::align::StepWiseLegacyClustererSilentBased::recluster_current_pose_list(), remove_variant_type_from_residue(), renumber_pdbinfo_based_on_conf_chains(), reroot(), protocols::stepwise::modeler::reroot_based_on_full_model_info(), res_in_chain(), residue_types_from_saccharide_sequence(), residue_types_from_saccharide_sequence_recursive(), residue_types_from_sequence(), protocols::stepwise::modeler::revise_root_and_moving_res(), core::pose::rna::RNA_SecStruct::RNA_SecStruct(), saved_native_pose(), saved_reference_pose(), sequence_map_from_pdbinfo(), core::pose::carbohydrates::set_dihedrals_from_linkage_conformer_data(), core::pose::carbohydrates::set_glycan_iupac_bb_torsions(), core::pose::carbohydrates::set_glycan_iupac_chi_torsions(), set_reasonable_fold_tree(), core::import_pose::RNA_BasePairHandler::setup_base_pair_constraints(), setup_dof_mask_from_move_map(), show_adjacent_nt_connections(), swap_transform(), protocols::stepwise::modeler::switch_focus_among_poses_randomly(), protocols::stepwise::modeler::switch_focus_to_other_pose(), core::pose::carbohydrates::tautomerize_anomer(), and transfer_jumps().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void core::pose::transfer_jumps | ( | const core::pose::Pose & | srcpose, |
core::pose::Pose & | tgtpose | ||
) |
References core::pose::Pose::fold_tree(), core::pose::Pose::jump(), core::kinematics::FoldTree::jump_edge(), core::kinematics::FoldTree::jump_nr(), core::pose::Pose::num_jump(), core::pose::Pose::set_jump(), core::kinematics::Edge::start(), core::kinematics::Edge::stop(), and TR().
Referenced by protocols::loophash::LoopHashSampler::build_structures().
void core::pose::transfer_phi_psi | ( | const core::pose::Pose & | srcpose, |
core::pose::Pose & | tgtpose | ||
) |
References protocols::mean_field::min(), core::pose::Pose::size(), and transfer_phi_psi().
void core::pose::transfer_phi_psi | ( | const core::pose::Pose & | srcpose, |
core::pose::Pose & | tgtpose, | ||
core::Size | ir, | ||
core::Size | jr | ||
) |
References core::chemical::ResidueTypeBase::is_protein(), protocols::mean_field::min(), core::pose::Pose::omega(), core::pose::Pose::phi(), core::pose::Pose::psi(), core::pose::Pose::residue_type(), core::pose::Pose::set_omega(), core::pose::Pose::set_phi(), core::pose::Pose::set_psi(), and core::pose::Pose::size().
Referenced by protocols::loophash::LoopHashSampler::build_structures(), protocols::loophash::LoopHashLibrary::get_all(), protocols::loophash::LoopHashLibrary::graft_loop(), protocols::loophash::LocalInserter_SimpleMin::make_local_bb_change(), protocols::loophash::LocalInserter_SimpleMin::make_local_bb_change_close_gaps(), protocols::loophash::LocalInserter_SimpleMin::make_local_bb_change_include_cut(), and transfer_phi_psi().
void core::pose::update_block_stack_variants | ( | pose::Pose & | pose, |
Size const | n | ||
) |
References add_variant_type_to_pose_residue(), core::chemical::BLOCK_STACK_ABOVE, core::chemical::BLOCK_STACK_BELOW, core::pose::full_model_info::const_full_model_info(), core::chemical::ResidueTypeBase::has_variant_type(), core::pose::full_model_info::FullModelInfo::res_list(), core::pose::Pose::residue_type(), core::pose::full_model_info::FullModelInfo::rna_block_stack_above_res(), and core::pose::full_model_info::FullModelInfo::rna_block_stack_below_res().
Referenced by fix_up_residue_type_variants().
void core::pose::update_cutpoint_virtual_atoms_if_connected | ( | core::pose::Pose & | pose, |
core::Size const | cutpoint_res, | ||
bool | recurse | ||
) |
Given a pose and a position that may or may not be CUTPOINT_UPPER or CUTPOINT_LOWER, determine whether this position has either of these variant types, and if it does, determine whether it's connected to anything. If it is, update the C-OVL1-OVL2 bond lengths and bond angle (for CUTPOINT_LOWER) or OVU1-N bond length (for CUTPOINT_UPPER) to match any potentially non-ideal geometry in the residue to which it's bonded.
Requires a little bit of special-casing for gamma-amino acids. Throws an exception if the residue to which a CUTPOINT_LOWER is bonded does not have an "N" and a "CA" or "C4". Safe to call repeatedly, or if cutpoint variant types are absent; in these cases, the function does nothing.
References core::pose::Pose::conformation(), and core::conformation::update_cutpoint_virtual_atoms_if_connected().
Referenced by add_variant_type_to_pose_residue(), and correctly_add_cutpoint_variants().
core::chemical::ResidueTypeCOP core::pose::virtual_type_for_pose | ( | core::pose::Pose const & | pose | ) |
Return the appropritate ResidueType for the virtual residue for the "mode" (fullatom, centroid ...) the pose is in.
Return the appropritate ResidueType for the virtual residue for the i "mode" (fullatom, centroid ...) the pose is in.
References get_restype_for_pose().
Referenced by protocols::stepwise::legacy::modeler::protein::StepWiseProteinPoseSetup::add_aa_virt_rsd_as_root(), protocols::stepwise::legacy::modeler::rna::StepWiseRNA_PoseSetup::add_aa_virt_rsd_as_root(), protocols::toolbox::sample_around::add_another_virtual_res(), protocols::loops::add_coordinate_constraints_to_pose(), protocols::relax::add_coordinate_constraints_to_pose(), protocols::simple_moves::AddCavitiesMover::add_suckers(), protocols::toolbox::sample_around::add_virtual_res(), protocols::rna::movers::ErraserMinimizerMover::add_virtual_res(), protocols::relax::add_virtual_residue_to_cterm(), addVirtualResAsRoot(), protocols::rna::denovo::RNA_DeNovoPoseInitializer::append_virtual_anchor(), protocols::relax::loop::LoopRelaxMover::apply(), protocols::rna::movers::RNAThreadAndMinimizeMover::apply(), protocols::idealize::IdealizeMover::apply(), protocols::relax::coordinate_constrain_selection(), protocols::forge::build::BuildManager::modify(), protocols::antibody::snugdock::SnugDockProtocol::place_VRT_at_residue_COM(), protocols::stepwise::monte_carlo::mover::DeleteMover::remove_singletons_and_update_pose_focus(), protocols::antibody::snugdock::SnugDockProtocol::setup_ab_ag_foldtree(), and protocols::topology_broker::SymmetryClaimer::symmetry_duplicate().