|
Rosetta 3.5
|
#include <InvrotTreeNode.hh>


Public Member Functions | |
| InvrotTreeNode (InvrotTreeNodeBaseCAP parent) | |
| ~InvrotTreeNode () | |
| bool | initialize_from_enzcst_io (core::conformation::Residue const &target_residue, EnzConstraintIOCOP enzcst_io, Size invrot_geomcst, core::pose::PoseCOP pose=NULL) |
| generate invrots according to an enzdes cstfile returns true if it was possible to build invrots, i.e. geometry correctly defined in cstfile and no clashes with any parent inverse rotamers More... | |
| bool | initialize_from_enzcst_io_and_invrots (std::list< core::conformation::ResidueCOP > const &all_invrots, EnzConstraintIOCOP enzcst_io, Size invrot_geomcst, core::pose::PoseCOP pose=NULL) |
| core::scoring::constraints::ConstraintCOP | generate_constraints (core::pose::Pose const &pose, AllowedSeqposForGeomCstCOP geomcst_seqpos) const |
| core::id::AtomID | get_fixed_pt (core::pose::Pose const &pose) const |
| this function returns the AtomID for an atom in the pose that's supposed to stay fixed during folding, i.e. the neighbor atom of the first target needed to generate the right backbone_stub constraints More... | |
| utility::vector1< std::list < core::conformation::ResidueCOP > > | all_target_residues (InvrotTreeNodeBaseCAP child_node) const |
| this function traverses up the tree and adds the target residue for every geomcst in the branch toward this node used for clash checking, i.e. in case where the interaction is lig<-geomcst1-<geomcst2-<geomcst3, we don't want geomcst2 rots that clash with the ligand, and we don't wand geomcst3 rots that clash with the ligand or geomcst1 res the child node argument usually represents the node that is asking for the target residues, i.e. the node that's calling this function More... | |
| void | remove_invrots_clashing_with_parent_res (std::list< core::conformation::ResidueCOP > &invrots, bool covalent) const |
| void | collect_all_inverse_rotamers (utility::vector1< InvrotCollectorOP > &invrot_collectors) const |
| convenience funtion to get all inverse rotamers in the tree puts all the inverse rotamers associated with this node into vector, and should call this function on daughter nodes uses std:vector because the targets will be put into 0th element needs vector of vector bc there can be different definitions of the tree More... | |
Public Member Functions inherited from protocols::toolbox::match_enzdes_util::InvrotTreeNodeBase | |
| InvrotTreeNodeBase (InvrotTreeNodeBaseCAP parent_node) | |
| virtual | ~InvrotTreeNodeBase () |
| InvrotTreeNodeBaseCAP | parent_node () const |
| void | set_location_in_parent_node (Size location) |
| Size | location_in_parent_node () const |
Private Types | |
| typedef std::pair< std::list < core::conformation::ResidueCOP > , utility::vector1 < InvrotTreeNodeBaseOP > > | invrots_node_ptrs_pair |
| typedef core::Size | Size |
Private Attributes | |
| Size | geom_cst_ |
| utility::vector1 < invrots_node_ptrs_pair > | invrots_and_next_nodes_ |
| bool | generate_invrot_csts_ |
Definition at line 37 of file InvrotTreeNode.hh.
|
private |
Definition at line 40 of file InvrotTreeNode.hh.
Definition at line 42 of file InvrotTreeNode.hh.
| protocols::toolbox::match_enzdes_util::InvrotTreeNode::InvrotTreeNode | ( | InvrotTreeNodeBaseCAP | parent) |
Definition at line 47 of file InvrotTreeNode.cc.
References invrots_and_next_nodes_.
Referenced by initialize_from_enzcst_io_and_invrots().
| protocols::toolbox::match_enzdes_util::InvrotTreeNode::~InvrotTreeNode | ( | ) |
Definition at line 54 of file InvrotTreeNode.cc.
|
virtual |
this function traverses up the tree and adds the target residue for every geomcst in the branch toward this node used for clash checking, i.e. in case where the interaction is lig<-geomcst1-<geomcst2-<geomcst3, we don't want geomcst2 rots that clash with the ligand, and we don't wand geomcst3 rots that clash with the ligand or geomcst1 res the child node argument usually represents the node that is asking for the target residues, i.e. the node that's calling this function
Implements protocols::toolbox::match_enzdes_util::InvrotTreeNodeBase.
Definition at line 290 of file InvrotTreeNode.cc.
References invrots_and_next_nodes_, and protocols::toolbox::match_enzdes_util::InvrotTreeNodeBase::parent_node().
|
virtual |
convenience funtion to get all inverse rotamers in the tree puts all the inverse rotamers associated with this node into vector, and should call this function on daughter nodes uses std:vector because the targets will be put into 0th element needs vector of vector bc there can be different definitions of the tree
Implements protocols::toolbox::match_enzdes_util::InvrotTreeNodeBase.
Definition at line 404 of file InvrotTreeNode.cc.
References core::io::serialization::clone(), geom_cst_, invrots_and_next_nodes_, and protocols::toolbox::match_enzdes_util::tr().
|
virtual |
the real meat of this thing see brief description in .hh file
Implements protocols::toolbox::match_enzdes_util::InvrotTreeNodeBase.
Definition at line 221 of file InvrotTreeNode.cc.
References protocols::toolbox::match_enzdes_util::constrain_pose_res_to_invrots(), generate_invrot_csts_, geom_cst_, get_fixed_pt(), and invrots_and_next_nodes_.
| core::id::AtomID protocols::toolbox::match_enzdes_util::InvrotTreeNode::get_fixed_pt | ( | core::pose::Pose const & | pose) | const |
this function returns the AtomID for an atom in the pose that's supposed to stay fixed during folding, i.e. the neighbor atom of the first target needed to generate the right backbone_stub constraints
approach: get the target residues, then find a residue in the pose that has the same name as the first target residue and a neighbor atom in the same position. this will be the fixed point. exit w error if not found
Definition at line 265 of file InvrotTreeNode.cc.
References core::conformation::Residue::atom(), core::conformation::Residue::atoms(), core::chemical::ResidueType::name3(), protocols::toolbox::match_enzdes_util::InvrotTreeNodeBase::parent_node(), core::pose::Pose::residue(), core::pose::Pose::residue_type(), core::pose::Pose::total_residue(), and core::conformation::Atom::xyz().
Referenced by generate_constraints().
| bool protocols::toolbox::match_enzdes_util::InvrotTreeNode::initialize_from_enzcst_io | ( | core::conformation::Residue const & | target_residue, |
| EnzConstraintIOCOP | enzcst_io, | ||
| Size | invrot_geomcst, | ||
| core::pose::PoseCOP | pose = NULL |
||
| ) |
generate invrots according to an enzdes cstfile returns true if it was possible to build invrots, i.e. geometry correctly defined in cstfile and no clashes with any parent inverse rotamers
assumptions: this node represents the upstream_res of this geom_cst (invrot_geomcst), and the given target_residue corresponds to the downstream_res of invrot_geomcst
Definition at line 63 of file InvrotTreeNode.cc.
References protocols::toolbox::match_enzdes_util::cst_residue_in_pose(), initialize_from_enzcst_io_and_invrots(), invrots_and_next_nodes_, remove_invrots_clashing_with_parent_res(), and protocols::toolbox::match_enzdes_util::tr().
| bool protocols::toolbox::match_enzdes_util::InvrotTreeNode::initialize_from_enzcst_io_and_invrots | ( | std::list< core::conformation::ResidueCOP > const & | all_invrots, |
| EnzConstraintIOCOP | enzcst_io, | ||
| Size | invrot_geomcst, | ||
| core::pose::PoseCOP | pose = NULL |
||
| ) |
Definition at line 102 of file InvrotTreeNode.cc.
References geom_cst_, invrots_and_next_nodes_, InvrotTreeNode(), core::scoring::pair, and protocols::toolbox::match_enzdes_util::tr().
Referenced by initialize_from_enzcst_io().
| void protocols::toolbox::match_enzdes_util::InvrotTreeNode::remove_invrots_clashing_with_parent_res | ( | std::list< core::conformation::ResidueCOP > & | invrots, |
| bool | covalent | ||
| ) | const |
if covalent is true, clashes will not be checked for the last vector that comes down from the parent. kinda crude, could be made better, i.e. only except the actual constrained atoms from clash check
Definition at line 321 of file InvrotTreeNode.cc.
References core::conformation::Residue::atom(), core::sequence::end, core::chemical::ResidueType::is_virtual(), core::conformation::Residue::nheavyatoms(), protocols::toolbox::match_enzdes_util::InvrotTreeNodeBase::parent_node(), core::io::serialization::size(), core::conformation::Residue::type(), and core::conformation::Atom::xyz().
Referenced by initialize_from_enzcst_io().
|
private |
Definition at line 123 of file InvrotTreeNode.hh.
Referenced by generate_constraints().
|
private |
Definition at line 119 of file InvrotTreeNode.hh.
Referenced by collect_all_inverse_rotamers(), generate_constraints(), and initialize_from_enzcst_io_and_invrots().
|
private |
Definition at line 121 of file InvrotTreeNode.hh.
Referenced by all_target_residues(), collect_all_inverse_rotamers(), generate_constraints(), initialize_from_enzcst_io(), initialize_from_enzcst_io_and_invrots(), and InvrotTreeNode().
1.8.4