![]() |
Rosetta Core
2014.35
|
basic atom type More...
#include <AtomType.hh>
Public Member Functions | |
AtomType (std::string const &name_in, std::string const element_in) | |
Construct a new atom type with its name and element. More... | |
AtomType (AtomType const &src) | |
void | print (std::ostream &out) const |
Real | lk_lambda () const |
Lazaridis and Karplus solvation parameter – lambda. More... | |
Real | lk_dgfree () const |
Lazaridis and Karplus solvation parameter – dgfree. More... | |
Real | lk_volume () const |
Lazaridis and Karplus solvation parameter – volume. More... | |
Real | lj_radius () const |
Lennard-Jones 6-12 potential parameter – atom radius. More... | |
Real | lj_wdepth () const |
Lennard-Jones 6-12 potential parameter – well depth. More... | |
bool | is_acceptor () const |
whether atom is a hydrogen bond acceptor More... | |
bool | is_donor () const |
whether atom is a hydrogen bond donor More... | |
bool | is_polar_hydrogen () const |
whether atom is a polar hydrogen atom More... | |
bool | is_hydrogen () const |
whether atom is a hydrogen atom More... | |
bool | is_heavyatom () const |
whether atom is a heavy atom More... | |
bool | is_virtual () const |
is atom type virtual? More... | |
bool | is_h2o () const |
whether atom is a water More... | |
bool | is_aromatic () const |
whether atom is aromatic More... | |
bool | atom_has_orbital () const |
atom has an orbital attached More... | |
bool | is_haro () const |
is the H atom aromatic? More... | |
void | set_parameter (std::string const ¶m, Real const setting) |
set LJ and LK solvation parameter for this atom type More... | |
void | set_property (std::string const &property, bool const setting) |
set relevant properties for this atom type hh More... | |
Hybridization const & | hybridization () const |
retrieve an atom's hybridization status. More... | |
void | clear_properties () |
set all standard properties to false, set hybridization to UNKNOWN_HYBRID, and clear extra properties More... | |
void | add_property (std::string const &property) |
set standard property to true, or set the specified hybridization More... | |
utility::vector1< std::string > | get_all_properties () const |
std::string | element () const |
returns the one- or two-letter element type More... | |
std::string | atom_type_name () const |
Real | extra_parameter (Size const index) const |
return an additional, non-hardcoded property More... | |
void | set_extra_parameter (Size const index, Real const setting) |
return an additional, non-hardcoded property More... | |
void | set_all_extra_parameters (utility::vector1< Real > const &extra_parameters) |
all the extra parameters at once More... | |
std::string const & | name () const |
Private Attributes | |
std::string const | name_ |
std::string const | element_ |
Real | lj_radius_ |
Real | lj_wdepth_ |
Real | lk_lambda_ |
Real | lk_volume_ |
Real | lk_dgfree_ |
utility::vector1< Real > | extra_parameters_ |
bool | is_acceptor_ |
bool | is_donor_ |
bool | is_polar_hydrogen_ |
bool | is_h2o_ |
bool | is_aromatic_ |
bool | atom_has_orbitals_ |
bool | atom_is_virtual_ |
Hybridization | hybridization_ |
Friends | |
std::ostream & | operator<< (std::ostream &out, const AtomType &atom_type) |
basic atom type
name, element, certain properties and parameters
|
inline |
Construct a new atom type with its name and element.
All its properties are unset by default.
|
inline |
void core::chemical::AtomType::add_property | ( | std::string const & | property | ) |
set standard property to true, or set the specified hybridization
References atom_has_orbitals_, atom_is_virtual_, hybridization_, is_acceptor_, is_aromatic_, is_donor_, is_h2o_, is_polar_hydrogen_, name(), core::chemical::RING_HYBRID, core::chemical::SP2_HYBRID, core::chemical::SP3_HYBRID, and utility_exit_with_message.
Referenced by core::chemical::AtomTypeSet::read_atom_type_properties_table().
|
inline |
atom has an orbital attached
References atom_has_orbitals_.
Referenced by core::io::pdb::dump_pdb_residue(), get_all_properties(), print(), and core::chemical::ResidueType::set_atom_type().
|
inline |
void core::chemical::AtomType::clear_properties | ( | ) |
set all standard properties to false, set hybridization to UNKNOWN_HYBRID, and clear extra properties
References atom_has_orbitals_, atom_is_virtual_, extra_parameters_, hybridization_, is_acceptor_, is_aromatic_, is_donor_, is_h2o_, is_polar_hydrogen_, and core::chemical::UNKNOWN_HYBRID.
|
inline |
returns the one- or two-letter element type
References element_.
Referenced by core::scoring::calc_per_atom_sasa(), core::scoring::calc_per_res_hydrophobic_sasa(), core::scoring::sasa::SasaCalc::calc_per_res_sasas(), core::pack::interaction_graph::HPatchInteractionGraph< V, E, G >::calculate_alt_state_hpatch_score(), core::pack::interaction_graph::SurfacePotential::compute_pose_hpatch_score(), core::pack::interaction_graph::RotamerDotsRadiusData::get_NACCESS_SASA_radii_with_expanded_polars(), core::chemical::orbitals::AssignOrbitals::make_orbital_type_name(), print(), core::pack::interaction_graph::HPatchBackgroundNode< V, E, G >::set_rotamer(), core::pack::interaction_graph::HPatchNode< V, E, G >::set_rotamers(), core::chemical::AtomTypeDatabaseIO::write_atom_type_table(), and core::conformation::ResidueKinWriter::write_rsd_coords().
return an additional, non-hardcoded property
References extra_parameters_.
Referenced by core::chemical::AtomTypeSet::get_default_parameter(), core::scoring::GenBornResidueInfo::initialize(), core::scoring::FACTSRsdTypeInfo::initialize_parameters(), core::scoring::methods::LKB_ResidueInfo::setup_atom_weights(), and core::chemical::AtomTypeDatabaseIO::write_atom_type_extra_parameters_table().
utility::vector1< std::string > core::chemical::AtomType::get_all_properties | ( | ) | const |
References atom_has_orbital(), hybridization(), is_acceptor(), is_aromatic(), is_donor(), is_h2o(), is_polar_hydrogen(), is_virtual(), name(), core::chemical::RING_HYBRID, core::chemical::SP2_HYBRID, core::chemical::SP3_HYBRID, core::chemical::UNKNOWN_HYBRID, and utility_exit_with_message.
Referenced by core::chemical::AtomTypeDatabaseIO::write_atom_type_properties_table().
|
inline |
retrieve an atom's hybridization status.
References hybridization_.
Referenced by core::scoring::methods::apply_lk_ball_fraction_weight_for_hbonds(), core::pack::rotamer_set::build_acceptor_acceptor_waters(), core::pack::rotamer_set::build_donor_acceptor_waters(), core::scoring::hbonds::create_acc_orientation_vector(), get_all_properties(), core::scoring::rna::RNA_Mg_Energy::get_cos_theta(), core::scoring::hbonds::get_hb_acc_chem_type(), print(), and core::scoring::methods::setup_water_builders_for_residue_type().
|
inline |
whether atom is a hydrogen bond acceptor
References is_acceptor_.
Referenced by core::scoring::geometric_solvation::ExactOccludedHbondSolEnergy::compute_polar_group_sol_energy(), core::scoring::methods::LK_PolarNonPolarEnergy::finalize_total_energy(), get_all_properties(), core::scoring::methods::LK_PolarNonPolarEnergy::get_residue_pair_energy_one_way(), core::scoring::etable::Etable::precalc_etable_coefficients(), print(), core::scoring::methods::LK_hack::residue_pair_energy(), core::scoring::methods::LK_PolarNonPolarEnergy::residue_pair_energy_ext(), and core::chemical::ResidueType::set_atom_type().
|
inline |
whether atom is aromatic
References is_aromatic_.
Referenced by get_all_properties(), core::scoring::rna::RNA_FullAtomStackingEnergy::is_aro(), and print().
|
inline |
whether atom is a hydrogen bond donor
References is_donor_.
Referenced by core::scoring::geometric_solvation::ExactOccludedHbondSolEnergy::compute_polar_group_sol_energy(), core::scoring::methods::LK_PolarNonPolarEnergy::finalize_total_energy(), get_all_properties(), core::scoring::methods::LK_PolarNonPolarEnergy::get_residue_pair_energy_one_way(), core::scoring::etable::Etable::precalc_etable_coefficients(), print(), core::scoring::methods::LK_hack::residue_pair_energy(), core::scoring::methods::LK_PolarNonPolarEnergy::residue_pair_energy_ext(), and core::chemical::ResidueType::set_atom_type().
|
inline |
whether atom is a water
References is_h2o_.
Referenced by core::scoring::sasa::LeGrandSasa::calc_atom_masks(), core::scoring::calc_atom_masks(), get_all_properties(), core::scoring::WaterAdductHBondPotential::get_residue_residue_h2o_hbonds_1way(), core::scoring::WaterAdductHBondPotential::h2o_hbond_score_1way(), core::scoring::etable::Etable::precalc_etable_coefficients(), print(), and core::scoring::methods::WaterAdductIntraEnergy::residue_energy().
|
inline |
is the H atom aromatic?
References name_.
Referenced by core::chemical::ResidueType::set_atom_type().
|
inline |
whether atom is a heavy atom
References element_.
Referenced by core::import_pose::atom_tree_diffs::dump_atom_tree_diff(), core::scoring::saxs::FastSAXSEnergy::eval_atom_derivative(), core::scoring::electron_density_atomwise::ElecDensAtomwiseEnergy::eval_atom_derivative(), core::scoring::electron_density::ElecDensAllAtomCenEnergy::eval_atom_derivative(), core::scoring::electron_density::PattersonCorrEnergy::eval_atom_derivative(), core::scoring::electron_density::ElecDensEnergy::eval_atom_derivative(), core::scoring::electron_density::FastDensEnergy::eval_atom_derivative(), core::conformation::Conformation::fill_missing_atoms(), core::scoring::packing::PoseBalls::PoseBalls(), and core::import_pose::atom_tree_diffs::rms_error_with_noise().
|
inline |
whether atom is a hydrogen atom
References element_.
Referenced by core::scoring::automorphic_rmsd(), core::scoring::calc_per_res_hydrophobic_sasa(), core::scoring::methods::LK_PolarNonPolarEnergy::finalize_total_energy(), core::chemical::HeavyAtomWithHydrogensFilter::operator()(), core::scoring::packing::PoseBalls::PoseBalls(), core::scoring::packing::PoseBallsLite::PoseBallsLite(), core::scoring::saxs::SAXSEnergy::rehash_form_factors(), core::chemical::ResidueType::set_atom_type(), and core::conformation::setup_links().
|
inline |
whether atom is a polar hydrogen atom
References is_polar_hydrogen_.
Referenced by core::pack::rotamer_set::build_moving_O_bridge_waters(), core::scoring::calc_per_atom_sasa(), core::scoring::sasa::LeGrandSasa::calculate(), get_all_properties(), core::chemical::HeavyAtomWithPolarHydrogensFilter::operator()(), core::scoring::packing::PoseBalls::PoseBalls(), core::scoring::packing::PoseBallsLite::PoseBallsLite(), core::scoring::etable::Etable::precalc_etable_coefficients(), print(), and core::chemical::ResidueType::set_atom_type().
bool core::chemical::AtomType::is_virtual | ( | ) | const |
is atom type virtual?
References atom_is_virtual_, and name_.
Referenced by core::io::pdb::FileData::append_residue(), core::scoring::methods::ProQ_Energy::atom13_0(), core::scoring::methods::MMBondLengthEnergy::eval_atom_derivative(), core::scoring::methods::MMBondLengthEnergy::eval_intrares_energy(), core::scoring::methods::MMBondAngleEnergy::eval_intrares_energy(), core::scoring::methods::D2H_SA_Energy::finalize_total_energy(), get_all_properties(), core::scoring::inline_intraresidue_atom_pair_energy(), core::scoring::inline_residue_atom_pair_energy(), core::conformation::Residue::is_virtual(), core::scoring::methods::MMBondLengthEnergy::residue_pair_energy(), and core::chemical::ResidueType::set_atom_type().
|
inline |
Lennard-Jones 6-12 potential parameter – atom radius.
References lj_radius_.
Referenced by core::util::find_metalbinding_atoms(), core::scoring::geometric_solvation::OccludedHbondSolEnergy_onebody::get_atom_atom_occ_solvation(), core::scoring::geometric_solvation::OccludedHbondSolEnergy::get_atom_atom_occ_solvation(), core::chemical::AtomTypeSet::get_default_parameter(), core::scoring::packstat::LeeRichards::LeeRichards(), core::scoring::packing::PoseBalls::PoseBalls(), core::scoring::packing::PoseBallsLite::PoseBallsLite(), print(), core::scoring::methods::GaussianOverlapEnergy::residue_pair_energy(), core::scoring::methods::LK_BallEnergy::setup_d2_bounds(), and core::chemical::AtomTypeDatabaseIO::write_atom_type_table().
|
inline |
Lennard-Jones 6-12 potential parameter – well depth.
References lj_wdepth_.
Referenced by core::chemical::AtomTypeSet::get_default_parameter(), print(), and core::chemical::AtomTypeDatabaseIO::write_atom_type_table().
|
inline |
Lazaridis and Karplus solvation parameter – dgfree.
References lk_dgfree_.
Referenced by core::chemical::AtomTypeSet::get_default_parameter(), print(), and core::chemical::AtomTypeDatabaseIO::write_atom_type_table().
|
inline |
Lazaridis and Karplus solvation parameter – lambda.
References lk_lambda_.
Referenced by core::chemical::AtomTypeSet::get_default_parameter(), print(), and core::chemical::AtomTypeDatabaseIO::write_atom_type_table().
|
inline |
Lazaridis and Karplus solvation parameter – volume.
References lk_volume_.
Referenced by core::chemical::AtomTypeSet::get_default_parameter(), print(), and core::chemical::AtomTypeDatabaseIO::write_atom_type_table().
|
inline |
Referenced by add_property(), core::chemical::orbitals::AssignOrbitals::assign_only_pi_orbitals_to_atom(), core::scoring::elec::atom_is_aro(), core::scoring::elec::atom_is_aro2(), core::scoring::calc_per_atom_sasa(), core::scoring::sasa::LeGrandSasa::calculate(), core::scoring::orbitals::OrbitalsAssigned::cp_function(), core::chemical::AtomTypeSet::create_atom_type_from_database(), get_all_properties(), core::scoring::rna::RNA_Mg_Energy::get_cos_theta(), core::scoring::orbitals::OrbitalsAssigned::get_hydrogens(), core::scoring::rna::RNA_Mg_KnowledgeBasedPotential::get_mg_potential_costheta_gaussian_parameter(), core::scoring::rna::RNA_Mg_KnowledgeBasedPotential::get_mg_potential_costheta_indirect_gaussian_parameter(), core::scoring::rna::RNA_Mg_KnowledgeBasedPotential::get_mg_potential_gaussian_parameter(), core::scoring::rna::RNA_Mg_KnowledgeBasedPotential::get_mg_potential_indirect_gaussian_parameter(), core::chemical::rna::get_rna_base_centroid(), core::scoring::packing::PoseBalls::PoseBalls(), core::scoring::etable::Etable::precalc_etable_coefficients(), print(), core::chemical::ResidueType::print_bondangles(), core::chemical::ResidueType::print_dihedrals(), core::conformation::print_node(), core::chemical::AtomTypeSet::read_atom_type_extra_parameters_table(), core::chemical::AtomTypeSet::read_atom_type_properties_table(), core::scoring::saxs::SAXSEnergy::rehash_form_factors(), core::scoring::rna::RNA_Mg_Energy::residue_pair_energy_one_way(), core::scoring::methods::LKB_ResidueInfo::setup_atom_weights(), core::scoring::methods::LK_BallEnergy::setup_d2_bounds(), core::chemical::AtomTypeDatabaseIO::write_atom_type_extra_parameters_table(), core::chemical::AtomTypeDatabaseIO::write_atom_type_properties_table(), core::chemical::AtomTypeDatabaseIO::write_atom_type_table(), and core::chemical::write_topology_file().
void core::chemical::AtomType::print | ( | std::ostream & | out | ) | const |
References atom_has_orbital(), element(), extra_parameters_, hybridization(), is_acceptor(), is_aromatic(), is_donor(), is_h2o(), is_polar_hydrogen(), lj_radius(), lj_wdepth(), lk_dgfree(), lk_lambda(), lk_volume(), name(), core::chemical::RING_HYBRID, core::chemical::SP2_HYBRID, core::chemical::SP3_HYBRID, core::chemical::UNKNOWN_HYBRID, and utility_exit_with_message.
Referenced by core::chemical::operator<<().
void core::chemical::AtomType::set_all_extra_parameters | ( | utility::vector1< Real > const & | extra_parameters | ) |
all the extra parameters at once
References extra_parameters_.
return an additional, non-hardcoded property
References extra_parameters_.
Referenced by core::chemical::AtomTypeSet::read_atom_type_extra_parameters_table().
void core::chemical::AtomType::set_parameter | ( | std::string const & | param, |
Real const | setting | ||
) |
set LJ and LK solvation parameter for this atom type
currently parameters are "LJ_RADIUS","LJ_WDEPTH","LK_VOLUME", "LK_DGFREE","LK_LAMBDA".It will abort if the parameter name is not Recognized. Supplemented by membrane specific solvation parameters: "MEMB_LK_DGFREE","MEMB_LK_DGREFCE","LK_DGREFCE". These are the header files in atom_properties.txt
References lj_radius_, lj_wdepth_, lk_dgfree_, lk_lambda_, lk_volume_, and utility_exit_with_message.
Referenced by core::chemical::AtomTypeSet::create_atom_type_from_database(), and core::chemical::AtomTypeSet::read_file().
void core::chemical::AtomType::set_property | ( | std::string const & | property, |
bool const | setting | ||
) |
set relevant properties for this atom type hh
set relevant properties for this atom type
currently properties are "ACCEPTOR","DONOR","POLAR_HYDROGEN", "H2O", and hybridization types including "SP2_HYBRID", "SP3_HYBRID" and "RING_HYBRID". It will abort if the property name is not recognized. To add properties, edit atom_properties.txt and add your property to the last column then add code here that will read the property.
References atom_has_orbitals_, atom_is_virtual_, hybridization_, is_acceptor_, is_aromatic_, is_donor_, is_h2o_, is_polar_hydrogen_, core::chemical::RING_HYBRID, core::chemical::SP2_HYBRID, core::chemical::SP3_HYBRID, and utility_exit_with_message.
Referenced by core::chemical::AtomTypeSet::read_file().
|
friend |
|
private |
Referenced by add_property(), atom_has_orbital(), clear_properties(), and set_property().
|
private |
Referenced by add_property(), clear_properties(), is_virtual(), and set_property().
|
private |
Referenced by element(), is_heavyatom(), and is_hydrogen().
|
private |
Referenced by clear_properties(), extra_parameter(), print(), set_all_extra_parameters(), and set_extra_parameter().
|
private |
Referenced by add_property(), clear_properties(), hybridization(), and set_property().
|
private |
Referenced by add_property(), clear_properties(), is_acceptor(), and set_property().
|
private |
Referenced by add_property(), clear_properties(), is_aromatic(), and set_property().
|
private |
Referenced by add_property(), clear_properties(), is_donor(), and set_property().
|
private |
Referenced by add_property(), clear_properties(), is_h2o(), and set_property().
|
private |
Referenced by add_property(), clear_properties(), is_polar_hydrogen(), and set_property().
|
private |
Referenced by lj_radius(), and set_parameter().
|
private |
Referenced by lj_wdepth(), and set_parameter().
|
private |
Referenced by lk_dgfree(), and set_parameter().
|
private |
Referenced by lk_lambda(), and set_parameter().
|
private |
Referenced by lk_volume(), and set_parameter().
|
private |
Referenced by atom_type_name(), is_haro(), and is_virtual().