Rosetta
|
A derived class of the CrosslinkerMoverHelper base class, used to set up the 1,4-bis(bromomethyl)benzene (BBMB) cross-linker. More...
#include <1_4_BBMB_Helper.hh>
Public Member Functions | |
One_Four_BBMB_Helper () | |
Default constructor. More... | |
One_Four_BBMB_Helper (One_Four_BBMB_Helper const &src) | |
Copy constructor. More... | |
~One_Four_BBMB_Helper () override | |
Destructor (important for properly forward-declaring smart-pointer members) More... | |
void | provide_citation_info (basic::citation_manager::CitationCollectionList &citations) const override |
Provide an opportunity to provide a citation for this crosslinker type. More... | |
void | add_linker_asymmetric (core::pose::Pose &pose, core::select::residue_selector::ResidueSubset const &selection) const override |
Given a pose and a selection of exactly two residues, add the BBMB linker, align it crudely to the selected residues, and set up covalent bonds. More... | |
void | add_linker_bonds_asymmetric (core::pose::Pose &pose, utility::vector1< core::Size > const &res_indices, core::Size const linker_index) const override |
Given a pose and a linker, add bonds between the linker and the residues that coordinate the linker. More... | |
void | add_linker_symmetric (core::pose::Pose &pose, core::select::residue_selector::ResidueSubset const &selection) const override |
Given a pose and a selection of exactly two residues, add the BBMB linker, align it crudely to the selected residues, and set up covalent bonds. More... | |
void | add_linker_bonds_symmetric (core::pose::Pose &pose, core::Size const res1, core::Size const linker_index1, core::Size const linker_index2) const override |
Given a pose and a linker, add bonds between the BBMB linker and the residues that coordinate the linker. More... | |
void | add_linker_constraints_asymmetric (core::pose::Pose &pose, core::select::residue_selector::ResidueSubset const &selection) const override |
Given a selection of exactly two residues that have already been connected to a 1,4-bis(bromomethyl)benzene crosslinker, add constraints for the crosslinker. More... | |
void | add_linker_constraints_symmetric (core::pose::Pose &pose, core::select::residue_selector::ResidueSubset const &selection, bool const linker_was_added) const override |
Given a selection of exactly two residues that have already been connected to a 1,4-bis(bromomethyl)benzene crosslinker, add constraints for the crosslinker. This version is for symmetric poses. More... | |
core::Size | get_linker_index_asymmetric (core::pose::Pose const &pose, utility::vector1< core::Size > const &res_indices) const override |
Given indices of two cysteine residues that are already linked to a BBMB, get the index of the BBMB residue. More... | |
void | get_linker_indices_symmetric (core::pose::Pose const &pose, utility::vector1< core::Size > const &res_indices, utility::vector1< core::Size > &linker_indices) const override |
Given indices of two cysteine residues that are already linked to pieces of a linker, get of the indices of the symmetric pieces of the linker. More... | |
bool | filter_by_sidechain_distance_asymmetric (core::pose::Pose const &pose, core::select::residue_selector::ResidueSubset const &selection, core::Real const &filter_multiplier) const override |
Given a pose with residues selected to be linked by a 1,4-bis(bromomethyl)benzene crosslinker, determine whether the residues are too far apart. More... | |
bool | filter_by_sidechain_distance_symmetric (core::pose::Pose const &pose, core::select::residue_selector::ResidueSubset const &selection, core::Real const &filter_multiplier) const override |
Given a pose with residues selected to be linked by a 1,4-bis(bromomethyl)benzene crosslinker, determine whether the residues are too far apart. This version is for symmetric poses. More... | |
bool | filter_by_constraints_energy_asymmetric (core::pose::Pose const &pose, core::select::residue_selector::ResidueSubset const &selection, core::Real const &filter_multiplier) const override |
Determine whether the sidechain-crosslinker system has too high a constraints score. More... | |
bool | filter_by_constraints_energy_symmetric (core::pose::Pose const &pose, core::select::residue_selector::ResidueSubset const &selection, bool const linker_was_added, core::Real const &filter_multiplier) const override |
Determine whether the sidechain-crosslinker system has too high a constraints score. This version is for symmetric poses. More... | |
bool | helper_adds_linker_residue () const override |
Does this CrosslinkerMoverHelper add a residue for the linker? More... | |
![]() | |
CrosslinkerMoverHelper () | |
Default constructor. More... | |
CrosslinkerMoverHelper (CrosslinkerMoverHelper const &src) | |
Copy constructor. More... | |
~CrosslinkerMoverHelper () override | |
Destructor (important for properly forward-declaring smart-pointer members) More... | |
void | set_symmetry (char const symm_type_in, core::Size const symm_count_in) |
Set the symmetry for this crosslinker helper. More... | |
virtual void | get_sidechain_indices (core::select::residue_selector::ResidueSubset const &selection, utility::vector1< core::Size > &res_indices) const |
Given a ResidueSubset with N residues selected, pull out the indices into a vector. More... | |
virtual bool | selection_is_symmetric (core::select::residue_selector::ResidueSubset const &selection, core::pose::Pose const &pose, core::Size const expected_subunit_count) const |
Determine whether a selection is symmetric. More... | |
virtual void | pre_relax_round_update_steps (core::pose::Pose &pose, core::select::residue_selector::ResidueSubset const &selection, bool const whole_structure, bool const symmetric, bool const linker_was_added) const |
Optional steps that the helper can apply before every relaxation round. More... | |
virtual void | post_relax_round_update_steps (core::pose::Pose &pose, core::select::residue_selector::ResidueSubset const &selection, bool const whole_structure, bool const symmetric, bool const linker_was_added) const |
Optional steps that the helper can apply after every relaxation round. More... | |
core::Size | symm_subunits_expected () const |
Get the number of expected symmetry subunits, given the symmetry type. More... | |
Private Member Functions | |
void | confirm_symmetry (std::string const &errmsg_header) const |
Confirm that the symmetry type is correct. More... | |
Additional Inherited Members | |
![]() | |
virtual bool | filter_by_constraints_energy (core::pose::Pose const &pose, core::select::residue_selector::ResidueSubset const &selection, bool const symmetric, bool const linker_was_added, core::Real const &filter_multiplier) const |
Determine whether the sidechain-crosslinker system has too high a constraints score. Both the symmetric and asymmetric versions call this code. More... | |
char | symm_type () const |
Get the symmetry type. More... | |
core::Size | symm_count () const |
Get the symmetry copy count. For example, symm_type_='C' and symm_count_=3 would specify C3 symmetry. A value of 1 means asymmetry. 1 by default. More... | |
A derived class of the CrosslinkerMoverHelper base class, used to set up the 1,4-bis(bromomethyl)benzene (BBMB) cross-linker.
|
default |
Default constructor.
Constructors ///.
Default constructor
|
default |
Copy constructor.
|
overridedefault |
Destructor (important for properly forward-declaring smart-pointer members)
|
overridevirtual |
Given a pose and a selection of exactly two residues, add the BBMB linker, align it crudely to the selected residues, and set up covalent bonds.
Implements protocols::cyclic_peptide::crosslinker::CrosslinkerMoverHelper.
References core::chemical::ResidueTypeBase::aa(), core::chemical::aa_cys, core::chemical::aa_dcs, add_linker_bonds_asymmetric(), core::pose::Pose::append_residue_by_jump(), protocols::simple_moves::ModifyVariantTypeMover::apply(), core::chemical::ResidueType::atom_index(), core::conformation::ResidueFactory::create_residue(), core::chemical::FA_STANDARD, protocols::cyclic_peptide::crosslinker::CrosslinkerMoverHelper::get_sidechain_indices(), core::pose::Pose::residue(), core::pose::Pose::residue_type(), protocols::simple_moves::ModifyVariantTypeMover::set_additional_type_to_add(), protocols::simple_moves::ModifyVariantTypeMover::set_residue_selector(), core::scoring::superimpose_pose(), and core::pose::Pose::total_residue().
|
overridevirtual |
Given a pose and a linker, add bonds between the linker and the residues that coordinate the linker.
Called by add_linker_asymmetric(). Version for asymmetric poses.
Implements protocols::cyclic_peptide::crosslinker::CrosslinkerMoverHelper.
References protocols::simple_moves::DeclareBond::apply(), and protocols::simple_moves::DeclareBond::set().
Referenced by add_linker_asymmetric().
|
overridevirtual |
Given a pose and a linker, add bonds between the BBMB linker and the residues that coordinate the linker.
Called by add_linker_symmetric(). Version for symmetric poses.
Implements protocols::cyclic_peptide::crosslinker::CrosslinkerMoverHelper.
References protocols::simple_moves::DeclareBond::apply(), confirm_symmetry(), and protocols::simple_moves::DeclareBond::set().
Referenced by add_linker_symmetric().
|
overridevirtual |
Given a selection of exactly two residues that have already been connected to a 1,4-bis(bromomethyl)benzene crosslinker, add constraints for the crosslinker.
Implements protocols::cyclic_peptide::crosslinker::CrosslinkerMoverHelper.
References protocols::cyclic_peptide::CreateDistanceConstraint::apply(), protocols::cyclic_peptide::CreateTorsionConstraint::apply(), get_linker_index_asymmetric(), protocols::cyclic_peptide::crosslinker::CrosslinkerMoverHelper::get_sidechain_indices(), protocols::cyclic_peptide::CreateTorsionConstraint::set(), protocols::cyclic_peptide::CreateDistanceConstraint::set(), and protocols::cyclic_peptide::TR().
|
overridevirtual |
Given a selection of exactly two residues that have already been connected to a 1,4-bis(bromomethyl)benzene crosslinker, add constraints for the crosslinker. This version is for symmetric poses.
Implements protocols::cyclic_peptide::crosslinker::CrosslinkerMoverHelper.
References protocols::cyclic_peptide::CreateDistanceConstraint::apply(), protocols::cyclic_peptide::CreateTorsionConstraint::apply(), confirm_symmetry(), get_linker_indices_symmetric(), protocols::cyclic_peptide::crosslinker::CrosslinkerMoverHelper::get_sidechain_indices(), protocols::hybridization::r1, protocols::cyclic_peptide::CreateTorsionConstraint::set(), protocols::cyclic_peptide::CreateDistanceConstraint::set(), and protocols::cyclic_peptide::TR().
|
overridevirtual |
Given a pose and a selection of exactly two residues, add the BBMB linker, align it crudely to the selected residues, and set up covalent bonds.
Version for symmetric poses.
Implements protocols::cyclic_peptide::crosslinker::CrosslinkerMoverHelper.
References core::chemical::ResidueTypeBase::aa(), core::chemical::aa_cys, core::chemical::aa_dcs, add_linker_bonds_symmetric(), core::pose::Pose::append_residue_by_jump(), protocols::simple_moves::ModifyVariantTypeMover::apply(), core::chemical::ResidueType::atom_index(), confirm_symmetry(), core::pose::Pose::conformation_ptr(), core::conformation::ResidueFactory::create_residue(), core::chemical::FA_STANDARD, protocols::cyclic_peptide::crosslinker::CrosslinkerMoverHelper::get_sidechain_indices(), core::pose::Pose::residue(), core::pose::Pose::residue_type(), protocols::simple_moves::ModifyVariantTypeMover::set_additional_type_to_add(), protocols::simple_moves::ModifyVariantTypeMover::set_residue_selector(), and core::scoring::superimpose_pose().
|
private |
Confirm that the symmetry type is correct.
Throws with an error message if is it is not.
References protocols::cyclic_peptide::crosslinker::CrosslinkerMoverHelper::symm_count(), and protocols::cyclic_peptide::crosslinker::CrosslinkerMoverHelper::symm_type().
Referenced by add_linker_bonds_symmetric(), add_linker_constraints_symmetric(), add_linker_symmetric(), filter_by_constraints_energy_symmetric(), filter_by_sidechain_distance_symmetric(), and get_linker_indices_symmetric().
|
overridevirtual |
Determine whether the sidechain-crosslinker system has too high a constraints score.
Returns TRUE for failure (too high a constraints score) and FALSE for success.
Returns TRUE for failure (too high a constraints score) and FALSE for success.
Implements protocols::cyclic_peptide::crosslinker::CrosslinkerMoverHelper.
References protocols::cyclic_peptide::crosslinker::CrosslinkerMoverHelper::filter_by_constraints_energy().
|
overridevirtual |
Determine whether the sidechain-crosslinker system has too high a constraints score. This version is for symmetric poses.
Returns TRUE for failure (too high a constraints score) and FALSE for success.
Returns TRUE for failure (too high a constraints score) and FALSE for success.
Implements protocols::cyclic_peptide::crosslinker::CrosslinkerMoverHelper.
References confirm_symmetry(), and protocols::cyclic_peptide::crosslinker::CrosslinkerMoverHelper::filter_by_constraints_energy().
|
overridevirtual |
Given a pose with residues selected to be linked by a 1,4-bis(bromomethyl)benzene crosslinker, determine whether the residues are too far apart.
Returns TRUE for failure (residues too far apart) and FALSE for success.
Returns TRUE for failure (residues too far apart) and FALSE for success.
Implements protocols::cyclic_peptide::crosslinker::CrosslinkerMoverHelper.
References core::chemical::ResidueTypeBase::aa(), core::chemical::aa_cys, core::chemical::aa_dcs, protocols::cyclic_peptide::crosslinker::CrosslinkerMoverHelper::get_sidechain_indices(), core::pose::Pose::residue(), core::pose::Pose::residue_type(), protocols::cyclic_peptide::TR(), and core::conformation::Residue::xyz().
|
overridevirtual |
Given a pose with residues selected to be linked by a 1,4-bis(bromomethyl)benzene crosslinker, determine whether the residues are too far apart. This version is for symmetric poses.
Returns TRUE for failure (residues too far apart) and FALSE for success.
Returns TRUE for failure (residues too far apart) and FALSE for success.
Implements protocols::cyclic_peptide::crosslinker::CrosslinkerMoverHelper.
References core::chemical::ResidueTypeBase::aa(), core::chemical::aa_cys, core::chemical::aa_dcs, confirm_symmetry(), protocols::cyclic_peptide::crosslinker::CrosslinkerMoverHelper::get_sidechain_indices(), core::pose::Pose::residue(), core::pose::Pose::residue_type(), protocols::cyclic_peptide::TR(), and core::conformation::Residue::xyz().
|
overridevirtual |
Given indices of two cysteine residues that are already linked to a BBMB, get the index of the BBMB residue.
Throws an error if the two cysteines are not all linked to the same BBMB residue.
Implements protocols::cyclic_peptide::crosslinker::CrosslinkerMoverHelper.
References core::conformation::Residue::n_possible_residue_connections(), core::conformation::Residue::name3(), core::pose::Pose::residue(), and core::conformation::Residue::residue_connection_partner().
Referenced by add_linker_constraints_asymmetric().
|
overridevirtual |
Given indices of two cysteine residues that are already linked to pieces of a linker, get of the indices of the symmetric pieces of the linker.
Throws an error if a residue is not linked to something.
Throws an error if a residue is not linked to something. Must be defined by derived classes.
Implements protocols::cyclic_peptide::crosslinker::CrosslinkerMoverHelper.
References confirm_symmetry(), core::conformation::Residue::n_possible_residue_connections(), core::conformation::Residue::name3(), core::pose::Pose::residue(), and core::conformation::Residue::residue_connection_partner().
Referenced by add_linker_constraints_symmetric().
|
inlineoverridevirtual |
Does this CrosslinkerMoverHelper add a residue for the linker?
Yes, it does.
Implements protocols::cyclic_peptide::crosslinker::CrosslinkerMoverHelper.
|
overridevirtual |
Provide an opportunity to provide a citation for this crosslinker type.
Public Methods ///.
The base class implementation does nothing. This override indicates that this helper is unpublished.
Provide an opportunity to provide a citation for this crosslinker type.
The base class implementation does nothing. This override indicates that this helper is unpublished.
Reimplemented from protocols::cyclic_peptide::crosslinker::CrosslinkerMoverHelper.