Rosetta
|
removes positions whose numer of neighbors below a 10A cutoff is not within the desired range. if either min_neighbors_ or max_neighbors_ are unspecified (0), this means that they won't be taken into account, i.e. if min is 5 and max is 0, every position that has more than 4 neighbors will be allowed. also offers the possibility of combining the num neighbors cutoff with the angle between the CA->CB vector of the residue and the CA->protein_center_of_mass vector, for example to only allow positions that point inward More...
#include <MatchPositionModifiers.hh>
Public Member Functions | |
NumNeighborsMPM (utility::vector1< std::string > const &input_tokens) | |
~NumNeighborsMPM () override | |
utility::vector1< core::Size > | modified_match_positions (utility::vector1< core::Size > const &original_positions, core::pose::Pose const &match_pose, protocols::match::MatcherTaskCOP mtask) const override |
the positions in the vector1< core::Size > that is returned by this function will replace the match positions in the MatcherTask. More... | |
bool | passes_com_vector_criterion (core::Size seqpos, core::pose::Pose const &pose, core::Vector const &com) const |
![]() | |
MatchPositionModifier () | |
~MatchPositionModifier () override | |
removes positions whose numer of neighbors below a 10A cutoff is not within the desired range. if either min_neighbors_ or max_neighbors_ are unspecified (0), this means that they won't be taken into account, i.e. if min is 5 and max is 0, every position that has more than 4 neighbors will be allowed. also offers the possibility of combining the num neighbors cutoff with the angle between the CA->CB vector of the residue and the CA->protein_center_of_mass vector, for example to only allow positions that point inward
protocols::match::NumNeighborsMPM::NumNeighborsMPM | ( | utility::vector1< std::string > const & | input_tokens | ) |
|
overridedefault |
|
overridevirtual |
the positions in the vector1< core::Size > that is returned by this function will replace the match positions in the MatcherTask.
Implements protocols::match::MatchPositionModifier.
References both_criteria_needed_to_pass_, core::pose::center_of_mass(), com_vector_criterion_, core::pose::Pose::energies(), max_neighbors_, min_neighbors_, core::conformation::Residue::nbr_atom_xyz(), passes_com_vector_criterion(), core::pose::Pose::residue(), core::pose::Pose::size(), core::scoring::Energies::tenA_neighbor_graph(), core::id::to_string(), and protocols::match::tr().
bool protocols::match::NumNeighborsMPM::passes_com_vector_criterion | ( | core::Size | seqpos, |
core::pose::Pose const & | pose, | ||
core::Vector const & | com | ||
) | const |
|
private |
Referenced by modified_match_positions(), and NumNeighborsMPM().
|
private |
Referenced by modified_match_positions(), and NumNeighborsMPM().
|
private |
Referenced by NumNeighborsMPM(), and passes_com_vector_criterion().
|
private |
Referenced by modified_match_positions(), and NumNeighborsMPM().
|
private |
Referenced by NumNeighborsMPM(), and passes_com_vector_criterion().
|
private |
Referenced by modified_match_positions(), and NumNeighborsMPM().