Rosetta
|
#include <HBondFeatures.hh>
Public Member Functions | |
HBondFeatures () | |
HBondFeatures (core::scoring::ScoreFunctionOP scfxn) | |
void | write_schema_to_db (utility::sql_database::sessionOP db_session) const override |
generate the table schemas and write them to the database More... | |
utility::vector1< std::string > | features_reporter_dependencies () const override |
return the set of features reporters that are required to also already be extracted by the time this one is used. More... | |
void | parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &data) override |
get what criteria should be used to define what constitutes a hydrogen bond More... | |
core::Size | report_features (core::pose::Pose const &pose, utility::vector1< bool > const &relevant_residues, StructureID struct_id, utility::sql_database::sessionOP db_session) override |
collect all the feature data for the pose More... | |
void | insert_site_row (core::pose::Pose const &pose, StructureID struct_id, core::Size site_id, core::Size resNum, core::Size atmNum, bool is_donor, utility::sql_database::sessionOP db_session) |
void | insert_site_pdb_row (core::pose::Pose const &pose, core::Size resNum, core::Size atmNum, core::Size heavy_atmNum, StructureID struct_id, core::Size site_id, utility::sql_database::sessionOP db_session) |
void | insert_site_environment_row (core::pose::Pose const &pose, core::Size resNum, core::Size atmNum, StructureID struct_id, core::Size site_id, core::id::AtomID_Map< core::Real > const &atom_sasa_s, core::id::AtomID_Map< core::Real > const &atom_sasa_m, core::id::AtomID_Map< core::Real > const &atom_sasa_l, core::id::AtomID_Map< utility::vector1< core::scoring::hbonds::HBondCOP > > const &site_partners, core::id::AtomID_Map< core::Real > const &site_hbond_energies, utility::sql_database::sessionOP db_session) |
void | insert_site_atoms_row (core::pose::Pose const &pose, core::Size resNum, core::Size atmNum, StructureID struct_id, core::Size site_id, utility::sql_database::sessionOP db_session) |
void | insert_hbond_row (core::scoring::hbonds::HBond const &hbond, StructureID struct_id, core::Size hbond_id, core::id::AtomID_Map< core::Size > const &site_ids, core::id::AtomID_Map< utility::vector1< core::scoring::hbonds::HBondCOP > > const &site_partners, utility::sql_database::sessionOP db_session) |
void | insert_hbond_geom_coords (core::pose::Pose const &pose, core::scoring::hbonds::HBondOptions const &hbond_options, core::scoring::hbonds::HBond const &hbond, StructureID struct_id, core::Size hbond_id, utility::sql_database::sessionOP db_session) |
void | insert_hbond_lennard_jones_row (core::pose::Pose const &pose, core::scoring::hbonds::HBond const &hbond, StructureID struct_id, core::Size hbond_id, utility::sql_database::sessionOP db_session) |
void | insert_hbond_dehydron_row (core::pose::Pose const &pose, core::scoring::hbonds::HBond const &hbond, StructureID struct_id, core::Size hbond_id, utility::sql_database::sessionOP db_session) |
std::string | type_name () const override |
![]() | |
FeaturesReporter () | |
~FeaturesReporter () override | |
Automatically generated virtual destructor for class deriving directly from VirtualBase. More... | |
virtual std::string | schema () const |
return sql statements that sets up the appropriate tables to contain the features. This should be removed once everything has been moved to the schema generator More... | |
core::Size | report_features (core::pose::Pose const &, StructureID, utility::sql_database::sessionOP) |
collect all the feature data for the pose. More... | |
virtual void | load_into_pose (utility::sql_database::sessionOP, StructureID, core::pose::Pose &) |
virtual void | delete_record (StructureID, utility::sql_database::sessionOP) |
void | set_relevant_residues_mode (RelevantResiduesMode::T setting) |
RelevantResiduesMode::T | get_relevant_residues_mode () const |
bool | check_relevant_residues (utility::vector1< bool > const &relevant_residues, core::Size res1) const |
bool | check_relevant_residues (utility::vector1< bool > const &relevant_residues, core::Size res1, core::Size res2) const |
bool | check_relevant_residues_range (utility::vector1< bool > const &relevant_residues, core::Size res1, core::Size res2) const |
bool | check_relevant_residues (utility::vector1< bool > const &relevant_residues, utility::vector1< core::Size > const &residues) const |
Static Public Member Functions | |
static std::string | class_name () |
static void | provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd) |
Private Member Functions | |
void | write_hbond_chem_types_table_schema (utility::sql_database::sessionOP db_session) const |
void | write_hbond_sites_table_schema (utility::sql_database::sessionOP db_session) const |
void | write_hbond_sites_pdb_table_schema (utility::sql_database::sessionOP db_session) const |
void | write_hbond_site_environment_table_schema (utility::sql_database::sessionOP db_session) const |
void | write_hbond_site_atoms_table_schema (utility::sql_database::sessionOP db_session) const |
void | write_hbonds_table_schema (utility::sql_database::sessionOP db_session) const |
void | write_hbond_lennard_jones_table_schema (utility::sql_database::sessionOP db_session) const |
void | write_hbond_geom_coords_table_schema (utility::sql_database::sessionOP db_session) const |
void | write_hbond_dehydrons_table_schema (utility::sql_database::sessionOP db_session) const |
Private Attributes | |
core::scoring::ScoreFunctionOP | scfxn_ |
HBDefType | definition_type_ |
core::Real | definition_threshold_ |
Additional Inherited Members | |
![]() | |
std::string | find_tag (core::pose::Pose const &pose) const |
void | delete_records_from_table (std::string const &table_name, StructureID struct_id, utility::sql_database::sessionOP db_session) |
a helper function for deleting data associated with a given structure from feature database WARNING table_name must be sanitized! More... | |
![]() | |
RelevantResiduesMode::T | relevant_residues_mode_ |
protocols::features::HBondFeatures::HBondFeatures | ( | ) |
protocols::features::HBondFeatures::HBondFeatures | ( | core::scoring::ScoreFunctionOP | scfxn | ) |
|
static |
Referenced by provide_xml_schema(), type_name(), and protocols::features::HBondFeaturesCreator::type_name().
|
overridevirtual |
return the set of features reporters that are required to also already be extracted by the time this one is used.
Reimplemented from protocols::features::FeaturesReporter.
void protocols::features::HBondFeatures::insert_hbond_dehydron_row | ( | core::pose::Pose const & | pose, |
core::scoring::hbonds::HBond const & | hbond, | ||
StructureID | struct_id, | ||
core::Size | hbond_id, | ||
utility::sql_database::sessionOP | db_session | ||
) |
References core::chemical::ResidueType::atom_type(), core::chemical::AtomType::element(), core::pose::Pose::energies(), core::scoring::hbond, core::conformation::Residue::is_protein(), core::conformation::Residue::nheavyatoms(), core::pose::Pose::residue(), core::scoring::Energies::tenA_neighbor_graph(), core::conformation::Residue::type(), and core::conformation::Residue::xyz().
Referenced by report_features().
void protocols::features::HBondFeatures::insert_hbond_geom_coords | ( | core::pose::Pose const & | pose, |
core::scoring::hbonds::HBondOptions const & | hbond_options, | ||
core::scoring::hbonds::HBond const & | hbond, | ||
StructureID | struct_id, | ||
core::Size | hbond_id, | ||
utility::sql_database::sessionOP | db_session | ||
) |
References core::conformation::Residue::abase2(), core::conformation::Residue::atom(), core::conformation::Residue::atom_base(), core::scoring::hbonds::get_hbe_acc_hybrid(), core::scoring::hbond, core::scoring::hbonds::make_hbBasetoAcc_unitvector(), core::pose::Pose::residue(), and core::conformation::Atom::xyz().
Referenced by report_features().
void protocols::features::HBondFeatures::insert_hbond_lennard_jones_row | ( | core::pose::Pose const & | pose, |
core::scoring::hbonds::HBond const & | hbond, | ||
StructureID | struct_id, | ||
core::Size | hbond_id, | ||
utility::sql_database::sessionOP | db_session | ||
) |
References core::conformation::Residue::atom(), core::conformation::Residue::atom_base(), core::scoring::etable::BaseEtableEnergy< Derived >::atom_pair_energy(), core::scoring::fa_atr, core::scoring::fa_rep, core::scoring::fa_sol, core::scoring::hbond, core::pose::Pose::residue(), and scfxn_.
Referenced by report_features().
void protocols::features::HBondFeatures::insert_hbond_row | ( | core::scoring::hbonds::HBond const & | hbond, |
StructureID | struct_id, | ||
core::Size | hbond_id, | ||
core::id::AtomID_Map< core::Size > const & | site_ids, | ||
core::id::AtomID_Map< utility::vector1< core::scoring::hbonds::HBondCOP > > const & | site_partners, | ||
utility::sql_database::sessionOP | db_session | ||
) |
References protocols::buns::energy, core::scoring::hbonds::hb_eval_type_weight(), core::scoring::hbond, and scfxn_.
Referenced by report_features().
void protocols::features::HBondFeatures::insert_site_atoms_row | ( | core::pose::Pose const & | pose, |
core::Size | resNum, | ||
core::Size | atmNum, | ||
StructureID | struct_id, | ||
core::Size | site_id, | ||
utility::sql_database::sessionOP | db_session | ||
) |
void protocols::features::HBondFeatures::insert_site_environment_row | ( | core::pose::Pose const & | pose, |
core::Size | resNum, | ||
core::Size | atmNum, | ||
StructureID | struct_id, | ||
core::Size | site_id, | ||
core::id::AtomID_Map< core::Real > const & | atom_sasa_s, | ||
core::id::AtomID_Map< core::Real > const & | atom_sasa_m, | ||
core::id::AtomID_Map< core::Real > const & | atom_sasa_l, | ||
core::id::AtomID_Map< utility::vector1< core::scoring::hbonds::HBondCOP > > const & | site_partners, | ||
core::id::AtomID_Map< core::Real > const & | site_hbond_energies, | ||
utility::sql_database::sessionOP | db_session | ||
) |
References core::pose::Pose::is_fullatom().
Referenced by report_features().
void protocols::features::HBondFeatures::insert_site_pdb_row | ( | core::pose::Pose const & | pose, |
core::Size | resNum, | ||
core::Size | atmNum, | ||
core::Size | heavy_atmNum, | ||
StructureID | struct_id, | ||
core::Size | site_id, | ||
utility::sql_database::sessionOP | db_session | ||
) |
References core::pose::Pose::pdb_info().
Referenced by report_features().
void protocols::features::HBondFeatures::insert_site_row | ( | core::pose::Pose const & | pose, |
StructureID | struct_id, | ||
core::Size | site_id, | ||
core::Size | resNum, | ||
core::Size | atmNum, | ||
bool | is_donor, | ||
utility::sql_database::sessionOP | db_session | ||
) |
References core::conformation::Residue::atom_base(), core::conformation::Residue::atom_type(), core::pose::Pose::chain(), core::scoring::hbonds::get_hb_acc_chem_type(), core::scoring::hbonds::get_hb_don_chem_type(), core::chemical::ResidueTypeBase::name(), core::chemical::AtomType::name(), core::scoring::hbonds::HBondTypeManager::name_from_acc_chem_type(), core::scoring::hbonds::HBondTypeManager::name_from_don_chem_type(), core::pose::Pose::residue(), and core::pose::Pose::residue_type().
Referenced by report_features().
|
overridevirtual |
get what criteria should be used to define what constitutes a hydrogen bond
set what criteria should be used to define what constitutes a hydrogen bond
get the definition threshold that should be used to define what constitutes a hydrogen bond
set the definition threshold that should be used to define what constitutes a hydrogen bond
Reimplemented from protocols::features::FeaturesReporter.
References definition_threshold_, definition_type_, core::scoring::get_score_function(), protocols::features::hbdef_AHDIST, protocols::features::hbdef_ENERGY, and scfxn_.
|
static |
References class_name(), and protocols::features::xsd_type_definition_w_attributes().
Referenced by protocols::features::HBondFeaturesCreator::provide_xml_schema().
|
overridevirtual |
collect all the feature data for the pose
Implements protocols::features::FeaturesReporter.
References core::conformation::Residue::accpt_pos(), core::conformation::Residue::atom_base(), core::scoring::calc_per_atom_sasa(), protocols::features::FeaturesReporter::check_relevant_residues(), core::pose::Pose::conformation(), definition_threshold_, definition_type_, core::sequence::end, core::pose::Pose::energies(), core::scoring::hbonds::fill_hbond_set_by_AHdist_threshold(), core::scoring::get_score_function(), protocols::features::hbdef_AHDIST, protocols::features::hbdef_ENERGY, core::scoring::hbonds::HBondSet::hbond(), core::scoring::hbond, core::scoring::hbonds::HBond::hbond_energy_comparer(), core::scoring::hbonds::HBondSet::hbond_options(), core::conformation::Residue::Hpos_polar(), core::pose::initialize_atomid_map(), insert_hbond_dehydron_row(), insert_hbond_geom_coords(), insert_hbond_lennard_jones_row(), insert_hbond_row(), insert_site_atoms_row(), insert_site_environment_row(), insert_site_pdb_row(), insert_site_row(), core::pose::Pose::is_fullatom(), core::chemical::ResidueTypeBase::is_protein(), core::scoring::hbonds::HBondSet::nhbonds(), core::pose::Pose::residue(), core::scoring::Energies::residue_neighbors_updated(), scfxn_, core::scoring::hbonds::HBondSet::setup_for_residue_pair_energies(), core::pose::Pose::size(), core::conformation::Conformation::structure_moved(), protocols::features::TR(), and core::conformation::Residue::type().
|
overridevirtual |
Reimplemented from protocols::features::FeaturesReporter.
References class_name().
|
private |
References protocols::hybridization::t.
Referenced by write_schema_to_db().
|
private |
Referenced by write_schema_to_db().
|
private |
Referenced by write_schema_to_db().
|
private |
Referenced by write_schema_to_db().
|
private |
Referenced by write_schema_to_db().
|
private |
Referenced by write_schema_to_db().
|
private |
References protocols::loops::iCode.
Referenced by write_schema_to_db().
|
private |
Referenced by write_schema_to_db().
|
private |
References protocols::buns::energy.
Referenced by write_schema_to_db().
|
overridevirtual |
generate the table schemas and write them to the database
Implements protocols::features::FeaturesReporter.
References write_hbond_chem_types_table_schema(), write_hbond_dehydrons_table_schema(), write_hbond_geom_coords_table_schema(), write_hbond_lennard_jones_table_schema(), write_hbond_site_atoms_table_schema(), write_hbond_site_environment_table_schema(), write_hbond_sites_pdb_table_schema(), write_hbond_sites_table_schema(), and write_hbonds_table_schema().
|
private |
Referenced by parse_my_tag(), and report_features().
|
private |
Referenced by parse_my_tag(), and report_features().
|
private |
Referenced by insert_hbond_lennard_jones_row(), insert_hbond_row(), parse_my_tag(), and report_features().