![]() |
Rosetta Protocols
2014.35
|
A mover that perturbs the phi of residue i and the psi of residue i-1 such that they create a 'shearing' effect, minimizing the downstream consequences of this torsional perturbation. The final torsion angle is subject to a metropolis criterion using the rama score to ensure that only favorable backbone torsion angles are being selected. The number of perturbations, and the magnitude of perturbations, and the temperature in the rama check, can all be modified. More...
#include <BackboneMover.hh>
Public Member Functions | |
ShearMover () | |
ShearMover (core::kinematics::MoveMapOP movemap_in, core::Real temperature_in, core::Size nmoves_in) | |
Constructs a ShearMover shearmover = ShearMover( movemap , kT , n_moves ) More... | |
ShearMover (ShearMover const &object_to_copy) | |
Copy constructor. More... | |
~ShearMover () | |
virtual std::string | get_name () const |
Each derived class must specify its name. The class name. More... | |
virtual protocols::moves::MoverOP | clone () const |
Return a clone of the Mover object. More... | |
virtual protocols::moves::MoverOP | fresh_instance () const |
Generates a new Mover object freshly created with the default ctor. More... | |
virtual void | setup_list (core::pose::Pose &pose) |
virtual void | set_angles (core::Real angle_in) |
virtual bool | make_move (core::pose::Pose &pose) |
virtual void | test_move (core::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 utility::vector1 < core::id::TorsionID_Range > | torsion_id_ranges (core::pose::Pose &pose) |
get the TorsionIDs perturbed by the mover during moves, along with their ranges More... | |
virtual utility::vector1 < core::id::DOF_ID_Range > | dof_id_ranges (core::pose::Pose &pose) |
get the DOF_IDs perturbed by the mover during moves, along with their ranges More... | |
![]() | |
BackboneMover () | |
BackboneMover (core::kinematics::MoveMapOP movemap_in, core::Real temperature_in, core::Size nmoves_in) | |
~BackboneMover () | |
virtual void | apply (core::pose::Pose &) |
virtual functions that get overridden or called from the inheriting classes More... | |
virtual void | show (std::ostream &output=std::cout) const |
Outputs details about the Mover, including current settings. More... | |
void | clear () |
bool | check_rama () |
void | temperature (core::Real const temperature_in) |
Properties set/get functions. More... | |
core::Real | temperature () const |
void | nmoves (core::Size const nmoves_in) |
core::Size | nmoves () const |
core::kinematics::MoveMapCOP | movemap () const |
void | movemap (core::kinematics::MoveMapOP new_movemap) |
void | angle_max (core::Real const angle) |
Sets the maximum angle of perturbation, independent of secondary structure. More... | |
void | angle_max (char const type, core::Real const angle) |
Sets the max angle of perturbation for residues with <type> secondary structure. (<type> must be 'H', 'E', or 'L'.) More... | |
void | angle_max (std::map< char, core::Real > angle_max_in) |
Sets the max angle of perturbation, for secondary structures 'H', 'E', and 'L'. More... | |
core::Real | get_angle_max (char const type) const |
Gets the max angle of perturbation for residues with <type> secondary structure. (<type> must be 'H', 'E', or 'L'.) More... | |
core::Real | new_phi () |
core::Real | new_psi () |
virtual void | parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &data, protocols::filters::Filters_map const &filters, protocols::moves::Movers_map const &movers, core::pose::Pose const &pose) |
Called by MoverFactory when constructing new Movers. Takes care of the specific mover's parsing. More... | |
bool | preserve_detailed_balance () const |
get whether detailed balance is preserved (i.e. no Ramachandran biasing) More... | |
void | set_preserve_detailed_balance (bool preserve_detailed_balance) |
set whether detailed balance is preserved (i.e. no Ramachandran biasing) More... | |
![]() | |
ThermodynamicMover () | |
Default constructor. More... | |
virtual | ~ThermodynamicMover () |
Default destructor. More... | |
virtual void | initialize_simulation (core::pose::Pose &pose, protocols::canonical_sampling::MetropolisHastingsMover const &metropolis_hastings_mover, core::Size cycle) |
Callback executed before any Monte Carlo trials are attempted. More... | |
virtual void | observe_after_metropolis (protocols::canonical_sampling::MetropolisHastingsMover const &metropolis_hastings_mover) |
Callback executed after the Metropolis criterion is evaluated. More... | |
virtual core::Real | last_proposal_density_ratio () |
Return the proposal density ratio for last apply method. More... | |
virtual void | finalize_simulation (core::pose::Pose &pose, protocols::canonical_sampling::MetropolisHastingsMover const &metropolis_hastings_mover) |
Callback executed after all Monte Carlo trials are completed. More... | |
virtual bool | is_multi_trial () |
Return true if the move performs multiple trials on each apply. More... | |
virtual core::Real | last_inner_score_temperature_delta () |
If this is a multi-trial move, return the change in internal score/temperature caused by the last call to apply(). More... | |
virtual protocols::canonical_sampling::MetropolisHastingsMoverAP | metropolis_hastings_mover () |
If this is a multi-trial move, return the MetropolisHastingsMover being used internally. More... | |
virtual void | set_metropolis_hastings_mover (protocols::canonical_sampling::MetropolisHastingsMoverAP metropolis_hastings_mover) |
If this is a multi-trial move, set the MetropolisHastingsMover to be used internally. More... | |
![]() | |
Mover () | |
virtual | ~Mover () |
virtual MoverSP | create () |
virtual void | apply (core::io::serialization::PipeMap &pmap) |
virtual void | parse_state (SerializableState const &state) |
virtual void | parse_def (utility::lua::LuaObject const &def, utility::lua::LuaObject const &score_fxns, utility::lua::LuaObject const &tasks, MoverCacheSP cache) |
virtual void | save_state (SerializableState &state) |
Mover (std::string const &type_name) | |
sets the type for a mover; name_ has been removed (2010/05/14) More... | |
Mover (Mover const &other) | |
Mover & | operator= (Mover const &other) |
assignment operator More... | |
std::string const & | type () const |
void | set_type (std::string const &setting) |
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... | |
void | set_current_tag (std::string const &new_tag) |
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 | type (const std::string &type_in) |
std::string | get_type () const |
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... | |
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 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... | |
void | set_current_job (protocols::jobdist::BasicJobCOP job) |
jobdist::BasicJobCOP | get_current_job () const |
A mover that perturbs the phi of residue i and the psi of residue i-1 such that they create a 'shearing' effect, minimizing the downstream consequences of this torsional perturbation. The final torsion angle is subject to a metropolis criterion using the rama score to ensure that only favorable backbone torsion angles are being selected. The number of perturbations, and the magnitude of perturbations, and the temperature in the rama check, can all be modified.
Common Methods: ShearMover.apply
protocols::simple_moves::ShearMover::ShearMover | ( | ) |
References protocols::moves::Mover::type().
protocols::simple_moves::ShearMover::ShearMover | ( | core::kinematics::MoveMapOP | movemap_in, |
core::Real | temperature_in, | ||
core::Size | nmoves_in | ||
) |
Constructs a ShearMover shearmover = ShearMover( movemap , kT , n_moves )
MoveMap movemap /object storing BB torsion movability Real (float) kT /used in rama Metropolis Criterion Size (int) n_moves /the number of perturbations for one move
References protocols::moves::Mover::type().
protocols::simple_moves::ShearMover::ShearMover | ( | ShearMover const & | object_to_copy | ) |
Copy constructor.
References protocols::moves::Mover::type().
protocols::simple_moves::ShearMover::~ShearMover | ( | ) |
|
virtual |
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.
|
virtual |
get the DOF_IDs perturbed by the mover during moves, along with their ranges
Implements protocols::simple_moves::BackboneMover.
References core::id::BB, protocols::simple_moves::BackboneMover::clear(), core::pose::Pose::conformation(), core::conformation::Conformation::dof_id_from_torsion_id(), core::id::phi_torsion(), pi, protocols::simple_moves::BackboneMover::pos_list_, core::id::psi_torsion(), and setup_list().
|
virtual |
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.
|
virtual |
Each derived class must specify its name. The class name.
Reimplemented from protocols::simple_moves::BackboneMover.
|
virtual |
Implements protocols::simple_moves::BackboneMover.
References check_rama, core::scoring::Ramachandran::eval_rama_score_residue(), basic::periodic_range(), core::pose::Pose::phi(), core::pose::Pose::psi(), rama, core::pose::Pose::residue(), protocols::simple_moves::RG, core::pose::Pose::set_phi(), core::pose::Pose::set_psi(), and numeric::random::RandomGenerator::uniform().
|
virtual |
Implements protocols::simple_moves::BackboneMover.
|
virtual |
Implements protocols::simple_moves::BackboneMover.
References BB, core::pose::Pose::residue(), core::pose::Pose::secstruct(), ss, and core::pose::Pose::total_residue().
Referenced by dof_id_ranges().
|
virtual |
: Unit test support function. Apply one move to a given pose. Allows extra test specific functions to be called before applying
Reimplemented from protocols::moves::Mover.
References movemap, core::kinematics::MoveMap::set_bb(), and core::kinematics::MoveMap::set_chi().
|
virtual |
get the TorsionIDs perturbed by the mover during moves, along with their ranges
Implements protocols::canonical_sampling::ThermodynamicMover.