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

Public Member Functions | |
| CoupledMovesProtocol () | |
| CoupledMovesProtocol (CoupledMovesProtocol const &cmp) | |
| 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 | configure_score_fxn () |
| adds terms for the backrub step to the scorefunction. Used by ctor; also useful when using set_score_fxn More... | |
| core::Real | compute_ligand_score_bonus (core::pose::PoseOP pose) |
| void | exclude_nonclashing_positions (core::pose::PoseOP pose) |
| void | setup_move_and_design_positions (core::pack::task::PackerTaskCOP task, core::pose::PoseCOP pose) |
| protocols::simple_moves::CoupledMoverOP | setup_coupled_mover (core::pack::task::PackerTaskOP task, core::pose::PoseOP pose_copy, protocols::simple_moves::CoupledMoverOP coupled_mover) |
| protocols::simple_moves::CoupledMoverOP | setup_coupled_mover_for_ligand (core::pose::PoseOP pose_copy, core::pack::task::PackerTaskOP task, protocols::simple_moves::CoupledMoverOP coupled_mover) |
| void | setup_move_type (core::Real const move_prob) |
| void | setup_resnum (core::Real const move_prob, protocols::simple_moves::CoupledMoverOP coupled_mover, core::pose::PoseOP pose_copy) |
| void | write_info_to_log (core::pose::PoseOP pose_copy) |
| void | parse_my_tag (TagCOP, basic::datacache::DataMap &) override |
| parse_my_tag More... | |
| void | set_score_fxn (core::scoring::ScoreFunctionOP const sf) |
| set the score function. NOTICE: you will want to also use the companion configure_score_fxn afterwards to add backrub terms to the SF, if you did not do so yourself! More... | |
| void | set_main_task_factory (core::pack::task::TaskFactoryOP const tf) |
| set the task factory. Note that the ctor sets InitializeFromCommandline plus either ReadResfile or RestrictToRepacking. More... | |
| void | set_ntrials (core::Size ntrials) |
| void | set_loop_size (core::Size loop_size) |
| void | set_perturber (kinematic_closure::perturbers::PerturberOP perturber) |
| void | set_backbone_mover (std::string const &backbone_mover) |
| void | set_repack_neighborhood (bool repack_neighborhood) |
| void | set_ligand_mode (bool const ligand_mode) |
| void | set_number_ligands (core::Size const number_ligands) |
| void | set_ligand_weight (core::Real const ligand_weight) |
| void | set_ligand_prob (core::Real const ligand_prob) |
| std::string | get_name () const override |
| Each derived class must specify its name. The class name. More... | |
| core::Size | get_ntrials () |
| std::string | get_backbone_mover () const |
| const bool & | get_repack_neighborhood () const |
| core::Size | get_loop_size () const |
| kinematic_closure::perturbers::PerturberOP | get_perturber () const |
| std::string | get_move_type () const |
| std::map< std::string, core::Real > | get_unique_sequences () const |
| utility::vector1< core::Size > | get_move_positions () const |
| utility::vector1< core::Size > | get_design_positions () const |
| bool | get_ligand_mode () const |
| core::Size | get_number_ligands () const |
| core::Real | get_ligand_weight () const |
| core::Real | get_ligand_prob () const |
| utility::vector1< core::Size > | get_ligand_resnums () const |
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 void | provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd) |
| static std::string | mover_name () |
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... | |
Private Member Functions | |
| void | initialize_from_options () |
| sets up internal options based on options system More... | |
| void | initialize_ligand_from_options () |
| sets up internal options for ligand mode based on the options system More... | |
Private Attributes | |
| core::scoring::ScoreFunctionOP | score_fxn_ |
| core::pack::task::TaskFactoryOP | main_task_factory_ |
| core::Size | ntrials_ = 1000 |
| std::string | move_type_ = "RESIDUE" |
| utility::vector1< core::Size > | move_positions_ |
| utility::vector1< core::Size > | design_positions_ |
| std::map< std::string, core::Real > | unique_sequences_ |
| std::map< std::string, core::scoring::EnergyMap > | unique_scores_ |
| core::Size | loop_size_ = 4 |
| parameter for KIC with walking perturber More... | |
| kinematic_closure::perturbers::PerturberOP | perturber_ |
| mover used for side-chain moves More... | |
| std::string | backbone_mover_ = "backrub" |
| type of backbone move, e.g. backrub or kic More... | |
| bool | repack_neighborhood_ = false |
| Default false for legacy behavior (Ollikainen 2015). After the backbone move and rotamer move, repack sidechains within 5A of the design residue. More... | |
| bool | ligand_mode_ = false |
| if true, model protein ligand interaction More... | |
| core::Size | number_ligands_ = 1 |
| number of ligands in the pose More... | |
| core::Real | ligand_weight_ = 1.0 |
| weight for residue - ligand interactions More... | |
| core::Real | ligand_prob_ = 0.1 |
| probability of making a ligand move More... | |
| utility::vector1< core::Size > | ligand_resnums_ |
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 |
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... | |
| protocols::coupled_moves::CoupledMovesProtocol::CoupledMovesProtocol | ( | ) |
References configure_score_fxn(), core::scoring::get_score_function(), main_task_factory_, and score_fxn_.
|
default |
|
overridevirtual |
Main Method.
Implements protocols::moves::Mover.
References core::scoring::constraints::add_fa_constraints_from_cmdline_to_pose(), protocols::viewer::add_monte_carlo_viewer(), protocols::moves::MonteCarlo::boltzmann(), compute_ligand_score_bonus(), protocols::jd2::current_output_name(), design_positions_, exclude_nonclashing_positions(), protocols::canonical_sampling::TrajectoryRecorder::file_name(), initialize_from_options(), protocols::moves::MonteCarlo::last_accepted_pose(), ligand_mode_, protocols::moves::MonteCarlo::lowest_score(), protocols::moves::MonteCarlo::lowest_score_pose(), main_task_factory_, core::pack::min_pack(), move_positions_, move_type_, ntrials_, protocols::moves::MonteCarlo::reset(), score_fxn_, protocols::moves::MonteCarlo::set_last_accepted_pose(), protocols::moves::MonteCarlo::set_lowest_score_pose(), setup_coupled_mover(), setup_move_and_design_positions(), setup_move_type(), setup_resnum(), protocols::moves::MonteCarlo::show_counters(), protocols::TR(), unique_scores_, unique_sequences_, and write_info_to_log().
|
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.
| core::Real protocols::coupled_moves::CoupledMovesProtocol::compute_ligand_score_bonus | ( | core::pose::PoseOP | pose | ) |
References ligand_resnums_, and ligand_weight_.
Referenced by apply().
| void protocols::coupled_moves::CoupledMovesProtocol::configure_score_fxn | ( | ) |
adds terms for the backrub step to the scorefunction. Used by ctor; also useful when using set_score_fxn
References core::scoring::constraints::add_fa_constraints_from_cmdline_to_scorefxn(), core::scoring::hbonds::HBondOptions::decompose_bb_hb_into_pair_energies(), core::scoring::methods::EnergyMethodOptions::hbond_options(), core::scoring::mm_bend, and score_fxn_.
Referenced by CoupledMovesProtocol(), and parse_my_tag().
| void protocols::coupled_moves::CoupledMovesProtocol::exclude_nonclashing_positions | ( | core::pose::PoseOP | pose | ) |
References main_task_factory_.
Referenced by apply().
|
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.
|
inline |
References backbone_mover_.
|
inline |
References design_positions_.
|
inline |
References ligand_mode_.
|
inline |
References ligand_prob_.
|
inline |
References ligand_resnums_.
|
inline |
References ligand_weight_.
|
inline |
References loop_size_.
|
inline |
References move_positions_.
|
inline |
References move_type_.
|
overridevirtual |
Each derived class must specify its name. The class name.
Implements protocols::moves::Mover.
References mover_name().
|
inline |
References ntrials_.
|
inline |
References number_ligands_.
|
inline |
References perturber_.
|
inline |
References repack_neighborhood_.
|
inline |
References unique_sequences_.
|
private |
sets up internal options based on options system
References initialize_ligand_from_options(), and protocols::TR().
Referenced by apply().
|
private |
sets up internal options for ligand mode based on the options system
References set_ligand_mode(), set_ligand_prob(), set_ligand_weight(), and set_number_ligands().
Referenced by initialize_from_options().
|
static |
|
overridevirtual |
parse_my_tag
Reimplemented from protocols::moves::Mover.
References configure_score_fxn(), loop_size_, main_task_factory_, core::scoring::parse_score_function(), core::pack::task::parse_task_operations(), protocols::loops::read_loop_fragments(), score_fxn_, set_backbone_mover(), set_loop_size(), set_perturber(), and protocols::TR().
|
static |
|
inline |
References backbone_mover_.
Referenced by parse_my_tag().
|
inline |
References ligand_mode_.
Referenced by initialize_ligand_from_options().
|
inline |
References ligand_prob_.
Referenced by initialize_ligand_from_options().
|
inline |
References ligand_weight_.
Referenced by initialize_ligand_from_options().
|
inline |
References loop_size_.
Referenced by parse_my_tag().
|
inline |
set the task factory. Note that the ctor sets InitializeFromCommandline plus either ReadResfile or RestrictToRepacking.
References main_task_factory_.
|
inline |
References ntrials_.
|
inline |
References number_ligands_.
Referenced by initialize_ligand_from_options().
|
inline |
References perturber_.
Referenced by parse_my_tag().
|
inline |
References repack_neighborhood_.
|
inline |
set the score function. NOTICE: you will want to also use the companion configure_score_fxn afterwards to add backrub terms to the SF, if you did not do so yourself!
References score_fxn_.
| protocols::simple_moves::CoupledMoverOP protocols::coupled_moves::CoupledMovesProtocol::setup_coupled_mover | ( | core::pack::task::PackerTaskOP | task, |
| core::pose::PoseOP | pose_copy, | ||
| protocols::simple_moves::CoupledMoverOP | coupled_mover | ||
| ) |
References backbone_mover_, core::pack::rotamer_set::bump_check(), ligand_mode_, loop_size_, perturber_, score_fxn_, and setup_coupled_mover_for_ligand().
Referenced by apply().
| protocols::simple_moves::CoupledMoverOP protocols::coupled_moves::CoupledMovesProtocol::setup_coupled_mover_for_ligand | ( | core::pose::PoseOP | pose_copy, |
| core::pack::task::PackerTaskOP | task, | ||
| protocols::simple_moves::CoupledMoverOP | coupled_mover | ||
| ) |
References ligand_resnums_, ligand_weight_, number_ligands_, and score_fxn_.
Referenced by setup_coupled_mover().
| void protocols::coupled_moves::CoupledMovesProtocol::setup_move_and_design_positions | ( | core::pack::task::PackerTaskCOP | task, |
| core::pose::PoseCOP | pose | ||
| ) |
References design_positions_, and move_positions_.
Referenced by apply().
| void protocols::coupled_moves::CoupledMovesProtocol::setup_move_type | ( | core::Real const | move_prob | ) |
References ligand_mode_, ligand_prob_, and move_type_.
Referenced by apply().
| void protocols::coupled_moves::CoupledMovesProtocol::setup_resnum | ( | core::Real const | move_prob, |
| protocols::simple_moves::CoupledMoverOP | coupled_mover, | ||
| core::pose::PoseOP | pose_copy | ||
| ) |
References ligand_mode_, ligand_prob_, ligand_resnums_, move_positions_, and protocols::rigid::random.
Referenced by apply().
| void protocols::coupled_moves::CoupledMovesProtocol::write_info_to_log | ( | core::pose::PoseOP | pose_copy | ) |
References design_positions_, ntrials_, score_fxn_, and protocols::TR().
Referenced by apply().
|
private |
type of backbone move, e.g. backrub or kic
Referenced by get_backbone_mover(), set_backbone_mover(), and setup_coupled_mover().
|
private |
Referenced by apply(), get_design_positions(), setup_move_and_design_positions(), and write_info_to_log().
|
private |
if true, model protein ligand interaction
Referenced by apply(), get_ligand_mode(), set_ligand_mode(), setup_coupled_mover(), setup_move_type(), and setup_resnum().
|
private |
probability of making a ligand move
Referenced by get_ligand_prob(), set_ligand_prob(), setup_move_type(), and setup_resnum().
|
private |
Referenced by compute_ligand_score_bonus(), get_ligand_resnums(), setup_coupled_mover_for_ligand(), and setup_resnum().
|
private |
weight for residue - ligand interactions
Referenced by compute_ligand_score_bonus(), get_ligand_weight(), set_ligand_weight(), and setup_coupled_mover_for_ligand().
|
private |
parameter for KIC with walking perturber
loop size for KIC
Referenced by get_loop_size(), parse_my_tag(), set_loop_size(), and setup_coupled_mover().
|
private |
Referenced by apply(), CoupledMovesProtocol(), exclude_nonclashing_positions(), parse_my_tag(), and set_main_task_factory().
|
private |
Referenced by apply(), get_move_positions(), setup_move_and_design_positions(), and setup_resnum().
|
private |
Referenced by apply(), get_move_type(), and setup_move_type().
|
private |
Referenced by apply(), get_ntrials(), set_ntrials(), and write_info_to_log().
|
private |
number of ligands in the pose
Referenced by get_number_ligands(), set_number_ligands(), and setup_coupled_mover_for_ligand().
|
private |
mover used for side-chain moves
perturber used by kic
Referenced by get_perturber(), set_perturber(), and setup_coupled_mover().
|
private |
Default false for legacy behavior (Ollikainen 2015). After the backbone move and rotamer move, repack sidechains within 5A of the design residue.
Referenced by get_repack_neighborhood(), and set_repack_neighborhood().
|
private |
|
private |
Referenced by apply().
|
private |
Referenced by apply(), and get_unique_sequences().
1.8.7