![]() |
Rosetta
2021.16
|
#include <FilterByProxTerm.hh>
Static Public Member Functions | |
| static void | init (core::pose::Pose const &ps, core::Real max_ct_dist, core::Real max_tt_dist, core::Size nres) |
| filter initialization More... | |
| static bool | is_satisfied (core::pose::Pose const &ps, utility::vector1< core::Size > const &cnl) |
| tells whether a constellation satisfies the filter More... | |
Static Private Attributes | |
| static utility::vector1 < ChainTerm > | chains_ |
| N- and C-terminal residues for each chain in the pose. More... | |
| static core::Size | nchains_ |
| number of chains in the pose More... | |
| static core::Real | max_ct_dist2_ |
| squared value of the maximum distance for a constellation to be considered proximal to the termini More... | |
| static core::Size | nres_ |
| number of residues forming either terminus in a chain More... | |
| static std::map< char, bool > | proxnc_ |
| chains with termini proximal to one another More... | |
|
static |
filter initialization
filter initialization.
| [in] | ps | pose containing the constellations to be filtered.. |
| [in] | max_ct_dist | maximum distance for a constellation to be considered proximal to the termini. |
| [in] | max_tt_dist | maximum distance for chain termini to be considered proximal to one another.. |
| [in] | number | of residues forming either terminus of a chain. |
References chains_, protocols::constel::get_chain_terms(), protocols::constel::has_prox_termini(), max_ct_dist2_, nchains_, nres_, and proxnc_.
|
static |
tells whether a constellation satisfies the filter
tells whether a constellation satisfies the filter.
| [in] | ps | pose to which the constellation belongs. |
| [in] | cnl | indexes in the pose of the residues forming the constellation. |
in the case of proximity, the search stops at the first chain to which the constellation belongs and such that an N- or C-terminal residue is proximal to the constellation. The N-terminus is considered first, in ascending order; the C-terminus is considered afterwards, in descending order; within either terminus the search stops at the first residue that is proximal to the constellation. Proximity is determined based on the distance between the center of mass of the constellation and the CA atom of the residue.
References chains_, protocols::constel::cnl_com(), protocols::membrane::com(), protocols::constel::ChainTerm::get_cid(), protocols::constel::ChainTerm::get_cps(), protocols::constel::ChainTerm::get_nps(), max_ct_dist2_, nchains_, nres_, core::pose::Pose::pdb_info(), proxnc_, core::pose::Pose::residue(), and core::conformation::Residue::xyz().
|
staticprivate |
N- and C-terminal residues for each chain in the pose.
Referenced by init(), and is_satisfied().
|
staticprivate |
squared value of the maximum distance for a constellation to be considered proximal to the termini
Referenced by init(), and is_satisfied().
|
staticprivate |
number of chains in the pose
Referenced by init(), and is_satisfied().
|
staticprivate |
number of residues forming either terminus in a chain
Referenced by init(), and is_satisfied().
|
staticprivate |
chains with termini proximal to one another
Referenced by init(), and is_satisfied().
1.8.7