Rosetta
|
#include <SapConstraintHelper.hh>
Public Member Functions | |
SapConstraintHelper (SapConstraintOptionsCOP const &options) | |
core::Real | calculate_energy (utility::vector1< core::conformation::ResidueCOP > const &resvect, core::Size const substitution_position) |
void | commit_considered_substitution () |
SapConstraintOptionsCOP | options () const |
core::pack::rotamer_set::RotamerSets | init_with_pose (core::pose::Pose const &pose, core::pack::rotamer_set::RotamerSets const &rotamer_sets) |
Real | current_score () const |
Real | set_accurate_sasa_and_recalc (pose::Pose const &pose) |
void | report () |
void | report_final_score (Real actual_sap) const |
core::id::AtomID_Map< Real > | get_per_atom_sap (pose::Pose const &pose) const |
Protected Types | |
typedef std::pair< Size, uint8_t[ATOM_WITHIN_5_ELEMS]> | atom_within_5_value |
typedef std::unordered_map< std::pair< conformation::Residue const *, conformation::Residue const * >, atom_within_5_value, RotamerRotamerHasher > | type_atom_within_5_map |
typedef float | atom_sasa_score_value[ATOM_SASA_SCORE_ELEMS] |
typedef std::unordered_map< conformation::Residue const *, atom_sasa_score_value > | atom_sasa_score_map |
Friends | |
class | ::SapConstraintEnergyTests |
|
protected |
|
protected |
|
protected |
|
protected |
core::pack::guidance_scoreterms::sap::SapConstraintHelper::SapConstraintHelper | ( | SapConstraintOptionsCOP const & | options | ) |
References init().
|
protected |
References protocols::mean_field::add(), atom_sap_, atom_sasa_score_, block_param_offset_, check_positions_block_, current_score_, dirty_sasa_, interacting_block_offset_, internal_resvect_, my_natoms(), rotamer_to_block_param_offset_, sasa_blocks_, score_positions_, shadow_mismatch_, store_sasa_blocks(), and update_neighbors_sap().
Referenced by calculate_energy(), reinit_with_resvect(), and symm_calculate_energy().
|
protected |
|
protected |
|
protected |
References atom_within_5_, ATOM_WITHIN_5_ELEMS, and atom_within_5_map_.
Referenced by fill_atom_neighbor_stuff().
|
protected |
References atom_sap_, current_score_, internal_resvect_, and score_positions_.
Referenced by update_neighbors_sap().
|
protected |
|
protected |
References core::kinematics::distance().
Referenced by fill_atom_neighbor_stuff().
core::Real core::pack::guidance_scoreterms::sap::SapConstraintHelper::calculate_energy | ( | utility::vector1< core::conformation::ResidueCOP > const & | resvect, |
core::Size const | substitution_position | ||
) |
References protocols::cluster::calibur::aa, add_remove_rotamer(), add_remove_rotamer_fast(), add_remove_rotamer_lightning(), current_score_, fast_, internal_resvect_, lightning_, recalc_positions_scratch_, recalculate_saps(), recalculate_sasa(), reinit_with_resvect(), restore_from_shadow(), sap_calculate_positions_, sasa_positions_, symm_calculate_energy(), and symm_info_.
void core::pack::guidance_scoreterms::sap::SapConstraintHelper::commit_considered_substitution | ( | ) |
References save_to_shadow().
|
protected |
References all_block_params_, ATOM_SASA_SCORE_ELEMS, core::pack::guidance_scoreterms::sap::BlockParam::full_block, core::conformation::Residue::get_self_ptr(), core::pack::guidance_scoreterms::sap::BlockParam::max_sasa_score, my_natoms(), core::pack::guidance_scoreterms::sap::BlockParam::no_block, core::pack::rotamer_set::RotamerSets::nrotamers(), core::pose::Pose::residue(), core::pack::rotamer_set::RotamerSets::rotamer(), rotamer_to_block_param_offset_, rotamer_to_sasa_data_, core::pack::guidance_scoreterms::sap::SAP_BLOCK_STORE_SCALE, and core::pose::Pose::size().
Referenced by setup_fast(), and setup_lightning().
Real core::pack::guidance_scoreterms::sap::SapConstraintHelper::current_score | ( | ) | const |
References current_score_shadow_.
|
protected |
References core::pose::motif::a(), add_sap_data(), core::conformation::Residue::atom_is_backbone(), ATOM_SASA_SCORE_ELEMS, core::conformation::Residue::atom_type(), atom_within_5_, atom_within_5_map_, calculate_block(), check_positions_block_, check_positions_sap_, core::pack::create_packer_graph(), fake_lr_scorefxn_, fast_, core::conformation::Residue::first_sidechain_atom(), core::conformation::Residue::get_self_ptr(), core::pack::rotamer_set::RotamerSets::has_rotamer_set_for_residue(), interacting_block_, interacting_block_offset_, core::chemical::AtomType::lj_radius(), core::pose::symmetry::make_asymmetric_pose(), core::pack::guidance_scoreterms::sap::MAX_BLOCK_INTERACTION, max_rotamer_atoms_, my_natoms(), core::conformation::Residue::nbr_atom_xyz(), core::conformation::Residue::nbr_radius(), core::pack::rotamer_set::RotamerSets::nrotamers(), core::pose::Pose::residue(), core::pack::rotamer_set::RotamerSets::rotamer(), core::pack::rotamer_set::RotamerSets::rotamer_set_for_residue(), rotamer_to_sasa_data_, core::pack::guidance_scoreterms::sap::SAP_BLOCK_STORE_SCALE, sap_calculate_positions_, sasa_positions_, core::pose::Pose::size(), symm_info_, core::pack::rotamer_set::RotamerSets::task(), and core::conformation::Residue::xyz().
Referenced by init_with_pose(), and setup_lightning().
|
protected |
References all_block_params_, core::pack::guidance_scoreterms::sap::SapDatabase::atomtype_to_block_param(), core::pack::guidance_scoreterms::sap::SapDatabase::get_name1_name3(), core::conformation::Residue::get_self_ptr(), max_rotamer_atoms_, my_hydrophobic_weight(), my_natoms(), core::pack::rotamer_set::RotamerSets::nrotamers(), core::pose::Pose::residue(), core::pack::rotamer_set::RotamerSets::rotamer(), rotamer_to_block_param_offset_, sap_calculate_positions_, score_positions_, core::pose::Pose::size(), and core::pack::guidance_scoreterms::sap::TR().
Referenced by init_with_pose(), and setup_lightning().
|
protected |
References ATOM_SASA_SCORE_ELEMS, ATOM_WITHIN_5_ELEMS, atom_within_5_map_, my_natoms(), and rotamer_to_sasa_data_.
Referenced by setup_lightning().
core::id::AtomID_Map< Real > core::pack::guidance_scoreterms::sap::SapConstraintHelper::get_per_atom_sap | ( | pose::Pose const & | pose | ) | const |
|
protected |
References core::scoring::methods::EnergyMethodOptions::etable_options(), core::scoring::fa_rep, fake_lr_scorefxn_, fake_rotamer_, fast_, core::conformation::get_residue_from_name1(), heavy_, lightning_, core::pack::guidance_scoreterms::sap::MAX_BLOCK_INTERACTION, core::scoring::etable::EtableOptions::max_dis, options_, recalc_positions_scratch_, symm_debug_, and symm_debug_force_map_.
Referenced by SapConstraintHelper().
core::pack::rotamer_set::RotamerSets core::pack::guidance_scoreterms::sap::SapConstraintHelper::init_with_pose | ( | core::pose::Pose const & | pose, |
core::pack::rotamer_set::RotamerSets const & | rotamer_sets | ||
) |
|
protected |
References protocols::cluster::calibur::aa, BAD_AA_INDEX, BAD_SEQPOS_INDEX, lightning_aa_2_index_, lightning_num_aas_, lightning_rotamer_1b_sap_, and lightning_seqpos_2_index_.
Referenced by add_remove_rotamer_lightning(), and setup_lightning().
|
protected |
References BAD_AA_INDEX, BAD_SEQPOS_INDEX, default_2b_, lightning_aa_2_index_, lightning_num_aas_, lightning_num_aas_sq_, lightning_num_seqpos_, lightning_rotamer_2b_sap_, lightning_rotamer_2b_sap_map_, lightning_seqpos_2_index_, core::pack::guidance_scoreterms::sap::upper_triangle_offset(), and use_2b_map_.
Referenced by lightning_update_neighbors_sap(), and setup_lightning().
|
protected |
References current_score_, lightning_current_res_sap_, and score_positions_.
Referenced by lightning_update_neighbors_sap().
|
protected |
References check_positions_sap_, fake_rotamer_, internal_resvect_, lightning_2b_lookup(), lightning_add_to_sap(), score_positions_, and shadow_mismatch_.
Referenced by add_remove_rotamer_lightning().
|
protected |
References protocols::cluster::calibur::aa, core::pack::guidance_scoreterms::sap::SapDatabase::hydrophobic_weight(), and options_.
Referenced by fill_block_params(), and set_accurate_sasa_and_recalc().
|
protected |
|
protected |
References heavy_.
Referenced by add_remove_rotamer(), add_remove_rotamer_fast(), convert_block_sasa_to_sasa_score(), fill_atom_neighbor_stuff(), fill_block_params(), find_lightning_2b(), get_per_atom_sap(), recalculate_saps(), recalculate_sasa(), report(), set_accurate_sasa_and_recalc(), store_sasa_blocks(), and update_neighbors_sap().
SapConstraintOptionsCOP core::pack::guidance_scoreterms::sap::SapConstraintHelper::options | ( | ) | const |
References options_.
|
protected |
References atom_sap_, atom_sasa_score_, atom_sasa_score_fast_, atom_within_5_, ATOM_WITHIN_5_ELEMS, atom_within_5_map_, check_positions_sap_, current_score_, fast_, internal_resvect_, my_natoms(), and score_positions_.
Referenced by calculate_energy(), reinit_with_resvect(), set_accurate_sasa_and_recalc(), and symm_calculate_energy().
|
protected |
References all_block_params_, atom_sasa_score_, block_param_offset_, delta_sasa_scratch_, dirty_sasa_, core::pack::guidance_scoreterms::sap::BlockParam::full_block, internal_resvect_, core::pack::guidance_scoreterms::sap::BlockParam::max_sasa_score, my_natoms(), core::pack::guidance_scoreterms::sap::BlockParam::no_block, sasa_blocks_, shadow_mismatch_, and update_neighbors_sap().
Referenced by calculate_energy(), reinit_with_resvect(), and symm_calculate_energy().
|
protected |
References add_remove_rotamer(), add_remove_rotamer_fast(), add_remove_rotamer_lightning(), fake_rotamer_, fast_, lightning_, recalculate_saps(), recalculate_sasa(), reset_calculation(), sap_calculate_positions_, sasa_positions_, and save_to_shadow().
Referenced by calculate_energy(), and symm_calculate_energy().
void core::pack::guidance_scoreterms::sap::SapConstraintHelper::report | ( | ) |
void core::pack::guidance_scoreterms::sap::SapConstraintHelper::report_final_score | ( | Real | actual_sap | ) | const |
|
protected |
References atom_sap_, atom_sap_shadow_, atom_sasa_score_, atom_sasa_score_fast_, atom_sasa_score_fast_shadow_, atom_sasa_score_shadow_, block_param_offset_, block_param_offset_shadow_, current_score_, current_score_shadow_, delta_sasa_zeros_, dirty_sasa_, fake_rotamer_, fast_, internal_resvect_, internal_resvect_shadow_, lightning_current_res_sap_, lightning_current_res_sap_shadow_, max_rotamer_atoms_, sasa_blocks_, sasa_blocks_shadow_, score_positions_, shadow_mismatch_, symm_work_resvect_, and symm_work_resvect_shadow_.
Referenced by reinit_with_resvect(), and symm_calculate_energy().
|
protected |
References check_positions_block_, check_positions_sap_, delta_sasa_scratch_, delta_sasa_zeros_, core::pack::guidance_scoreterms::sap::find_mismatch(), lightning_, max_rotamer_atoms_, sap_calculate_positions_, sasa_positions_, score_positions_, and core::pose::Pose::size().
Referenced by init_with_pose().
|
protected |
References atom_sap_, atom_sap_shadow_, atom_sasa_score_, atom_sasa_score_fast_, atom_sasa_score_fast_shadow_, atom_sasa_score_shadow_, block_param_offset_, block_param_offset_shadow_, current_score_, current_score_shadow_, internal_resvect_, internal_resvect_shadow_, lightning_, lightning_current_res_sap_, lightning_current_res_sap_shadow_, sasa_blocks_, sasa_blocks_shadow_, shadow_mismatch_, symm_info_, symm_work_resvect_, and symm_work_resvect_shadow_.
Referenced by calculate_energy(), report(), and symm_calculate_energy().
|
protected |
References atom_sap_, atom_sap_shadow_, atom_sasa_score_, atom_sasa_score_fast_, atom_sasa_score_fast_shadow_, atom_sasa_score_shadow_, block_param_offset_, block_param_offset_shadow_, current_score_, current_score_shadow_, internal_resvect_, internal_resvect_shadow_, lightning_, lightning_current_res_sap_, lightning_current_res_sap_shadow_, sasa_blocks_, sasa_blocks_shadow_, shadow_mismatch_, symm_info_, symm_work_resvect_, and symm_work_resvect_shadow_.
Referenced by commit_considered_substitution(), reinit_with_resvect(), and set_accurate_sasa_and_recalc().
Real core::pack::guidance_scoreterms::sap::SapConstraintHelper::set_accurate_sasa_and_recalc | ( | pose::Pose const & | pose | ) |
References atom_sap_, atom_sasa_score_, current_score_, fast_, core::conformation::Residue::first_sidechain_atom(), core::pack::guidance_scoreterms::sap::SapDatabase::get_name1_name3(), core::conformation::Residue::get_self_ptr(), internal_resvect_, core::pack::guidance_scoreterms::sap::SapDatabase::max_sasa(), my_hydrophobic_weight(), my_natoms(), core::conformation::Residue::name3(), recalculate_saps(), core::pose::Pose::residue(), core::pack::guidance_scoreterms::sap::sap_atom_sasa(), sap_calculate_positions_, sasa_positions_, save_to_shadow(), protocols::hybridization::score, and core::pose::Pose::size().
|
protected |
References convert_block_sasa_to_sasa_score(), dirty_sasa_, and max_rotamer_atoms_.
Referenced by init_with_pose().
|
protected |
References core::pose::Pose::conformation(), core::select::get_residue_selector_from_subset(), core::conformation::Residue::get_self_ptr(), core::pack::rotamer_set::RotamerSets::has_rotamer_set_for_residue(), core::pose::symmetry::is_symmetric(), core::pack::rotamer_set::symmetry::SymmetricRotamerSet_::orient_rotamer_to_symmetric_partner(), core::pack::rotamer_set::RotamerSets::resid_2_moltenres(), core::pose::Pose::residue(), core::pack::rotamer_set::RotamerSets::rotamer_set_for_residue(), sap_calculate_positions_, sasa_positions_, score_positions_, core::pack::rotamer_set::RotamerSets::set_explicit_rotamers(), core::pack::rotamer_set::RotamerSets::set_task(), core::pose::Pose::size(), symm_debug_, symm_info_, symm_rotamer_to_other_rotamers_, core::conformation::symmetry::SymmetricConformation::Symmetry_Info(), core::pack::rotamer_set::RotamerSets::task(), core::pack::guidance_scoreterms::sap::TR(), and core::pack::rotamer_set::RotamerSets::update_offset_data().
Referenced by init_with_pose().
|
protected |
References BAD_AA_INDEX, BAD_SEQPOS_INDEX, check_positions_sap_, convert_block_sasa_to_sasa_score(), default_2b_, fill_atom_neighbor_stuff(), fill_block_params(), find_lightning_2b(), core::conformation::Residue::get_self_ptr(), core::pack::rotamer_set::RotamerSets::has_rotamer_set_for_residue(), lightning_1b_lookup(), lightning_2b_lookup(), lightning_aa_2_index_, lightning_num_aas_, lightning_num_aas_sq_, lightning_num_seqpos_, lightning_rotamer_1b_sap_, lightning_rotamer_2b_sap_, lightning_rotamer_2b_sap_map_, lightning_seqpos_2_index_, core::chemical::num_aa_types, core::pack::rotamer_set::RotamerSets::resid_2_moltenres(), core::pose::Pose::residue(), core::pack::rotamer_set::RotamerSets::rotamer_set_for_residue(), sap_calculate_positions_, core::pack::rotamer_set::RotamerSets::set_explicit_rotamers(), core::pack::rotamer_set::RotamerSets::set_task(), core::pose::Pose::size(), symm_debug_force_map_, core::pack::rotamer_set::RotamerSets::task(), core::pack::guidance_scoreterms::sap::TR(), core::pack::rotamer_set::RotamerSets::update_offset_data(), and use_2b_map_.
Referenced by init_with_pose().
|
protected |
References protocols::mean_field::add(), dirty_sasa_, interacting_block_, internal_resvect_, my_natoms(), and sasa_blocks_.
Referenced by add_remove_rotamer().
|
protected |
References protocols::cluster::calibur::aa, add_remove_rotamer(), add_remove_rotamer_fast(), add_remove_rotamer_lightning(), current_score_, fast_, internal_resvect_, lightning_, recalculate_saps(), recalculate_sasa(), reinit_with_resvect(), reset_calculation(), restore_from_shadow(), sap_calculate_positions_, sasa_positions_, shadow_mismatch_, symm_info_, symm_rotamer_to_other_rotamers_, and symm_work_resvect_.
Referenced by calculate_energy().
|
protected |
References add_to_sap(), atom_within_5_, ATOM_WITHIN_5_ELEMS, atom_within_5_map_, check_positions_sap_, dirty_sasa_, internal_resvect_, my_natoms(), score_positions_, and shadow_mismatch_.
Referenced by add_remove_rotamer(), add_remove_rotamer_fast(), and recalculate_sasa().
|
friend |
|
private |
Referenced by convert_block_sasa_to_sasa_score(), fill_block_params(), and recalculate_sasa().
|
private |
|
private |
Referenced by reset_calculation(), restore_from_shadow(), and save_to_shadow().
|
private |
|
private |
Referenced by add_remove_rotamer_fast(), recalculate_saps(), reset_calculation(), restore_from_shadow(), and save_to_shadow().
|
private |
Referenced by reset_calculation(), restore_from_shadow(), and save_to_shadow().
|
private |
Referenced by reset_calculation(), restore_from_shadow(), and save_to_shadow().
|
private |
Referenced by add_sap_data(), fill_atom_neighbor_stuff(), recalculate_saps(), and update_neighbors_sap().
|
private |
Referenced by add_sap_data(), fill_atom_neighbor_stuff(), find_lightning_2b(), recalculate_saps(), and update_neighbors_sap().
|
private |
Referenced by add_remove_rotamer(), recalculate_sasa(), reset_calculation(), restore_from_shadow(), and save_to_shadow().
|
private |
Referenced by reset_calculation(), restore_from_shadow(), and save_to_shadow().
|
private |
Referenced by add_remove_rotamer(), fill_atom_neighbor_stuff(), and resize_arrays().
|
private |
|
private |
|
private |
Referenced by current_score(), report_final_score(), reset_calculation(), restore_from_shadow(), and save_to_shadow().
|
private |
Referenced by lightning_2b_lookup(), and setup_lightning().
|
private |
Referenced by recalculate_sasa(), and resize_arrays().
|
private |
Referenced by reset_calculation(), and resize_arrays().
|
private |
Referenced by add_remove_rotamer(), recalculate_sasa(), reset_calculation(), setup_fast(), store_sasa_blocks(), and update_neighbors_sap().
|
private |
Referenced by fill_atom_neighbor_stuff(), and init().
|
private |
Referenced by init(), lightning_update_neighbors_sap(), reinit_with_resvect(), and reset_calculation().
|
private |
|
private |
|
private |
Referenced by init(), and my_natoms().
|
private |
Referenced by fill_atom_neighbor_stuff(), and store_sasa_blocks().
|
private |
Referenced by add_remove_rotamer(), and fill_atom_neighbor_stuff().
|
private |
Referenced by add_remove_rotamer(), add_remove_rotamer_fast(), add_remove_rotamer_lightning(), add_to_sap(), calculate_energy(), get_per_atom_sap(), lightning_update_neighbors_sap(), recalculate_saps(), recalculate_sasa(), report(), reset_calculation(), restore_from_shadow(), save_to_shadow(), set_accurate_sasa_and_recalc(), store_sasa_blocks(), symm_calculate_energy(), and update_neighbors_sap().
|
private |
Referenced by reset_calculation(), restore_from_shadow(), and save_to_shadow().
|
private |
|
private |
Referenced by lightning_1b_lookup(), lightning_2b_lookup(), and setup_lightning().
|
private |
Referenced by add_remove_rotamer_lightning(), lightning_add_to_sap(), reset_calculation(), restore_from_shadow(), and save_to_shadow().
|
private |
Referenced by reset_calculation(), restore_from_shadow(), and save_to_shadow().
|
private |
Referenced by lightning_1b_lookup(), lightning_2b_lookup(), and setup_lightning().
|
private |
Referenced by lightning_2b_lookup(), and setup_lightning().
|
private |
Referenced by lightning_2b_lookup(), and setup_lightning().
|
private |
Referenced by lightning_1b_lookup(), and setup_lightning().
|
private |
Referenced by lightning_2b_lookup(), and setup_lightning().
|
private |
Referenced by lightning_2b_lookup(), and setup_lightning().
|
private |
Referenced by lightning_1b_lookup(), lightning_2b_lookup(), and setup_lightning().
|
private |
Referenced by fill_atom_neighbor_stuff(), fill_block_params(), reset_calculation(), resize_arrays(), and setup_fast().
|
private |
Referenced by apply_residue_selectors(), init(), my_hydrophobic_weight(), and options().
|
private |
Referenced by calculate_energy(), and init().
|
private |
Referenced by add_remove_rotamer(), convert_block_sasa_to_sasa_score(), and fill_block_params().
|
private |
|
private |
|
private |
Referenced by add_remove_rotamer(), recalculate_sasa(), reset_calculation(), restore_from_shadow(), save_to_shadow(), and store_sasa_blocks().
|
private |
Referenced by reset_calculation(), restore_from_shadow(), and save_to_shadow().
|
private |
|
private |
Referenced by add_remove_rotamer(), add_remove_rotamer_fast(), add_remove_rotamer_lightning(), add_to_sap(), apply_residue_selectors(), fill_block_params(), get_per_atom_sap(), lightning_add_to_sap(), lightning_update_neighbors_sap(), recalculate_saps(), reset_calculation(), resize_arrays(), setup_for_symmetry(), and update_neighbors_sap().
|
private |
|
private |
Referenced by init(), and setup_for_symmetry().
|
private |
Referenced by init(), and setup_lightning().
|
private |
|
private |
Referenced by setup_for_symmetry(), and symm_calculate_energy().
|
private |
Referenced by reset_calculation(), restore_from_shadow(), save_to_shadow(), and symm_calculate_energy().
|
private |
Referenced by reset_calculation(), restore_from_shadow(), and save_to_shadow().
|
private |
Referenced by lightning_2b_lookup(), and setup_lightning().