Rosetta
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
protocols::constraint_generator::MetalContactsConstraintGenerator Class Reference

This constraint generator takes residue selectors for a residue containing metal ion(s) and for residue(s) for which to set up contacts. It allows users to specify which base atoms will be used to define angles/dihedrals to constrain; ideal values for angles/dihedrals/distances; and an option to constrain to native values. More...

#include <MetalContactsConstraintGenerator.hh>

Inheritance diagram for protocols::constraint_generator::MetalContactsConstraintGenerator:
Inheritance graph
[legend]

Public Member Functions

 MetalContactsConstraintGenerator ()
 
protocols::constraint_generator::ConstraintGeneratorOP clone () const override
 
core::scoring::constraints::ConstraintCOPs apply (core::pose::Pose const &pose) const override
 generates constraints and adds them to the pose More...
 
void provide_citation_info (basic::citation_manager::CitationCollectionList &citations) const override
 Provide citations to the passed CitationCollectionList. This allows the constraint generator to provide citations for itself and for any modules that it invokes. More...
 
std::string get_ligand_atom_name () const
 
bool get_use_ligand_selector () const
 
core::select::residue_selector::ResidueSelectorCOP get_ligand_selector () const
 
std::string get_ligand_resnum_string () const
 
bool get_use_contact_selector () const
 
core::select::residue_selector::ResidueSelectorCOP get_contact_selector () const
 
std::string get_contact_resnum_string () const
 
std::string get_base_atom_name () const
 
std::string get_base_base_atom_name () const
 
core::Real get_ideal_distance () const
 
utility::vector1< core::Realget_ideal_angle_about_contact () const
 
utility::vector1< core::Realget_ideal_dihedral_about_contact () const
 
utility::vector1< core::Realget_ideal_angle_about_metal () const
 
utility::vector1< core::Realget_ideal_dihedral_about_metal () const
 
utility::vector1< core::Realget_ideal_dihedral_3 () const
 
bool get_score_against_internal_contacts () const
 
core::Real get_dist_cutoff_multiplier () const
 
bool get_constrain_to_closest () const
 
void set_ligand_atom_name (std::string)
 
void set_use_ligand_selector (bool)
 
void set_ligand_selector (core::select::residue_selector::ResidueSelectorCOP)
 
void set_ligand_resnum_string (std::string)
 
void set_use_contact_selector (bool)
 
void set_contact_selector (core::select::residue_selector::ResidueSelectorCOP)
 
void set_contact_resnum_string (std::string)
 
void set_base_atom_name (std::string)
 
void set_base_base_atom_name (std::string)
 
void set_ideal_distance (core::Real)
 
void set_ideal_angle_about_contact (utility::vector1< core::Real >)
 
void set_ideal_dihedral_about_contact (utility::vector1< core::Real >)
 
void set_ideal_angle_about_metal (utility::vector1< core::Real >)
 
void set_ideal_dihedral_about_metal (utility::vector1< core::Real >)
 
void set_ideal_dihedral_3 (utility::vector1< core::Real >)
 
void set_score_against_internal_contacts (bool)
 
void set_dist_cutoff_multiplier (core::Real)
 
void set_constrain_to_closest (bool)
 
- Public Member Functions inherited from protocols::constraint_generator::ConstraintGenerator
 ConstraintGenerator (std::string const &class_name)
 
 ~ConstraintGenerator () override
 
void parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &data)
 parses XML tag – calls protected parse_tag() function More...
 
std::string const & id () const
 
void set_id (std::string const &id)
 
std::string const & class_name () const
 

Static Public Member Functions

static std::string class_name ()
 
static void provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd)
 

Protected Member Functions

void parse_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &data) override
 called by parse_my_tag – should not be used directly More...
 

Private Member Functions

core::Size get_ligand_resnum (core::pose::Pose const &pose) const
 Uses private data to compute ligand resnums based on selector/resnum string and pose. More...
 
void get_contact_resnums (core::pose::Pose const &pose, std::set< core::Size > &output) const
 Uses private data to compute contact residue numbers based on selector/resnum string and pose; inserts them into the provided set. More...
 

Private Attributes

core::Real dist_cutoff_multiplier_ =1.0
 
bool use_ligand_selector_ =false
 
std::string ligand_atom_name_ =""
 
core::select::residue_selector::ResidueSelectorCOP ligand_selector_
 
std::string ligand_resnum_string_ =""
 
bool use_contact_selector_ =false
 
core::select::residue_selector::ResidueSelectorCOP contact_selector_
 
std::string contact_resnum_string_ =""
 
std::string base_atom_name_ =""
 
std::string base_base_atom_name_ =""
 
core::Real ideal_distance_ =-1.0
 
utility::vector1< core::Realideal_angle_about_contact_
 
utility::vector1< core::Realideal_dihedral_about_contact_
 
utility::vector1< core::Realideal_angle_about_metal_
 
utility::vector1< core::Realideal_dihedral_about_metal_
 
utility::vector1< core::Realideal_dihedral_3_
 
bool score_against_internal_contacts_ =false
 
bool constrain_to_closest_ =true
 

Detailed Description

This constraint generator takes residue selectors for a residue containing metal ion(s) and for residue(s) for which to set up contacts. It allows users to specify which base atoms will be used to define angles/dihedrals to constrain; ideal values for angles/dihedrals/distances; and an option to constrain to native values.

Constructor & Destructor Documentation

◆ MetalContactsConstraintGenerator()

protocols::constraint_generator::MetalContactsConstraintGenerator::MetalContactsConstraintGenerator ( )

Member Function Documentation

◆ apply()

core::scoring::constraints::ConstraintCOPs protocols::constraint_generator::MetalContactsConstraintGenerator::apply ( core::pose::Pose const &  pose) const
overridevirtual

◆ class_name()

std::string protocols::constraint_generator::MetalContactsConstraintGenerator::class_name ( )
static

◆ clone()

protocols::constraint_generator::ConstraintGeneratorOP protocols::constraint_generator::MetalContactsConstraintGenerator::clone ( ) const
overridevirtual

◆ get_base_atom_name()

std::string protocols::constraint_generator::MetalContactsConstraintGenerator::get_base_atom_name ( ) const

References base_atom_name_.

◆ get_base_base_atom_name()

std::string protocols::constraint_generator::MetalContactsConstraintGenerator::get_base_base_atom_name ( ) const

References base_base_atom_name_.

◆ get_constrain_to_closest()

bool protocols::constraint_generator::MetalContactsConstraintGenerator::get_constrain_to_closest ( ) const

References constrain_to_closest_.

◆ get_contact_resnum_string()

std::string protocols::constraint_generator::MetalContactsConstraintGenerator::get_contact_resnum_string ( ) const

◆ get_contact_resnums()

void protocols::constraint_generator::MetalContactsConstraintGenerator::get_contact_resnums ( core::pose::Pose const &  pose,
std::set< core::Size > &  output 
) const
private

Uses private data to compute contact residue numbers based on selector/resnum string and pose; inserts them into the provided set.

References contact_resnum_string_, contact_selector_, core::pose::get_resnum_list(), core::pose::Pose::total_residue(), protocols::constraint_generator::TR(), and use_contact_selector_.

Referenced by apply().

◆ get_contact_selector()

core::select::residue_selector::ResidueSelectorCOP protocols::constraint_generator::MetalContactsConstraintGenerator::get_contact_selector ( ) const

References contact_selector_.

◆ get_dist_cutoff_multiplier()

core::Real protocols::constraint_generator::MetalContactsConstraintGenerator::get_dist_cutoff_multiplier ( ) const

◆ get_ideal_angle_about_contact()

utility::vector1< core::Real > protocols::constraint_generator::MetalContactsConstraintGenerator::get_ideal_angle_about_contact ( ) const

◆ get_ideal_angle_about_metal()

utility::vector1< core::Real > protocols::constraint_generator::MetalContactsConstraintGenerator::get_ideal_angle_about_metal ( ) const

◆ get_ideal_dihedral_3()

utility::vector1< core::Real > protocols::constraint_generator::MetalContactsConstraintGenerator::get_ideal_dihedral_3 ( ) const

References ideal_dihedral_3_.

◆ get_ideal_dihedral_about_contact()

utility::vector1< core::Real > protocols::constraint_generator::MetalContactsConstraintGenerator::get_ideal_dihedral_about_contact ( ) const

◆ get_ideal_dihedral_about_metal()

utility::vector1< core::Real > protocols::constraint_generator::MetalContactsConstraintGenerator::get_ideal_dihedral_about_metal ( ) const

◆ get_ideal_distance()

core::Real protocols::constraint_generator::MetalContactsConstraintGenerator::get_ideal_distance ( ) const

References ideal_distance_.

◆ get_ligand_atom_name()

std::string protocols::constraint_generator::MetalContactsConstraintGenerator::get_ligand_atom_name ( ) const

References ligand_atom_name_.

◆ get_ligand_resnum()

core::Size protocols::constraint_generator::MetalContactsConstraintGenerator::get_ligand_resnum ( core::pose::Pose const &  pose) const
private

Uses private data to compute ligand resnums based on selector/resnum string and pose.

References ligand_resnum_string_, ligand_selector_, core::pose::parse_resnum(), core::pose::Pose::total_residue(), and use_ligand_selector_.

Referenced by apply().

◆ get_ligand_resnum_string()

std::string protocols::constraint_generator::MetalContactsConstraintGenerator::get_ligand_resnum_string ( ) const

References ligand_resnum_string_.

◆ get_ligand_selector()

core::select::residue_selector::ResidueSelectorCOP protocols::constraint_generator::MetalContactsConstraintGenerator::get_ligand_selector ( ) const

References ligand_selector_.

◆ get_score_against_internal_contacts()

bool protocols::constraint_generator::MetalContactsConstraintGenerator::get_score_against_internal_contacts ( ) const

◆ get_use_contact_selector()

bool protocols::constraint_generator::MetalContactsConstraintGenerator::get_use_contact_selector ( ) const

References use_contact_selector_.

◆ get_use_ligand_selector()

bool protocols::constraint_generator::MetalContactsConstraintGenerator::get_use_ligand_selector ( ) const

References use_ligand_selector_.

◆ parse_tag()

void protocols::constraint_generator::MetalContactsConstraintGenerator::parse_tag ( utility::tag::TagCOP  tag,
basic::datacache::DataMap data 
)
overrideprotectedvirtual

◆ provide_citation_info()

void protocols::constraint_generator::MetalContactsConstraintGenerator::provide_citation_info ( basic::citation_manager::CitationCollectionList &  citations) const
overridevirtual

Provide citations to the passed CitationCollectionList. This allows the constraint generator to provide citations for itself and for any modules that it invokes.

Cites Sharon Guffy.

Author
Vikram K. Mulligan (vmull.nosp@m.igan.nosp@m.@flat.nosp@m.iron.nosp@m.insti.nosp@m.tute.nosp@m..org).

Reimplemented from protocols::constraint_generator::ConstraintGenerator.

References class_name().

◆ provide_xml_schema()

void protocols::constraint_generator::MetalContactsConstraintGenerator::provide_xml_schema ( utility::tag::XMLSchemaDefinition &  xsd)
static

◆ set_base_atom_name()

void protocols::constraint_generator::MetalContactsConstraintGenerator::set_base_atom_name ( std::string  setting)

References base_atom_name_.

◆ set_base_base_atom_name()

void protocols::constraint_generator::MetalContactsConstraintGenerator::set_base_base_atom_name ( std::string  setting)

References base_base_atom_name_.

◆ set_constrain_to_closest()

void protocols::constraint_generator::MetalContactsConstraintGenerator::set_constrain_to_closest ( bool  setting)

References constrain_to_closest_.

◆ set_contact_resnum_string()

void protocols::constraint_generator::MetalContactsConstraintGenerator::set_contact_resnum_string ( std::string  setting)

◆ set_contact_selector()

void protocols::constraint_generator::MetalContactsConstraintGenerator::set_contact_selector ( core::select::residue_selector::ResidueSelectorCOP  setting)

References contact_selector_.

◆ set_dist_cutoff_multiplier()

void protocols::constraint_generator::MetalContactsConstraintGenerator::set_dist_cutoff_multiplier ( core::Real  setting)

◆ set_ideal_angle_about_contact()

void protocols::constraint_generator::MetalContactsConstraintGenerator::set_ideal_angle_about_contact ( utility::vector1< core::Real setting)

◆ set_ideal_angle_about_metal()

void protocols::constraint_generator::MetalContactsConstraintGenerator::set_ideal_angle_about_metal ( utility::vector1< core::Real setting)

◆ set_ideal_dihedral_3()

void protocols::constraint_generator::MetalContactsConstraintGenerator::set_ideal_dihedral_3 ( utility::vector1< core::Real setting)

References ideal_dihedral_3_.

◆ set_ideal_dihedral_about_contact()

void protocols::constraint_generator::MetalContactsConstraintGenerator::set_ideal_dihedral_about_contact ( utility::vector1< core::Real setting)

◆ set_ideal_dihedral_about_metal()

void protocols::constraint_generator::MetalContactsConstraintGenerator::set_ideal_dihedral_about_metal ( utility::vector1< core::Real setting)

◆ set_ideal_distance()

void protocols::constraint_generator::MetalContactsConstraintGenerator::set_ideal_distance ( core::Real  setting)

References ideal_distance_.

◆ set_ligand_atom_name()

void protocols::constraint_generator::MetalContactsConstraintGenerator::set_ligand_atom_name ( std::string  setting)

References ligand_atom_name_.

◆ set_ligand_resnum_string()

void protocols::constraint_generator::MetalContactsConstraintGenerator::set_ligand_resnum_string ( std::string  setting)

References ligand_resnum_string_.

◆ set_ligand_selector()

void protocols::constraint_generator::MetalContactsConstraintGenerator::set_ligand_selector ( core::select::residue_selector::ResidueSelectorCOP  setting)

References ligand_selector_.

◆ set_score_against_internal_contacts()

void protocols::constraint_generator::MetalContactsConstraintGenerator::set_score_against_internal_contacts ( bool  setting)

◆ set_use_contact_selector()

void protocols::constraint_generator::MetalContactsConstraintGenerator::set_use_contact_selector ( bool  setting)

References use_contact_selector_.

◆ set_use_ligand_selector()

void protocols::constraint_generator::MetalContactsConstraintGenerator::set_use_ligand_selector ( bool  setting)

References use_ligand_selector_.

Member Data Documentation

◆ base_atom_name_

std::string protocols::constraint_generator::MetalContactsConstraintGenerator::base_atom_name_ =""
private

◆ base_base_atom_name_

std::string protocols::constraint_generator::MetalContactsConstraintGenerator::base_base_atom_name_ =""
private

◆ constrain_to_closest_

bool protocols::constraint_generator::MetalContactsConstraintGenerator::constrain_to_closest_ =true
private

◆ contact_resnum_string_

std::string protocols::constraint_generator::MetalContactsConstraintGenerator::contact_resnum_string_ =""
private

◆ contact_selector_

core::select::residue_selector::ResidueSelectorCOP protocols::constraint_generator::MetalContactsConstraintGenerator::contact_selector_
private

◆ dist_cutoff_multiplier_

core::Real protocols::constraint_generator::MetalContactsConstraintGenerator::dist_cutoff_multiplier_ =1.0
private

◆ ideal_angle_about_contact_

utility::vector1< core::Real > protocols::constraint_generator::MetalContactsConstraintGenerator::ideal_angle_about_contact_
private

◆ ideal_angle_about_metal_

utility::vector1< core::Real > protocols::constraint_generator::MetalContactsConstraintGenerator::ideal_angle_about_metal_
private

◆ ideal_dihedral_3_

utility::vector1< core::Real > protocols::constraint_generator::MetalContactsConstraintGenerator::ideal_dihedral_3_
private

◆ ideal_dihedral_about_contact_

utility::vector1< core::Real > protocols::constraint_generator::MetalContactsConstraintGenerator::ideal_dihedral_about_contact_
private

◆ ideal_dihedral_about_metal_

utility::vector1< core::Real > protocols::constraint_generator::MetalContactsConstraintGenerator::ideal_dihedral_about_metal_
private

◆ ideal_distance_

core::Real protocols::constraint_generator::MetalContactsConstraintGenerator::ideal_distance_ =-1.0
private

◆ ligand_atom_name_

std::string protocols::constraint_generator::MetalContactsConstraintGenerator::ligand_atom_name_ =""
private

◆ ligand_resnum_string_

std::string protocols::constraint_generator::MetalContactsConstraintGenerator::ligand_resnum_string_ =""
private

◆ ligand_selector_

core::select::residue_selector::ResidueSelectorCOP protocols::constraint_generator::MetalContactsConstraintGenerator::ligand_selector_
private

◆ score_against_internal_contacts_

bool protocols::constraint_generator::MetalContactsConstraintGenerator::score_against_internal_contacts_ =false
private

◆ use_contact_selector_

bool protocols::constraint_generator::MetalContactsConstraintGenerator::use_contact_selector_ =false
private

◆ use_ligand_selector_

bool protocols::constraint_generator::MetalContactsConstraintGenerator::use_ligand_selector_ =false
private

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