Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
protocols::toolbox::match_enzdes_util::EnzConstraintParameters Class Reference

class that holds all the parameters for one specific constraint More...

#include <EnzConstraintParameters.hh>

Inheritance diagram for protocols::toolbox::match_enzdes_util::EnzConstraintParameters:
Inheritance graph
[legend]

Public Member Functions

void set_mcfi (toolbox::match_enzdes_util::MatchConstraintFileInfoCOP mcfi)
 
 EnzConstraintParameters ()
 
void init (core::Size cst_block, core::chemical::ResidueTypeSetCOP src_restype_set, EnzConstraintIOCAP src_enz_io)
 
void init ()
 
 EnzConstraintParameters (EnzConstraintParameters const &other)
 copy constructor More...
 
 ~EnzConstraintParameters () override
 
EnzConstraintParametersCOP get_self_ptr () const
 self pointers More...
 
EnzConstraintParametersOP get_self_ptr ()
 
EnzConstraintParametersCAP get_self_weak_ptr () const
 
void show_definitions () const
 
void generate_pose_specific_data (core::pose::Pose &pose, core::scoring::ScoreFunctionCOP scofx) const
 
bool is_empty () const
 
bool is_covalent () const
 
bool missing_in_pose (core::pose::Pose const &pose) const
 
core::Size cst_block () const
 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 More...
 
void set_cst_block (core::Size cst_block)
 
bool 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 More...
 
EnzConstraintIOCAP enz_io () const
 
EnzCstTemplateResOP nonconst_resA ()
 
EnzCstTemplateResOP nonconst_resB ()
 
EnzCstTemplateResCOP resA () const
 
EnzCstTemplateResCOP resB () const
 
EnzCstTemplateResCOP get_missing_template_res (core::pose::Pose const &pose) const
 
EnzCstTemplateResCOP get_missing_template_other_res (core::pose::Pose const &pose) const
 
std::set< std::string > 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 More...
 
void set_external_position_for_resA (core::Size pos)
 
void set_external_position_for_resB (core::Size pos)
 
void remove_covalent_connections_from_pose (core::pose::Pose &pose) const
 
void remap_resid (core::id::SequenceMapping const &smap)
 

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...
 

Private Attributes

EnzCstTemplateResOP resA_
 
EnzCstTemplateResOP resB_
 
toolbox::match_enzdes_util::MatchConstraintFileInfoCOP mcfi_
 
core::scoring::func::FuncOP disAB_
 
core::scoring::func::FuncOP angleA_
 
core::scoring::func::FuncOP angleB_
 
core::scoring::func::FuncOP torsionA_
 
core::scoring::func::FuncOP torsionB_
 
core::scoring::func::FuncOP torsionAB_
 
core::Real ndisAB_
 
core::Real nangleA_
 
core::Real nangleB_
 
core::Real ntorsionA_
 
core::Real ntorsionB_
 
core::Real ntorsionAB_
 
bool is_covalent_
 
bool empty_
 
core::chemical::ResidueTypeSetCOP restype_set_
 
EnzConstraintIOCAP enz_io_
 
core::Size cst_block_
 

Detailed Description

class that holds all the parameters for one specific constraint

Constructor & Destructor Documentation

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_.

protocols::toolbox::match_enzdes_util::EnzConstraintParameters::~EnzConstraintParameters ( )
overridedefault

Member Function Documentation

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_.

core::scoring::func::FuncOP protocols::toolbox::match_enzdes_util::EnzConstraintParameters::convert_GeomSampleInfo_to_FuncOP ( toolbox::match_enzdes_util::GeomSampleInfoCOP  gsi,
core::Real ideal_val 
)
static
core::Size protocols::toolbox::match_enzdes_util::EnzConstraintParameters::cst_block ( ) const
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().

core::Size protocols::toolbox::match_enzdes_util::EnzConstraintParameters::determine_best_constraint ( core::pose::Pose const &  pose,
core::scoring::ScoreFunctionCOP  scofx,
utility::vector1< core::scoring::constraints::ConstraintCOP candidate_csts 
) const
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().

EnzConstraintIOCAP protocols::toolbox::match_enzdes_util::EnzConstraintParameters::enz_io ( ) const
inline

References enz_io_.

void protocols::toolbox::match_enzdes_util::EnzConstraintParameters::generate_active_pose_constraints ( core::pose::Pose pose,
core::scoring::ScoreFunctionCOP  scofx 
) const
private
void protocols::toolbox::match_enzdes_util::EnzConstraintParameters::generate_pose_specific_data ( core::pose::Pose pose,
core::scoring::ScoreFunctionCOP  scofx 
) const
EnzCstTemplateResCOP protocols::toolbox::match_enzdes_util::EnzConstraintParameters::get_missing_template_other_res ( core::pose::Pose const &  pose) const
EnzCstTemplateResCOP protocols::toolbox::match_enzdes_util::EnzConstraintParameters::get_missing_template_res ( core::pose::Pose const &  pose) const
EnzConstraintParametersCOP protocols::toolbox::match_enzdes_util::EnzConstraintParameters::get_self_ptr ( ) const
inline

self pointers

EnzConstraintParametersOP protocols::toolbox::match_enzdes_util::EnzConstraintParameters::get_self_ptr ( )
inline
EnzConstraintParametersCAP protocols::toolbox::match_enzdes_util::EnzConstraintParameters::get_self_weak_ptr ( ) const
inline

Referenced by init(), and set_mcfi().

void protocols::toolbox::match_enzdes_util::EnzConstraintParameters::init ( core::Size  cst_block,
core::chemical::ResidueTypeSetCOP  src_restype_set,
EnzConstraintIOCAP  src_enz_io 
)
void protocols::toolbox::match_enzdes_util::EnzConstraintParameters::init ( void  )

References get_self_weak_ptr(), resA_, resB_, and restype_set_.

Referenced by init().

bool protocols::toolbox::match_enzdes_util::EnzConstraintParameters::is_covalent ( ) const
inline

References is_covalent_.

bool protocols::toolbox::match_enzdes_util::EnzConstraintParameters::is_empty ( ) const
inline

References empty_.

void protocols::toolbox::match_enzdes_util::EnzConstraintParameters::make_constraint_covalent ( core::pose::Pose pose,
core::Size  resA_pos,
core::Size  resB_pos,
core::Size  resA_At,
core::Size  resB_At 
) const
private
void protocols::toolbox::match_enzdes_util::EnzConstraintParameters::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
private
bool protocols::toolbox::match_enzdes_util::EnzConstraintParameters::missing_in_pose ( core::pose::Pose const &  pose) const
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)

References resA_, and resB_.

void protocols::toolbox::match_enzdes_util::EnzConstraintParameters::remove_covalent_connections_from_pose ( core::pose::Pose pose) const
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().

void protocols::toolbox::match_enzdes_util::EnzConstraintParameters::set_cst_block ( core::Size  cst_block)
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)
void protocols::toolbox::match_enzdes_util::EnzConstraintParameters::show_definitions ( ) const
bool protocols::toolbox::match_enzdes_util::EnzConstraintParameters::update_pdb_remarks ( core::pose::Pose pose) const

Member Data Documentation

core::scoring::func::FuncOP protocols::toolbox::match_enzdes_util::EnzConstraintParameters::angleA_
private
core::scoring::func::FuncOP protocols::toolbox::match_enzdes_util::EnzConstraintParameters::angleB_
private
core::Size protocols::toolbox::match_enzdes_util::EnzConstraintParameters::cst_block_
private
core::scoring::func::FuncOP protocols::toolbox::match_enzdes_util::EnzConstraintParameters::disAB_
private
bool protocols::toolbox::match_enzdes_util::EnzConstraintParameters::empty_
mutableprivate
EnzConstraintIOCAP protocols::toolbox::match_enzdes_util::EnzConstraintParameters::enz_io_
private
bool protocols::toolbox::match_enzdes_util::EnzConstraintParameters::is_covalent_
private
toolbox::match_enzdes_util::MatchConstraintFileInfoCOP protocols::toolbox::match_enzdes_util::EnzConstraintParameters::mcfi_
private

Referenced by set_mcfi().

core::Real protocols::toolbox::match_enzdes_util::EnzConstraintParameters::nangleA_
private
core::Real protocols::toolbox::match_enzdes_util::EnzConstraintParameters::nangleB_
private
core::Real protocols::toolbox::match_enzdes_util::EnzConstraintParameters::ndisAB_
private

Referenced by set_mcfi().

core::Real protocols::toolbox::match_enzdes_util::EnzConstraintParameters::ntorsionA_
private
core::Real protocols::toolbox::match_enzdes_util::EnzConstraintParameters::ntorsionAB_
private

Referenced by set_mcfi().

core::Real protocols::toolbox::match_enzdes_util::EnzConstraintParameters::ntorsionB_
private
EnzCstTemplateResOP protocols::toolbox::match_enzdes_util::EnzConstraintParameters::resA_
private
EnzCstTemplateResOP protocols::toolbox::match_enzdes_util::EnzConstraintParameters::resB_
private
core::chemical::ResidueTypeSetCOP protocols::toolbox::match_enzdes_util::EnzConstraintParameters::restype_set_
private

Referenced by init(), and make_constraint_covalent().

core::scoring::func::FuncOP protocols::toolbox::match_enzdes_util::EnzConstraintParameters::torsionA_
private
core::scoring::func::FuncOP protocols::toolbox::match_enzdes_util::EnzConstraintParameters::torsionAB_
private
core::scoring::func::FuncOP protocols::toolbox::match_enzdes_util::EnzConstraintParameters::torsionB_
private

The documentation for this class was generated from the following files: