|
Rosetta
|
A cst generator that creates Dihedral constraints for specified residues using a residue selector. More...
#include <DihedralConstraintGenerator.hh>

Public Member Functions | |
| DihedralConstraintGenerator () | |
| ~DihedralConstraintGenerator () override | |
| 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... | |
| void | set_residue_selector (core::select::residue_selector::ResidueSelectorCOP selector) |
| void | set_torsion_type (core::id::MainchainTorsionType torsion) |
| Set the torsion type we will be working with. More... | |
| void | set_custom_dihedral (utility::vector1< core::id::AtomID > const &ids) |
| MANUALLY set the dihedrals we will work with. IGNORES Residue selector, but allows setting dihedrals for ANY torsion. More... | |
| void | set_sd_degree (core::Real sd_degree) |
| Set the standard deviation for the dihedral constraint. Default is 16.0. This which was found by taking the mean SD of all dihedral angles of either PHI or PSI for each North CDR Cluster. This is a fairly tight constraint and allows a bit of movement while not changing overall struture much. More... | |
| void | set_use_custom_dihedral_angle (bool use_custom_dihedral_angle) |
| bool | get_use_custom_dihedral_angle () const |
| void | set_dihedral_angle (core::Real dihedral_angle) |
| Set the desired dihedral angle in degrees. This is not compatible if you use_custom_dihedral_angle set_custom_dihedral. If you do call this function in addition to setting a custom dihedral, no constraints will be applied and an error will be returned. More... | |
| core::Real | get_dihedral_angle () const |
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 Attributes | |
| core::id::MainchainTorsionType | torsion_ |
| core::Real | sd_ = 16.0 |
| core::Real | dihedral_angle_ = 0.0 |
| core::select::residue_selector::ResidueSelectorCOP | selector_ = nullptr |
| std::string | parsed_resnums_ = "" |
| std::string | parsed_atoms_ = "" |
| bool | parsed_custom_torsion_ = false |
| bool | use_custom_dihedral_angle_ = false |
| utility::vector1< core::id::AtomID > | custom_torsion_ |
A cst generator that creates Dihedral constraints for specified residues using a residue selector.
Uses CircularHarmonic constraints, since CircularGaussian func does not exist. By default, works on Protein and carbohydrate BB dihedrals. You must set either the set of atom names or phi/psi/omega. Will only work on ONE type of dihedral angle.
| protocols::constraint_generator::DihedralConstraintGenerator::DihedralConstraintGenerator | ( | ) |
|
override |
|
overridevirtual |
generates constraints and adds them to the pose
Implements protocols::constraint_generator::ConstraintGenerator.
References core::id::BB, core::pose::Pose::conformation(), custom_torsion_, dihedral_angle_, core::conformation::carbohydrates::get_glycosidic_torsion(), core::conformation::carbohydrates::get_reference_atoms(), core::conformation::Conformation::get_torsion_angle_atom_ids(), core::chemical::ResidueType::is_carbohydrate(), protocols::constraint_generator::parse_custom_torsion(), parsed_atoms_, parsed_custom_torsion_, parsed_resnums_, core::pose::Pose::residue(), core::pose::Pose::residue_type(), sd_, core::select::residue_selector::selection_positions(), selector_, torsion_, core::conformation::Conformation::torsion_angle(), protocols::constraint_generator::TR(), use_custom_dihedral_angle_, and core::conformation::Residue::xyz().
|
static |
|
overridevirtual |
| core::Real protocols::constraint_generator::DihedralConstraintGenerator::get_dihedral_angle | ( | ) | const |
References dihedral_angle_.
| bool protocols::constraint_generator::DihedralConstraintGenerator::get_use_custom_dihedral_angle | ( | ) | const |
References use_custom_dihedral_angle_.
|
overrideprotectedvirtual |
called by parse_my_tag – should not be used directly
Implements protocols::constraint_generator::ConstraintGenerator.
References core::select::residue_selector::parse_residue_selector(), protocols::constraint_generator::parse_torsion_type(), parsed_atoms_, parsed_custom_torsion_, parsed_resnums_, sd_, set_dihedral_angle(), set_residue_selector(), set_sd_degree(), and set_torsion_type().
|
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 Jared Adolf-Bryfogle.
Reimplemented from protocols::constraint_generator::ConstraintGenerator.
References class_name().
|
static |
References protocols::rosetta_scripts::attributes_for_parse_residue_selector(), class_name(), and protocols::constraint_generator::ConstraintGeneratorFactory::xsd_constraint_generator_type_definition_w_attributes().
Referenced by protocols::constraint_generator::DihedralConstraintGeneratorCreator::provide_xml_schema().
| void protocols::constraint_generator::DihedralConstraintGenerator::set_custom_dihedral | ( | utility::vector1< core::id::AtomID > const & | ids | ) |
MANUALLY set the dihedrals we will work with. IGNORES Residue selector, but allows setting dihedrals for ANY torsion.
References custom_torsion_.
| void protocols::constraint_generator::DihedralConstraintGenerator::set_dihedral_angle | ( | core::Real | dihedral_angle | ) |
Set the desired dihedral angle in degrees. This is not compatible if you use_custom_dihedral_angle set_custom_dihedral. If you do call this function in addition to setting a custom dihedral, no constraints will be applied and an error will be returned.
References dihedral_angle_, and use_custom_dihedral_angle_.
Referenced by parse_tag().
| void protocols::constraint_generator::DihedralConstraintGenerator::set_residue_selector | ( | core::select::residue_selector::ResidueSelectorCOP | selector | ) |
References selector_.
Referenced by parse_tag().
| void protocols::constraint_generator::DihedralConstraintGenerator::set_sd_degree | ( | core::Real | sd_degree | ) |
Set the standard deviation for the dihedral constraint. Default is 16.0. This which was found by taking the mean SD of all dihedral angles of either PHI or PSI for each North CDR Cluster. This is a fairly tight constraint and allows a bit of movement while not changing overall struture much.
Set this in Degrees.
References sd_.
Referenced by parse_tag().
| void protocols::constraint_generator::DihedralConstraintGenerator::set_torsion_type | ( | core::id::MainchainTorsionType | torsion | ) |
Set the torsion type we will be working with.
References custom_torsion_, and torsion_.
Referenced by parse_tag().
| void protocols::constraint_generator::DihedralConstraintGenerator::set_use_custom_dihedral_angle | ( | bool | use_custom_dihedral_angle | ) |
References use_custom_dihedral_angle_.
|
private |
Referenced by apply(), set_custom_dihedral(), and set_torsion_type().
|
private |
Referenced by apply(), get_dihedral_angle(), and set_dihedral_angle().
|
private |
Referenced by apply(), and parse_tag().
|
private |
Referenced by apply(), and parse_tag().
|
private |
Referenced by apply(), and parse_tag().
|
private |
Referenced by apply(), parse_tag(), and set_sd_degree().
|
private |
Referenced by apply(), and set_residue_selector().
|
private |
Referenced by apply(), and set_torsion_type().
|
private |
Referenced by apply(), get_use_custom_dihedral_angle(), set_dihedral_angle(), and set_use_custom_dihedral_angle().