![]() |
Rosetta
2021.16
|
#include <HBondDatabase.hh>

Public Member Functions | |
| ~HBondDatabase () override | |
| void | initialize () |
| bool | initialized () const |
| void | initialize_HBPoly1D () |
| read one dimensional polynomial definitions file More... | |
| void | initialize_HBEval () |
| read table of evaluation types More... | |
| void | initialize_don_strength () |
| read table of donor bonding strengths More... | |
| void | initialize_acc_strength () |
| read table of acceptor bonding strengths More... | |
| void | initialize_HBFadeInterval () |
| read table of fade intervals More... | |
| FadeIntervalCOP | HBFadeInterval_from_name (std::string const &name) const |
| find polynomial function given name More... | |
| FadeIntervalCOP | AHdist_short_fade_lookup (Size const hb_eval_type) const |
| find fading function for hbgd_AHdist sort More... | |
| FadeIntervalCOP | AHdist_long_fade_lookup (Size const hb_eval_type) const |
| find fading function for hbgd_AHdist long More... | |
| FadeIntervalCOP | cosBAH_fade_lookup (Size const hb_eval_type) const |
| find fading function for hbgd_cosBAH More... | |
| FadeIntervalCOP | cosBAH2_fade_lookup (Size const hb_eval_type) const |
| find fading function for hbgd_cosBAH2 More... | |
| FadeIntervalCOP | cosAHD_fade_lookup (Size const hb_eval_type) const |
| find fading function for hbgd_cosAHD More... | |
| Polynomial_1dCOP | HBPoly1D_from_name (std::string const &name) const |
| find polynomial function given name More... | |
| Polynomial_1dCOP | AHdist_poly_lookup (Size const hb_eval_type) const |
| find polynomial to hbgd_AHdist dimension More... | |
| Polynomial_1dCOP | cosBAH_short_poly_lookup (Size const hb_eval_type) const |
| find polynomial to hbgd_cosBAH dimension when hbgd_AHdist is short More... | |
| Polynomial_1dCOP | cosBAH_long_poly_lookup (Size const hb_eval_type) const |
| find polynomial to hbgd_cosBAH dimension when hbgd_AHdist is long More... | |
| Polynomial_1dCOP | cosBAH2_poly_lookup (Size const hb_eval_type) const |
| find polynomial to hbgd_cosBAH2 dimension More... | |
| Polynomial_1dCOP | cosAHD_short_poly_lookup (Size const hb_eval_type) const |
| find polynomial to hbgd_cosAHD dimension when hbgd_AHdist is short More... | |
| Polynomial_1dCOP | cosAHD_long_poly_lookup (Size const hb_eval_type) const |
| find polynomial to hbgd_cosAHD dimension when hbgd_AHdist is long More... | |
| Polynomial_1dCOP | chi_poly_lookup (Size const hb_eval_type) const |
| find polynomial to hbgd_chi dimension More... | |
| Real | don_strength (HBDonChemType const don_chem_type) const |
| get the bonding strength of a donor group More... | |
| Real | acc_strength (HBAccChemType const ac_chem_type) const |
| get the bonding strength of an acceptor group More... | |
| HBondWeightType | weight_type_lookup (Size const hb_eval_type) const |
| find weight type for evaluation type More... | |
| bool | use_incorrect_deriv () const |
| void | report_parameter_features_schema_to_db (utility::sql_database::sessionOP db_session) const |
| core::Size | report_parameter_features (utility::sql_database::sessionOP db_session) const |
Static Public Member Functions | |
| static HBondDatabaseCOP | get_database () |
| only public way to create an HBondDatabase More... | |
| static HBondDatabaseCOP | get_database (std::string const &) |
| only public way to create an HBondDatabase More... | |
Private Member Functions | |
| HBondDatabase () | |
| HBondDatabase (std::string const &hbond_params_database_tag) | |
| HBondDatabase (const HBondDatabase &src) | |
| void | write_hbond_fade_interval_table_schema (utility::sql_database::sessionOP db_session) const |
| void | write_hbond_polynomial_1d_table_schema (utility::sql_database::sessionOP db_session) const |
| void | write_hbond_evaluation_types_table_schema (utility::sql_database::sessionOP db_session) const |
| HBondDatabase & | operator= (const HBondDatabase &)=delete |
| in its current form HBondDatabase is not assignable due to presense of std::map< const std::string, ...> but compiler tries to generate assigment operator anyway More... | |
Static Private Attributes | |
| static std::map< const std::string, HBondDatabaseCOP > | initialized_databases_ |
|
private |
References initialize(), core::scoring::hbonds::HBondOptions::params_database_tag(), and params_database_tag_.
Referenced by get_database().
|
private |
References initialize().
|
private |
|
overridedefault |
| Real core::scoring::hbonds::HBondDatabase::acc_strength | ( | HBAccChemType const | ac_chem_type | ) | const |
get the bonding strength of an acceptor group
References acc_strength_lookup_, and core::scoring::hbonds::hbacc_MAX.
Referenced by core::scoring::hbonds::hbond_compute_energy().
| FadeIntervalCOP core::scoring::hbonds::HBondDatabase::AHdist_long_fade_lookup | ( | Size const | hb_eval_type | ) | const |
find fading function for hbgd_AHdist long
use get_hbond_evaluation_type(...) or HBEval_lookup(...) determine hb_eval_type.
References AHdist_long_fade_lookup_, and core::scoring::hbonds::HB_EVAL_TYPE_COUNT.
Referenced by core::scoring::hbonds::hbond_compute_energy(), and report_parameter_features().
| Polynomial_1dCOP core::scoring::hbonds::HBondDatabase::AHdist_poly_lookup | ( | Size const | hb_eval_type | ) | const |
find polynomial to hbgd_AHdist dimension
use get_hbond_evaluation_type(...) or HBEval_lookup(...) determine hb_eval_type.
References AHdist_poly_lookup_, and core::scoring::hbonds::HB_EVAL_TYPE_COUNT.
Referenced by core::scoring::hbonds::hbond_compute_energy(), and report_parameter_features().
| FadeIntervalCOP core::scoring::hbonds::HBondDatabase::AHdist_short_fade_lookup | ( | Size const | hb_eval_type | ) | const |
find fading function for hbgd_AHdist sort
use get_hbond_evaluation_type(...) or HBEval_lookup(...) determine hb_eval_type.
References AHdist_short_fade_lookup_, and core::scoring::hbonds::HB_EVAL_TYPE_COUNT.
Referenced by core::scoring::hbonds::hbond_compute_energy(), and report_parameter_features().
| Polynomial_1dCOP core::scoring::hbonds::HBondDatabase::chi_poly_lookup | ( | Size const | hb_eval_type | ) | const |
find polynomial to hbgd_chi dimension
use get_hbond_evaluation_type(...) or HBEval_lookup(...) determine hb_eval_type.
References chi_poly_lookup_, and core::scoring::hbonds::HB_EVAL_TYPE_COUNT.
| FadeIntervalCOP core::scoring::hbonds::HBondDatabase::cosAHD_fade_lookup | ( | Size const | hb_eval_type | ) | const |
find fading function for hbgd_cosAHD
use get_hbond_evaluation_type(...) or HBEval_lookup(...) determine hb_eval_type.
References cosAHD_fade_lookup_, and core::scoring::hbonds::HB_EVAL_TYPE_COUNT.
Referenced by core::scoring::hbonds::hbond_compute_energy(), and report_parameter_features().
| Polynomial_1dCOP core::scoring::hbonds::HBondDatabase::cosAHD_long_poly_lookup | ( | Size const | hb_eval_type | ) | const |
find polynomial to hbgd_cosAHD dimension when hbgd_AHdist is long
use get_hbond_evaluation_type(...) or HBEval_lookup(...) determine hb_eval_type.
References cosAHD_long_poly_lookup_, and core::scoring::hbonds::HB_EVAL_TYPE_COUNT.
Referenced by core::scoring::hbonds::hbond_compute_energy(), and report_parameter_features().
| Polynomial_1dCOP core::scoring::hbonds::HBondDatabase::cosAHD_short_poly_lookup | ( | Size const | hb_eval_type | ) | const |
find polynomial to hbgd_cosAHD dimension when hbgd_AHdist is short
use get_hbond_evaluation_type(...) or HBEval_lookup(...) determine hb_eval_type.
References cosAHD_short_poly_lookup_, and core::scoring::hbonds::HB_EVAL_TYPE_COUNT.
Referenced by core::scoring::hbonds::hbond_compute_energy(), and report_parameter_features().
| FadeIntervalCOP core::scoring::hbonds::HBondDatabase::cosBAH2_fade_lookup | ( | Size const | hb_eval_type | ) | const |
find fading function for hbgd_cosBAH2
use get_hbond_evaluation_type(...) or HBEval_lookup(...) determine hb_eval_type.
References cosBAH2_fade_lookup_, and core::scoring::hbonds::HB_EVAL_TYPE_COUNT.
Referenced by core::scoring::hbonds::hbond_compute_energy(), and report_parameter_features().
| Polynomial_1dCOP core::scoring::hbonds::HBondDatabase::cosBAH2_poly_lookup | ( | Size const | hb_eval_type | ) | const |
find polynomial to hbgd_cosBAH2 dimension
use get_hbond_evaluation_type(...) or HBEval_lookup(...) determine hb_eval_type.
References cosBAH2_poly_lookup_, and core::scoring::hbonds::HB_EVAL_TYPE_COUNT.
Referenced by core::scoring::hbonds::hbond_compute_energy(), and report_parameter_features().
| FadeIntervalCOP core::scoring::hbonds::HBondDatabase::cosBAH_fade_lookup | ( | Size const | hb_eval_type | ) | const |
find fading function for hbgd_cosBAH
use get_hbond_evaluation_type(...) or HBEval_lookup(...) determine hb_eval_type.
References cosBAH_fade_lookup_, and core::scoring::hbonds::HB_EVAL_TYPE_COUNT.
Referenced by core::scoring::hbonds::hbond_compute_energy(), and report_parameter_features().
| Polynomial_1dCOP core::scoring::hbonds::HBondDatabase::cosBAH_long_poly_lookup | ( | Size const | hb_eval_type | ) | const |
find polynomial to hbgd_cosBAH dimension when hbgd_AHdist is long
use get_hbond_evaluation_type(...) or HBEval_lookup(...) determine hb_eval_type.
References cosBAH_long_poly_lookup_, and core::scoring::hbonds::HB_EVAL_TYPE_COUNT.
Referenced by core::scoring::hbonds::hbond_compute_energy(), and report_parameter_features().
| Polynomial_1dCOP core::scoring::hbonds::HBondDatabase::cosBAH_short_poly_lookup | ( | Size const | hb_eval_type | ) | const |
find polynomial to hbgd_cosBAH dimension when hbgd_AHdist is short
use get_hbond_evaluation_type(...) or HBEval_lookup(...) determine hb_eval_type.
References cosBAH_short_poly_lookup_, and core::scoring::hbonds::HB_EVAL_TYPE_COUNT.
Referenced by core::scoring::hbonds::hbond_compute_energy(), and report_parameter_features().
| Real core::scoring::hbonds::HBondDatabase::don_strength | ( | HBDonChemType const | don_chem_type | ) | const |
get the bonding strength of a donor group
References don_strength_lookup_, and core::scoring::hbonds::hbdon_MAX.
Referenced by core::scoring::hbonds::hbond_compute_energy().
|
static |
only public way to create an HBondDatabase
References HBondDatabase(), initialized_databases_, and core::scoring::hbonds::HBondOptions::params_database_tag().
Referenced by protocols::hbnet::UnsatSelector::compute(), protocols::simple_pose_metric_calculators::NumberHBondsCalculator::compute_Hbonds_for_residue(), core::pack::hbonds::create_init_and_create_edges_for_hbond_graph(), protocols::ligand_docking::ga_ligand_dock::GridScorer::derivatives(), protocols::pockets::GenPharmacophore::extract_Hbond_atoms_from_protein_rna_complex(), core::scoring::hbonds::fill_hbond_set(), core::scoring::hbonds::fill_hbond_set_by_AHdist_threshold(), core::scoring::hbonds::fill_intra_res_hbond_set(), core::pack::hbonds::find_satisfying_interactions_with_background(), protocols::ligand_docking::ga_ligand_dock::GridScorer::GridScorer(), protocols::constel::HBondCommon::init(), core::pack::guidance_scoreterms::buried_unsat_penalty::graph::BuriedUnsatPenaltyGraph::initialize_graph_for_packing(), protocols::hbnet::HBNet::MC_traverse_IG(), protocols::features::HBondParameterFeatures::report_features(), and protocols::features::HBondParameterFeatures::write_schema_to_db().
|
static |
only public way to create an HBondDatabase
References HBondDatabase(), and initialized_databases_.
| FadeIntervalCOP core::scoring::hbonds::HBondDatabase::HBFadeInterval_from_name | ( | std::string const & | name | ) | const |
find polynomial function given name
References HBFadeInterval_lookup_by_name_.
Referenced by initialize_HBEval().
| Polynomial_1dCOP core::scoring::hbonds::HBondDatabase::HBPoly1D_from_name | ( | std::string const & | name | ) | const |
find polynomial function given name
References HBPoly1D_lookup_by_name_.
Referenced by initialize_HBEval().
| void core::scoring::hbonds::HBondDatabase::initialize | ( | ) |
initialize hydrogen bond parameters
References initialize_acc_strength(), initialize_don_strength(), initialize_HBEval(), initialize_HBFadeInterval(), initialize_HBPoly1D(), initialized_, and core::scoring::hbonds::tr().
Referenced by HBondDatabase().
| void core::scoring::hbonds::HBondDatabase::initialize_acc_strength | ( | ) |
read table of acceptor bonding strengths
References core::scoring::hbonds::HBondTypeManager::acc_chem_type_from_name(), acc_strength_lookup_, params_database_tag_, and core::scoring::hbonds::tr().
Referenced by initialize().
| void core::scoring::hbonds::HBondDatabase::initialize_don_strength | ( | ) |
read table of donor bonding strengths
References core::scoring::hbonds::HBondTypeManager::don_chem_type_from_name(), don_strength_lookup_, params_database_tag_, and core::scoring::hbonds::tr().
Referenced by initialize().
| void core::scoring::hbonds::HBondDatabase::initialize_HBEval | ( | ) |
read table of evaluation types
read one dimensional polynomial definition file
References core::scoring::hbonds::HBondTypeManager::acc_chem_type_from_name(), AHdist_long_fade_lookup_, AHdist_poly_lookup_, AHdist_short_fade_lookup_, cosAHD_fade_lookup_, cosAHD_long_poly_lookup_, cosAHD_short_poly_lookup_, cosBAH2_fade_lookup_, cosBAH2_poly_lookup_, cosBAH_fade_lookup_, cosBAH_long_poly_lookup_, cosBAH_short_poly_lookup_, core::scoring::hbonds::HBondTypeManager::don_chem_type_from_name(), core::scoring::hbonds::HB_EVAL_TYPE_COUNT, core::scoring::hbonds::hbe_MAX, HBFadeInterval_from_name(), core::scoring::hbonds::hbgd_AHD, core::scoring::hbonds::hbgd_AHdist, core::scoring::hbonds::hbgd_cosAHD, core::scoring::hbonds::hbgd_cosBAH, HBPoly1D_from_name(), core::scoring::hbonds::hbw_NONE, core::scoring::hbonds::initialize_HBEval_lookup(), params_database_tag_, core::scoring::hbonds::HBondTypeManager::seq_sep_type_from_name(), core::id::to_string(), core::scoring::hbonds::tr(), core::scoring::hbonds::HBondTypeManager::weight_type_from_name(), and weight_type_lookup_.
Referenced by initialize().
| void core::scoring::hbonds::HBondDatabase::initialize_HBFadeInterval | ( | ) |
read table of fade intervals
References HBFadeInterval_lookup_, HBFadeInterval_lookup_by_name_, and params_database_tag_.
Referenced by initialize().
| void core::scoring::hbonds::HBondDatabase::initialize_HBPoly1D | ( | ) |
read one dimensional polynomial definitions file
read one dimensional polynomial definition file
References core::pack::dunbrack::c, core::scoring::hbonds::HBondTypeManager::geo_dim_type_from_name(), HBPoly1D_lookup_, HBPoly1D_lookup_by_name_, and params_database_tag_.
Referenced by initialize().
| bool core::scoring::hbonds::HBondDatabase::initialized | ( | ) | const |
has the database already been initialized?
References initialized_.
|
privatedelete |
in its current form HBondDatabase is not assignable due to presense of std::map< const std::string, ...> but compiler tries to generate assigment operator anyway
| Size core::scoring::hbonds::HBondDatabase::report_parameter_features | ( | utility::sql_database::sessionOP | db_session | ) | const |
References AHdist_long_fade_lookup(), AHdist_poly_lookup(), AHdist_short_fade_lookup(), cosAHD_fade_lookup(), cosAHD_long_poly_lookup(), cosAHD_short_poly_lookup(), cosBAH2_fade_lookup(), cosBAH2_poly_lookup(), cosBAH_fade_lookup(), cosBAH_long_poly_lookup(), cosBAH_short_poly_lookup(), core::scoring::hbonds::hbacc_MAX, core::scoring::hbonds::hbdon_MAX, core::scoring::hbonds::hbe_UNKNOWN, core::scoring::hbonds::HBEval_lookup, HBFadeInterval_lookup_by_name_, HBPoly1D_lookup_by_name_, core::scoring::hbonds::HBondTypeManager::name_from_acc_chem_type(), core::scoring::hbonds::HBondTypeManager::name_from_don_chem_type(), core::scoring::hbonds::HBondTypeManager::name_from_geo_dim_type(), core::scoring::hbonds::HBondTypeManager::name_from_seq_sep_type(), core::scoring::hbonds::HBondTypeManager::name_from_weight_type(), params_database_tag_, core::scoring::hbonds::seq_sep_MAX, and weight_type_lookup().
| void core::scoring::hbonds::HBondDatabase::report_parameter_features_schema_to_db | ( | utility::sql_database::sessionOP | db_session | ) | const |
|
inline |
Signal to use deprecated derivitive calculation in core::scoring::hbonds::hb_energy_deriv_u2(). Once old code has been modified to support the new behavior, remove this option. Since the options are not passe directly to to hb_energy_deriv_u2, access it through the HBondDatabase, rather then messing with the interfaces for the hb_energy_deriv functions.
| HBondWeightType core::scoring::hbonds::HBondDatabase::weight_type_lookup | ( | Size const | hb_eval_type | ) | const |
find weight type for evaluation type
use get_hbond_evaluation_type(...) or HBEval_lookup(...) determine hb_eval_type.
References core::scoring::hbonds::HB_EVAL_TYPE_COUNT, core::scoring::hbonds::hbw_NONE, and weight_type_lookup_.
Referenced by report_parameter_features().
|
private |
Referenced by report_parameter_features_schema_to_db().
|
private |
Referenced by report_parameter_features_schema_to_db().
|
private |
Referenced by report_parameter_features_schema_to_db().
|
private |
Referenced by acc_strength(), and initialize_acc_strength().
|
private |
Referenced by AHdist_long_fade_lookup(), and initialize_HBEval().
|
private |
Referenced by AHdist_poly_lookup(), and initialize_HBEval().
|
private |
Referenced by AHdist_short_fade_lookup(), and initialize_HBEval().
|
private |
Referenced by chi_poly_lookup().
|
private |
Referenced by cosAHD_fade_lookup(), and initialize_HBEval().
|
private |
Referenced by cosAHD_long_poly_lookup(), and initialize_HBEval().
|
private |
Referenced by cosAHD_short_poly_lookup(), and initialize_HBEval().
|
private |
Referenced by cosBAH2_fade_lookup(), and initialize_HBEval().
|
private |
Referenced by cosBAH2_poly_lookup(), and initialize_HBEval().
|
private |
Referenced by cosBAH_fade_lookup(), and initialize_HBEval().
|
private |
Referenced by cosBAH_long_poly_lookup(), and initialize_HBEval().
|
private |
Referenced by cosBAH_short_poly_lookup(), and initialize_HBEval().
|
private |
Referenced by don_strength(), and initialize_don_strength().
|
private |
Referenced by initialize_HBFadeInterval().
|
private |
Referenced by HBFadeInterval_from_name(), initialize_HBFadeInterval(), and report_parameter_features().
|
private |
Referenced by initialize_HBPoly1D().
|
private |
Referenced by HBPoly1D_from_name(), initialize_HBPoly1D(), and report_parameter_features().
|
private |
Referenced by initialize(), and initialized().
|
staticprivate |
Referenced by get_database().
|
private |
|
private |
Referenced by initialize_HBEval(), and weight_type_lookup().
1.8.7