Rosetta
|
class that holds all the parameters for one specific constraint More...
#include <EnzConstraintParameters.hh>
Static Public Member Functions | |
static core::scoring::func::FuncOP | convert_GeomSampleInfo_to_FuncOP (toolbox::match_enzdes_util::GeomSampleInfoCOP gsi, core::Real &ideal_val) |
Private Member Functions | |
void | generate_active_pose_constraints (core::pose::Pose &pose, core::scoring::ScoreFunctionCOP scofx) const |
process the information in template residues and the func op pointers to add More... | |
void | make_constraint_covalent (core::pose::Pose &pose, core::Size resA_pos, core::Size resB_pos, core::Size resA_At, core::Size resB_At) const |
void | make_constraint_covalent_helper (core::pose::Pose &pose, EnzCstTemplateResOP template_res, core::Size res_pos, core::Size Atpos, core::Real itorsion, core::Real iangle, core::Real idis, std::string &res_varname) const |
helper function so stuff doesn't need to be written twice More... | |
core::Size | determine_best_constraint (core::pose::Pose const &pose, core::scoring::ScoreFunctionCOP scofx, utility::vector1< core::scoring::constraints::ConstraintCOP > candidate_csts) const |
function to determine the lowest scoring constraint in a vector of input constraints More... | |
class that holds all the parameters for one specific constraint
protocols::toolbox::match_enzdes_util::EnzConstraintParameters::EnzConstraintParameters | ( | ) |
protocols::toolbox::match_enzdes_util::EnzConstraintParameters::EnzConstraintParameters | ( | EnzConstraintParameters const & | other | ) |
copy constructor
WARNING: currently this probably doesn't copy the functions or active pose constraints
References enz_io_.
|
overridedefault |
std::set< std::string > protocols::toolbox::match_enzdes_util::EnzConstraintParameters::allowed_res_name3_at_position | ( | core::pose::Pose const & | pose, |
core::Size | seqpos | ||
) | const |
all residue names specified in the cstfile returns an empty set if the constraints don't apply to the specifed position
References cst_block_, protocols::toolbox::match_enzdes_util::get_enzdes_observer(), resA_, and resB_.
|
static |
References protocols::toolbox::match_enzdes_util::tr().
Referenced by set_mcfi().
|
inline |
function that takes all rotamers for the ResidueType(s) of the residue that's missing in the pose and places them according to the geometry specified in the mcfi
References cst_block_.
Referenced by init(), set_cst_block(), and update_pdb_remarks().
|
private |
function to determine the lowest scoring constraint in a vector of input constraints
there might be a slightly faster and slightly more complicated way to implement this,
but since this function will only be called once per input pose (if it is called at all),
it probably doesn't matter.
References core::scoring::angle_constraint, core::scoring::atom_pair_constraint, core::pose::Pose::constraint_set(), core::scoring::coordinate_constraint, core::scoring::dihedral_constraint, core::pose::Pose::energies(), core::scoring::ScoreFunction::set_weight(), and core::scoring::Energies::total_energies().
Referenced by generate_active_pose_constraints().
|
inline |
References enz_io_.
|
private |
process the information in template residues and the func op pointers to add
to the constraint set in the right format
References angleA_, angleB_, core::conformation::Residue::atom_name(), cst_block_, determine_best_constraint(), disAB_, empty_, protocols::toolbox::match_enzdes_util::get_enzdes_observer(), is_covalent_, make_constraint_covalent(), remove_covalent_connections_from_pose(), core::pose::Pose::residue(), torsionA_, torsionAB_, torsionB_, and protocols::toolbox::match_enzdes_util::tr().
Referenced by generate_pose_specific_data().
void protocols::toolbox::match_enzdes_util::EnzConstraintParameters::generate_pose_specific_data | ( | core::pose::Pose & | pose, |
core::scoring::ScoreFunctionCOP | scofx | ||
) | const |
References generate_active_pose_constraints(), resA_, and resB_.
EnzCstTemplateResCOP protocols::toolbox::match_enzdes_util::EnzConstraintParameters::get_missing_template_other_res | ( | core::pose::Pose const & | pose | ) | const |
References cst_block_, protocols::toolbox::match_enzdes_util::get_enzdes_observer(), resA_, and resB_.
EnzCstTemplateResCOP protocols::toolbox::match_enzdes_util::EnzConstraintParameters::get_missing_template_res | ( | core::pose::Pose const & | pose | ) | const |
References cst_block_, protocols::toolbox::match_enzdes_util::get_enzdes_observer(), resA_, and resB_.
|
inline |
|
inline |
self pointers
|
inline |
Referenced by init(), and set_mcfi().
void protocols::toolbox::match_enzdes_util::EnzConstraintParameters::init | ( | void | ) |
References get_self_weak_ptr(), resA_, resB_, and restype_set_.
Referenced by init().
void protocols::toolbox::match_enzdes_util::EnzConstraintParameters::init | ( | core::Size | cst_block, |
core::chemical::ResidueTypeSetCOP | src_restype_set, | ||
EnzConstraintIOCAP | src_enz_io | ||
) |
References angleA_, angleB_, cst_block(), cst_block_, disAB_, empty_, enz_io_, init(), is_covalent_, resA_, resB_, restype_set_, torsionA_, torsionAB_, and torsionB_.
|
inline |
References is_covalent_.
|
inline |
References empty_.
|
private |
References core::conformation::Residue::atom_name(), core::pose::Pose::conformation(), cst_block_, core::conformation::Conformation::declare_chemical_bond(), core::pose::Pose::dump_pdb(), protocols::toolbox::match_enzdes_util::get_enzdes_observer(), make_constraint_covalent_helper(), core::conformation::Residue::name(), nangleA_, nangleB_, ntorsionA_, ntorsionB_, resA_, resB_, core::pose::Pose::residue(), core::pose::Pose::residue_type(), core::chemical::residue_type_base_name(), restype_set_, and protocols::toolbox::match_enzdes_util::tr().
Referenced by generate_active_pose_constraints().
|
private |
helper function so stuff doesn't need to be written twice
References core::conformation::Residue::atom_name(), core::chemical::ResidueTypeBase::get_disulfide_atom_name(), core::pose::get_restype_for_pose(), core::chemical::ResidueType::is_disulfide_bonded(), core::chemical::ResidueType::is_metal(), core::chemical::ResidueTypeBase::mode(), protocols::toolbox::match_enzdes_util::replace_residue_keeping_all_atom_positions(), core::pose::Pose::residue(), core::pose::Pose::residue_type(), core::chemical::residue_type_all_patches_name(), core::chemical::residue_type_base_name(), and core::chemical::orbitals::strip_whitespace().
Referenced by make_constraint_covalent().
bool protocols::toolbox::match_enzdes_util::EnzConstraintParameters::missing_in_pose | ( | core::pose::Pose const & | pose | ) | const |
References cst_block_, and protocols::toolbox::match_enzdes_util::get_enzdes_observer().
EnzCstTemplateResOP protocols::toolbox::match_enzdes_util::EnzConstraintParameters::nonconst_resA | ( | ) |
References resA_.
EnzCstTemplateResOP protocols::toolbox::match_enzdes_util::EnzConstraintParameters::nonconst_resB | ( | ) |
References resB_.
void protocols::toolbox::match_enzdes_util::EnzConstraintParameters::remap_resid | ( | core::id::SequenceMapping const & | smap | ) |
void protocols::toolbox::match_enzdes_util::EnzConstraintParameters::remove_covalent_connections_from_pose | ( | core::pose::Pose & | pose | ) | const |
References cst_block_, and protocols::toolbox::match_enzdes_util::get_enzdes_observer().
Referenced by generate_active_pose_constraints().
EnzCstTemplateResCOP protocols::toolbox::match_enzdes_util::EnzConstraintParameters::resA | ( | ) | const |
References resA_.
Referenced by update_pdb_remarks().
EnzCstTemplateResCOP protocols::toolbox::match_enzdes_util::EnzConstraintParameters::resB | ( | ) | const |
References resB_.
Referenced by update_pdb_remarks().
|
inline |
References cst_block(), and cst_block_.
void protocols::toolbox::match_enzdes_util::EnzConstraintParameters::set_external_position_for_resA | ( | core::Size | pos | ) |
References resA_.
void protocols::toolbox::match_enzdes_util::EnzConstraintParameters::set_external_position_for_resB | ( | core::Size | pos | ) |
References resB_.
void protocols::toolbox::match_enzdes_util::EnzConstraintParameters::set_mcfi | ( | toolbox::match_enzdes_util::MatchConstraintFileInfoCOP | mcfi | ) |
References protocols::toolbox::match_enzdes_util::SingleConstraint::ang_U1D2, protocols::toolbox::match_enzdes_util::SingleConstraint::ang_U2D1, angleA_, angleB_, convert_GeomSampleInfo_to_FuncOP(), protocols::toolbox::match_enzdes_util::SingleConstraint::dis_U1D1, disAB_, get_self_weak_ptr(), is_covalent_, protocols::mean_field::max(), mcfi_, nangleA_, nangleB_, ndisAB_, ntorsionA_, ntorsionAB_, ntorsionB_, resA_, resB_, protocols::toolbox::match_enzdes_util::SingleConstraint::tor_U1D3, protocols::toolbox::match_enzdes_util::SingleConstraint::tor_U2D2, protocols::toolbox::match_enzdes_util::SingleConstraint::tor_U3D1, torsionA_, torsionAB_, and torsionB_.
void protocols::toolbox::match_enzdes_util::EnzConstraintParameters::show_definitions | ( | ) | const |
References resA_, resB_, and protocols::toolbox::match_enzdes_util::tr().
bool protocols::toolbox::match_enzdes_util::EnzConstraintParameters::update_pdb_remarks | ( | core::pose::Pose & | pose | ) | const |
updates the pdb remarks according to what is in the EnzCstTemplateRes member data. returns false in case any error occured
References protocols::toolbox::match_enzdes_util::assemble_remark_line(), core::pose::PDBInfo::chain(), cst_block(), cst_block_, protocols::toolbox::match_enzdes_util::get_enzdes_observer(), core::conformation::Residue::is_ligand(), core::conformation::Residue::name3(), core::pose::PDBInfo::number(), core::pose::Pose::pdb_info(), resA(), resB(), core::pose::Pose::residue(), protocols::toolbox::match_enzdes_util::split_up_remark_line(), and protocols::toolbox::match_enzdes_util::tr().
|
private |
Referenced by generate_active_pose_constraints(), init(), and set_mcfi().
|
private |
Referenced by generate_active_pose_constraints(), init(), and set_mcfi().
|
private |
|
private |
Referenced by generate_active_pose_constraints(), init(), and set_mcfi().
|
mutableprivate |
Referenced by generate_active_pose_constraints(), init(), and is_empty().
|
private |
Referenced by enz_io(), EnzConstraintParameters(), and init().
|
private |
Referenced by generate_active_pose_constraints(), init(), is_covalent(), and set_mcfi().
|
private |
Referenced by set_mcfi().
|
private |
Referenced by make_constraint_covalent(), and set_mcfi().
|
private |
Referenced by make_constraint_covalent(), and set_mcfi().
|
private |
Referenced by set_mcfi().
|
private |
Referenced by make_constraint_covalent(), and set_mcfi().
|
private |
Referenced by set_mcfi().
|
private |
Referenced by make_constraint_covalent(), and set_mcfi().
|
private |
|
private |
|
private |
Referenced by init(), and make_constraint_covalent().
|
private |
Referenced by generate_active_pose_constraints(), init(), and set_mcfi().
|
private |
Referenced by generate_active_pose_constraints(), init(), and set_mcfi().
|
private |
Referenced by generate_active_pose_constraints(), init(), and set_mcfi().