Rosetta
|
#include <DecoySetEvaluation.hh>
Public Member Functions | |
DecoySetEvaluation () | |
~DecoySetEvaluation () override | |
void | reserve (core::Size n_decoys_) |
void | push_back (core::pose::Pose &pose) |
void | push_back_CA_xyz (ObjexxFCL::FArray2_double const &, core::Size nres) |
void | pop_back_CA_xyz () |
void | push_back_CA_xyz_from_silent_file (core::io::silent::SilentFileData const &sfd, bool store_energies) |
template<typename SilentStructIterator > | |
void | push_back_CA_xyz_from_silent_file (core::Size n_decoys, SilentStructIterator begin, SilentStructIterator end, bool store_energies) |
void | rmsf (utility::vector1< core::Real > &results) |
core::Size | n_decoys_max () const |
core::Size | n_decoys () const |
core::Size | n_atoms () const |
void | set_n_atom (core::Size natoms) |
ObjexxFCL::FArray3D_double const & | coords () const |
void | compute_distance_matrix (ObjexxFCL::FArray2D_double &) const |
ObjexxFCL::FArray2P_double | coords (core::Size i) const |
void | rmsf (ObjexxFCL::FArray1_double &result) |
core::Real | rmsd (ObjexxFCL::FArray1_double const &weights, ObjexxFCL::FArray2_double &xx_ref, ObjexxFCL::FArray2_double &xx) const |
core::Size | wRMSD (core::Real sigma2, core::Real tolerance, ObjexxFCL::FArray1_double &weights) |
void | set_weights (ObjexxFCL::FArray1_double const &weights) |
void | superimpose (core::Size icenter=1) |
core::pose::Pose const & | ref_pose () |
void | clear () |
void | center_structure (core::Size i) |
void | center_structure (core::Size i, ObjexxFCL::FArray1_double const &weights) |
void | center_all (ObjexxFCL::FArray1_double const &weights) |
void | create_dist_constraints_median (core::scoring::constraints::ConstraintSet &cst_set) const |
void | create_dist_constraints (core::scoring::constraints::ConstraintSet &cst_set) const |
void | create_xyz_constraints_median (core::scoring::constraints::ConstraintSet &cst_set, core::pose::Pose const &ref_pose, core::Size root) const |
core::Size | find_closest_to_average (ObjexxFCL::FArray2_double &average_structure) const |
void | compute_average_structure (ObjexxFCL::FArray2_double &average_structure) const |
utility::vector1< core::Real > const & | all_energies () const |
void | set_all_energies (utility::vector1< core::Real > const &all_energies) |
Static Public Member Functions | |
static void | register_options () |
Private Member Functions | |
void | superimpose (ObjexxFCL::FArray1_double const &weights, core::Size icenter=1) |
core::Real | rmsf (core::Size pos) |
void | prepare_push_back (core::Size nres) |
Private Attributes | |
core::pose::Pose | ref_pose_ |
ObjexxFCL::FArray1D_double | COM |
core::Size | n_decoys_ |
core::Size | n_atoms_ |
ObjexxFCL::FArray3D_double | coords_ |
ObjexxFCL::FArray2D_double | ref_structure_ |
core::Size | n_decoys_max_ |
ObjexxFCL::FArray1D_double | weights_ |
utility::vector1< core::Real > | all_energies_ |
bool | store_energies_ |
Static Private Attributes | |
static bool | options_registered_ |
protocols::toolbox::DecoySetEvaluation::DecoySetEvaluation | ( | ) |
|
overridedefault |
|
inline |
References all_energies_.
Referenced by protocols::toolbox::cluster_silent_structs(), and set_all_energies().
void protocols::toolbox::DecoySetEvaluation::center_all | ( | ObjexxFCL::FArray1_double const & | weights | ) |
References center_structure(), and n_decoys_.
void protocols::toolbox::DecoySetEvaluation::center_structure | ( | core::Size | i | ) |
References n_atoms_.
Referenced by center_all().
void protocols::toolbox::DecoySetEvaluation::center_structure | ( | core::Size | i, |
ObjexxFCL::FArray1_double const & | weights | ||
) |
|
inline |
References n_atoms_, n_decoys_, and n_decoys_max_.
void protocols::toolbox::DecoySetEvaluation::compute_average_structure | ( | ObjexxFCL::FArray2_double & | average_structure | ) | const |
void protocols::toolbox::DecoySetEvaluation::compute_distance_matrix | ( | ObjexxFCL::FArray2D_double & | dist | ) | const |
|
inline |
|
inline |
void protocols::toolbox::DecoySetEvaluation::create_dist_constraints | ( | core::scoring::constraints::ConstraintSet & | cst_set | ) | const |
void protocols::toolbox::DecoySetEvaluation::create_dist_constraints_median | ( | core::scoring::constraints::ConstraintSet & | cst_set | ) | const |
References core::scoring::constraints::ConstraintSet::add_constraint(), coords_, protocols::loops::PoseNumberedLoopFileReader::hijack_loop_reading_code_set_loop_line_begin_token(), protocols::loops::Loops::is_loop_residue(), n_atoms(), n_decoys(), protocols::loops::PoseNumberedLoopFileReader::read_pose_numbered_loops_file(), protocols::loops::Loops::size(), and protocols::toolbox::tr().
Referenced by create_dist_constraints().
void protocols::toolbox::DecoySetEvaluation::create_xyz_constraints_median | ( | core::scoring::constraints::ConstraintSet & | cst_set, |
core::pose::Pose const & | ref_pose, | ||
core::Size | root | ||
) | const |
Size protocols::toolbox::DecoySetEvaluation::find_closest_to_average | ( | ObjexxFCL::FArray2_double & | average_structure | ) | const |
References coords_, n_atoms_, n_decoys_, and protocols::toolbox::tr().
Referenced by wRMSD().
|
inline |
References n_atoms_.
Referenced by compute_distance_matrix(), create_dist_constraints(), create_dist_constraints_median(), create_xyz_constraints_median(), protocols::toolbox::KClusterData::load_silent_file(), protocols::canonical_sampling::mc_convergence_checks::Pool_RMSD::natom(), push_back_CA_xyz_from_silent_file(), rmsd(), set_n_atom(), and wRMSD().
|
inline |
References n_decoys_.
Referenced by protocols::toolbox::cluster_silent_structs(), compute_distance_matrix(), create_dist_constraints(), create_dist_constraints_median(), create_xyz_constraints_median(), protocols::toolbox::KClusterData::load_silent_file(), push_back_CA_xyz_from_silent_file(), rmsf(), protocols::canonical_sampling::mc_convergence_checks::Pool_RMSD::size(), and wRMSD().
|
inline |
References n_decoys_max_.
Referenced by protocols::toolbox::KClusterData::load_silent_file(), and push_back_CA_xyz_from_silent_file().
void protocols::toolbox::DecoySetEvaluation::pop_back_CA_xyz | ( | ) |
|
private |
References coords_, n_atoms_, n_decoys_, n_decoys_max_, ref_structure_, and weights_.
Referenced by push_back(), and push_back_CA_xyz().
void protocols::toolbox::DecoySetEvaluation::push_back | ( | core::pose::Pose & | pose | ) |
void protocols::toolbox::DecoySetEvaluation::push_back_CA_xyz | ( | ObjexxFCL::FArray2_double const & | xyz, |
core::Size | nres | ||
) |
References coords_, n_decoys_, prepare_push_back(), and protocols::kinmatch::xyz().
Referenced by protocols::toolbox::KClusterData::load_silent_file(), and push_back_CA_xyz_from_silent_file().
void protocols::toolbox::DecoySetEvaluation::push_back_CA_xyz_from_silent_file | ( | core::io::silent::SilentFileData const & | sfd, |
bool | store_energies | ||
) |
void protocols::toolbox::DecoySetEvaluation::push_back_CA_xyz_from_silent_file | ( | core::Size | n_decoys, |
SilentStructIterator | begin, | ||
SilentStructIterator | end, | ||
bool | store_energies | ||
) |
|
inline |
References ref_pose_.
Referenced by create_xyz_constraints_median().
|
static |
References options_registered_.
void protocols::toolbox::DecoySetEvaluation::reserve | ( | core::Size | n_decoys_ | ) |
References coords_, n_atoms_, and n_decoys_max_.
Referenced by protocols::toolbox::KClusterData::load_silent_file(), and push_back_CA_xyz_from_silent_file().
core::Real protocols::toolbox::DecoySetEvaluation::rmsd | ( | ObjexxFCL::FArray1_double const & | weights, |
ObjexxFCL::FArray2_double & | xx_ref, | ||
ObjexxFCL::FArray2_double & | xx | ||
) | const |
References protocols::toolbox::fit_centered_coords(), n_atoms(), n_atoms_, protocols::toolbox::reset_x(), and weights_.
Referenced by compute_distance_matrix().
|
private |
References coords_, n_decoys(), and core::scoring::rms.
void protocols::toolbox::DecoySetEvaluation::rmsf | ( | ObjexxFCL::FArray1_double & | result | ) |
void protocols::toolbox::DecoySetEvaluation::rmsf | ( | utility::vector1< core::Real > & | results | ) |
|
inline |
References all_energies(), all_energies_, and store_energies_.
void protocols::toolbox::DecoySetEvaluation::set_n_atom | ( | core::Size | natoms | ) |
References n_atoms(), n_atoms_, and protocols::toolbox::tr().
Referenced by push_back_CA_xyz_from_silent_file().
void protocols::toolbox::DecoySetEvaluation::set_weights | ( | ObjexxFCL::FArray1_double const & | weights | ) |
void protocols::toolbox::DecoySetEvaluation::superimpose | ( | core::Size | icenter = 1 | ) |
|
private |
Size protocols::toolbox::DecoySetEvaluation::wRMSD | ( | core::Real | sigma2, |
core::Real | tolerance, | ||
ObjexxFCL::FArray1_double & | weights | ||
) |
|
private |
Referenced by all_energies(), push_back_CA_xyz_from_silent_file(), and set_all_energies().
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by clear(), n_decoys_max(), prepare_push_back(), and reserve().
|
staticprivate |
Referenced by create_dist_constraints(), and register_options().
|
private |
Referenced by push_back(), and ref_pose().
|
private |
Referenced by prepare_push_back().
|
private |
Referenced by push_back_CA_xyz_from_silent_file(), and set_all_energies().
|
private |
Referenced by compute_distance_matrix(), prepare_push_back(), rmsd(), and set_weights().