![]() |
Rosetta
2021.16
|
#include <RandomTorsionMover.hh>

Public Member Functions | |
| RandomTorsionMover () | |
| RandomTorsionMover (core::select::movemap::MoveMapFactoryCOP movemap_factory, core::Real max_angle, core::Size num_moves) | |
| RandomTorsionMover (core::kinematics::MoveMapOP move_map, core::Real max_angle, core::Size num_moves) | |
| RandomTorsionMover (RandomTorsionMover const &other) | |
| ~RandomTorsionMover () override | |
| void | movemap_factory (core::select::movemap::MoveMapFactoryCOP new_movemap_factory) |
| void | apply (core::pose::Pose &pose) override |
| Main Method. More... | |
| protocols::moves::MoverOP | clone () const override |
| Return a clone of the Mover object. More... | |
| protocols::moves::MoverOP | fresh_instance () const override |
| Generates a new Mover object freshly created with the default ctor. More... | |
| void | parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &) override |
| Called by MoverFactory when constructing new Movers. Takes care of the specific mover's parsing. More... | |
| std::string | get_name () const override |
| RandomTorsionMoverCreator interface, name of the mover. More... | |
Public Member Functions inherited from protocols::moves::Mover | |
| Mover () | |
| virtual MoverOP | create () |
| MoverCOP | get_self_ptr () const |
| MoverOP | get_self_ptr () |
| MoverCAP | get_self_weak_ptr () const |
| MoverAP | get_self_weak_ptr () |
| Mover (std::string const &type_name) | |
| sets the type for a mover; name_ has been removed (2010/05/14) More... | |
| virtual void | test_move (Pose &pose) |
| : Unit test support function. Apply one move to a given pose. Allows extra test specific functions to be called before applying More... | |
| virtual bool | reinitialize_for_each_job () const |
| Inform the Job Distributor (August '08 vintage) whether this object needs to be freshly regenerated on each use. More... | |
| virtual bool | reinitialize_for_new_input () const |
| Inform the Job Distributor (August '08 vintage) whether this object needs to be regenerated when the input pose is about to change, (for example, if the Mover has special code on the first apply() that is only valid for that one input pose). More... | |
| MoverStatus | get_last_move_status () const |
| end parser interface, start Job Distributor interface///////////// More... | |
| void | reset_status () |
| resets status to SUCCESS, meant to be used before an apply(). The job distributor (august 08 vintage) uses this to ensure non-accumulation of status across apply()s. More... | |
| virtual core::pose::PoseOP | get_additional_output () |
| Mechanism by which a mover may return multiple output poses from a single input pose. More... | |
| void | set_type (std::string const &setting) |
| Set the 'type' string. More... | |
| std::string | get_type () const |
| void | type (const std::string &type_in) |
| Set the 'type' string. More... | |
| std::string const & | type () const |
| Get the set 'type' string. More... | |
| virtual void | set_input_pose (PoseCOP pose) |
| setter for poses contained for rms More... | |
| virtual void | set_native_pose (PoseCOP pose) |
| setter for native poses contained for rms -— we should get rid of this method? it is widely used, but a bit unsafe More... | |
| PoseCOP | get_input_pose () const |
| PoseCOP | get_native_pose () const |
| void | set_current_job (protocols::jobdist::BasicJobCOP job) |
| jobdist::BasicJobCOP | get_current_job () const |
| virtual void | set_current_tag (std::string const &new_tag) |
| std::string | get_current_tag () const |
| A tag is a unique identifier used to identify structures produced by this Mover. get_current_tag() returns the tag, and set_current_tag( std::string tag ) sets the tag. This functionality is not intended for use with the 2008 job distributor. More... | |
| virtual void | show (std::ostream &output=std::cout) const |
| Outputs details about the Mover, including current settings. More... | |
| virtual core::Real | last_proposal_density_ratio () |
| virtual void | clear_info () |
| Strings container can be used to return miscellaneous info (as std::string) from a mover, such as notes about the results of apply(). The job distributor (Apr 09 vintage) will check this function to see if your protocol wants to add string info to the Job that ran this mover. One way this can be useful is that later, a JobOutputter may include/append this info to an output file. More... | |
| virtual Strings & | info () |
| non-const accessor More... | |
| virtual Strings const & | info () const |
| const accessor More... | |
| virtual void | provide_citation_info (basic::citation_manager::CitationCollectionList &) const |
| Provide citations to the passed CitationCollectionList Subclasses should add the info for themselves and any other classes they use. More... | |
Static Public Member Functions | |
| static std::string | mover_name () |
| static void | provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd) |
Static Public Member Functions inherited from protocols::moves::Mover | |
| static std::string | name () |
| static void | register_options () |
| Overload this static method if you access options within the mover. More... | |
Protected Member Functions | |
| void | setup_torsion_list (core::pose::Pose &pose) |
| Look at all the bb torsions, make a list of the ones that can move I feel like there should be a better way to do this rather than having to hard code so much conectivity information about the residue and the peptide/peptoid checks. More... | |
| core::kinematics::MoveMapCOP | movemap (core::pose::Pose const &pose) |
Protected Member Functions inherited from protocols::moves::Mover | |
| void | set_last_move_status (MoverStatus status) |
| nonvirtual setter for MoverStatus last_status_. Protected means that only the mover itself will be able to change its own status. The job distributor (august 08 vintage) is aware of status set with this function and will do what the MoverStatus says. More... | |
Private Attributes | |
| core::select::movemap::MoveMapFactoryCOP | movemap_factory_ |
| core::kinematics::MoveMapOP | move_map_ |
| utility::vector1 < core::id::TorsionID > | torsion_id_list_ |
| core::Real | max_angle_ |
| core::Size | num_moves_ |
Additional Inherited Members | |
Public Types inherited from protocols::moves::Mover | |
| typedef utility::tag::TagCOP | TagCOP |
| typedef core::pose::Pose | Pose |
| typedef core::pose::PoseCOP | PoseCOP |
| typedef std::list< std::string > | Strings |
Simple class that randomly purturbs a random torsion selected from a movemap
| protocols::simple_moves::RandomTorsionMover::RandomTorsionMover | ( | ) |
| protocols::simple_moves::RandomTorsionMover::RandomTorsionMover | ( | core::select::movemap::MoveMapFactoryCOP | movemap_factory, |
| core::Real | max_angle, | ||
| core::Size | num_moves | ||
| ) |
| protocols::simple_moves::RandomTorsionMover::RandomTorsionMover | ( | core::kinematics::MoveMapOP | move_map, |
| core::Real | max_angle, | ||
| core::Size | num_moves | ||
| ) |
| protocols::simple_moves::RandomTorsionMover::RandomTorsionMover | ( | RandomTorsionMover const & | other | ) |
References move_map_.
|
overridedefault |
|
overridevirtual |
Main Method.
Implements protocols::moves::Mover.
References core::pose::Pose::conformation(), max_angle_, num_moves_, core::scoring::rg, core::conformation::Conformation::set_torsion(), setup_torsion_list(), core::conformation::Conformation::torsion(), and torsion_id_list_.
|
overridevirtual |
Return a clone of the Mover object.
clone is meant to return an OP'ed deep copy of this object. This really should be a pure virtual in the base class, but adding pure virtuals to Mover would massively disrupt the code. This default implementation crashes at runtime instead of compiletime if you try to call it. If this code is causing you problems, your Mover needs to override this function.
Reimplemented from protocols::moves::Mover.
|
overridevirtual |
Generates a new Mover object freshly created with the default ctor.
fresh_instance is meant to return a new object of this class, created with the default constructor. This really should be a pure virtual in the base class, but adding pure virtuals to Mover would massively disrupt the code. This default implementation crashes at runtime instead of compiletime if you try to call it. If this code is causing you problems, your Mover needs to override this function. This is used by the August 08 job distributor.
Reimplemented from protocols::moves::Mover.
|
overridevirtual |
RandomTorsionMoverCreator interface, name of the mover.
RandomTorsionMoverCreator interface, returns a unique key name to be used in xml file RandomTorsionMoverCreator interface, return a new instance
Implements protocols::moves::Mover.
References mover_name().
|
protected |
References move_map_, and movemap_factory_.
Referenced by setup_torsion_list().
|
inline |
References movemap_factory_.
Referenced by parse_my_tag().
|
static |
Referenced by get_name(), protocols::simple_moves::RandomTorsionMoverCreator::keyname(), and provide_xml_schema().
|
overridevirtual |
Called by MoverFactory when constructing new Movers. Takes care of the specific mover's parsing.
Some movers need not be parsed, so we shouldn't force people to reimplement this method. However, we should be chatty about the fact that someone is using a RosettaScripts interface to a mover which didn't define parse_my_tag()
Reimplemented from protocols::moves::Mover.
References max_angle_, movemap_factory(), num_moves_, and protocols::rosetta_scripts::parse_movemap_factory_legacy().
|
static |
|
protected |
Look at all the bb torsions, make a list of the ones that can move I feel like there should be a better way to do this rather than having to hard code so much conectivity information about the residue and the peptide/peptoid checks.
References core::id::BB, core::id::epsilon_torsion_pre_methylene_para_aramid(), core::id::epsilon_torsion_pre_methylene_post_methylene_meta_aramid(), core::id::epsilon_torsion_pre_methylene_post_methylene_para_aramid(), core::id::eta_torsion_pre_methylene_ortho_aramid(), core::chemical::ResidueType::is_aramid(), core::chemical::ResidueType::is_meta_aramid(), core::chemical::ResidueType::is_ortho_aramid(), core::chemical::ResidueType::is_para_aramid(), core::chemical::ResidueTypeBase::is_peptoid(), core::chemical::ResidueType::is_post_methylene_meta_aramid(), core::chemical::ResidueType::is_post_methylene_ortho_aramid(), core::chemical::ResidueType::is_post_methylene_para_aramid(), core::chemical::ResidueType::is_pre_methylene_meta_aramid(), core::chemical::ResidueType::is_pre_methylene_ortho_aramid(), core::chemical::ResidueType::is_pre_methylene_para_aramid(), core::chemical::ResidueType::is_pre_methylene_post_methylene_meta_aramid(), core::chemical::ResidueType::is_pre_methylene_post_methylene_ortho_aramid(), core::chemical::ResidueType::is_pre_methylene_post_methylene_para_aramid(), core::chemical::ResidueTypeBase::is_protein(), movemap(), core::id::omega_torsion(), core::id::omega_torsion_meta_aramid(), core::id::omega_torsion_ortho_aramid(), core::id::omega_torsion_para_aramid(), core::id::omega_torsion_post_methylene_meta_aramid(), core::id::omega_torsion_post_methylene_ortho_aramid(), core::id::omega_torsion_post_methylene_para_aramid(), core::id::omega_torsion_pre_methylene_meta_aramid(), core::id::omega_torsion_pre_methylene_ortho_aramid(), core::id::omega_torsion_pre_methylene_para_aramid(), core::id::omega_torsion_pre_methylene_post_methylene_meta_aramid(), core::id::omega_torsion_pre_methylene_post_methylene_ortho_aramid(), core::id::omega_torsion_pre_methylene_post_methylene_para_aramid(), core::id::phi_torsion(), core::id::phi_torsion_meta_aramid(), core::id::phi_torsion_ortho_aramid(), core::id::phi_torsion_para_aramid(), core::id::phi_torsion_post_methylene_meta_aramid(), core::id::phi_torsion_post_methylene_ortho_aramid(), core::id::phi_torsion_post_methylene_para_aramid(), core::id::phi_torsion_pre_methylene_meta_aramid(), core::id::phi_torsion_pre_methylene_ortho_aramid(), core::id::phi_torsion_pre_methylene_para_aramid(), core::id::phi_torsion_pre_methylene_post_methylene_meta_aramid(), core::id::phi_torsion_pre_methylene_post_methylene_ortho_aramid(), core::id::phi_torsion_pre_methylene_post_methylene_para_aramid(), core::id::psi_torsion(), core::id::psi_torsion_meta_aramid(), core::id::psi_torsion_ortho_aramid(), core::id::psi_torsion_para_aramid(), core::id::psi_torsion_post_methylene_meta_aramid(), core::id::psi_torsion_post_methylene_ortho_aramid(), core::id::psi_torsion_post_methylene_para_aramid(), core::id::psi_torsion_pre_methylene_meta_aramid(), core::id::psi_torsion_pre_methylene_ortho_aramid(), core::id::psi_torsion_pre_methylene_para_aramid(), core::id::psi_torsion_pre_methylene_post_methylene_meta_aramid(), core::id::psi_torsion_pre_methylene_post_methylene_ortho_aramid(), core::id::psi_torsion_pre_methylene_post_methylene_para_aramid(), core::pose::Pose::residue(), core::pose::Pose::residue_type(), core::pose::Pose::size(), core::id::theta_torsion_post_methylene_meta_aramid(), core::id::theta_torsion_post_methylene_ortho_aramid(), core::id::theta_torsion_post_methylene_para_aramid(), core::id::theta_torsion_pre_methylene_post_methylene_meta_aramid(), core::id::theta_torsion_pre_methylene_post_methylene_ortho_aramid(), core::id::theta_torsion_pre_methylene_post_methylene_para_aramid(), torsion_id_list_, core::conformation::Residue::type(), core::id::zeta_torsion_pre_methylene_meta_aramid(), and core::id::zeta_torsion_pre_methylene_post_methylene_ortho_aramid().
Referenced by apply().
|
private |
Referenced by apply(), and parse_my_tag().
|
private |
Referenced by movemap(), and RandomTorsionMover().
|
private |
Referenced by movemap(), and movemap_factory().
|
private |
Referenced by apply(), and parse_my_tag().
|
private |
Referenced by apply(), and setup_torsion_list().
1.8.7