Rosetta
|
allows docking using simulated or parallel tempering More...
#include <TemperedDocking.hh>
Public Member Functions | |
TemperedDocking () | |
default constructor fills values with the expected defaults More... | |
protocols::moves::MoverOP | clone () const override |
clone More... | |
TemperedDocking (TemperedDocking const &rhs) | |
copy ctor More... | |
TemperedDocking & | operator= (TemperedDocking const &rhs) |
assignment operator More... | |
void | set_defaults () |
Assigns default values to primitive members. More... | |
void | sync_objects_with_flags () |
Instantiates non-primitive members based on the value of the primitive members. More... | |
void | set_lowres_scorefxn (core::scoring::ScoreFunctionOP docking_scorefxn_low) |
Sets the score function that will be used in the low-resolution phase. More... | |
void | set_highres_scorefxn (core::scoring::ScoreFunctionOP docking_scorefxn_high) |
Sets the score function that will be used in the high-resolution phase. The same score function will be used for evaluating moves, packing and discriminating. More... | |
void | set_highres_scorefxn (core::scoring::ScoreFunctionCOP docking_scorefxn_high, core::scoring::ScoreFunctionCOP docking_scorefxn_pack) |
Sets the score function that will be used in the high-resolution phase. The first scorefunction will be used for evaluating moves and discriminating, the second will be used for packing. More... | |
void | set_highres_scorefxn (core::scoring::ScoreFunctionCOP docking_scorefxn_high, core::scoring::ScoreFunctionCOP docking_scorefxn_pack, core::scoring::ScoreFunctionCOP docking_scorefxn_output) |
Sets the score function that will be used in the high-resolution phase. The first scorefunction will be used for evaluating moves, the second will be used for packing and the third for discriminating. More... | |
void | set_sc_min (bool sc_min) |
void | apply (core::pose::Pose &pose) override |
main docking protocol More... | |
protocols::moves::MoverCOP | to_centroid () const |
--------------------------------------— Getters ---------------------------------------— More... | |
std::string | partners () const |
std::string | get_name () const override |
returns the docking partners chain identifiers More... | |
DockJumps & | movable_jumps () |
DockJumps const & | movable_jumps () const |
returns ref to the jumps vector for docking More... | |
void | set_autofoldtree (bool setting) |
@ return const ref to the jumps vector for docking More... | |
void | set_partners (std::string const &setting) |
void | set_movable_jumps (DockJumps const &setting) |
void | set_use_constraints (bool setting) |
void | add_jump (core::SSize const jump_number) |
void | show (std::ostream &out=std::cout) const override |
-------------------------— diagnostic output ---------------------------------------— 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... | |
![]() | |
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... | |
virtual MoverOP | fresh_instance () const |
Generates a new Mover object freshly created with the default ctor. 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 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 | register_options () |
Associates relevant options with the TemperedDocking class. More... | |
![]() | |
static std::string | name () |
static void | register_options () |
Overload this static method if you access options within the mover. More... | |
Protected Member Functions | |
void | init_from_options () |
Assigns user specified values to primitive members using command line options. More... | |
void | finalize_setup (core::pose::Pose &pose) |
Performs the portion of setup of non-primitive members that requires a pose - called on apply. More... | |
void | init (DockJumps const movable_jumps, core::scoring::ScoreFunctionCOP docking_score_low, core::scoring::ScoreFunctionCOP docking_score_high) |
Sets up the instance of TemperedDocking and initializes all members based on values passed in at construction or via the command line. More... | |
void | copy (TemperedDocking &lhs, TemperedDocking const &rhs) |
void | setup_objects () |
![]() | |
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... | |
Static Private Attributes | |
static bool | options_registered_ |
Friends | |
std::ostream & | operator<< (std::ostream &out, const TemperedDocking &dp) |
Additional Inherited Members | |
![]() | |
typedef utility::tag::TagCOP | TagCOP |
typedef core::pose::Pose | Pose |
typedef core::pose::PoseCOP | PoseCOP |
typedef std::list< std::string > | Strings |
allows docking using simulated or parallel tempering
protocols::docking::TemperedDocking::TemperedDocking | ( | ) |
default constructor fills values with the expected defaults
References init().
protocols::docking::TemperedDocking::TemperedDocking | ( | TemperedDocking const & | rhs | ) |
copy ctor
References copy().
|
inline |
References movable_jumps_.
|
overridevirtual |
main docking protocol
Implements protocols::moves::Mover.
References docking_constraint_, finalize_setup(), first_apply_with_current_setup_, flags_and_objects_are_in_sync_, core::pose::Pose::fold_tree(), fold_tree_, previous_sequence_, sampler_, core::pose::Pose::sequence(), show(), sync_objects_with_flags(), to_centroid_, and tr().
|
overridevirtual |
clone
clone operator, calls the copy constructor
Reimplemented from protocols::moves::Mover.
Referenced by parse_my_tag().
|
protected |
References autofoldtree_, docking_constraint_, docking_scorefxn_high_, docking_scorefxn_low_, first_apply_with_current_setup_, flags_and_objects_are_in_sync_, fold_tree_, movable_jumps_, partners_, previous_sequence_, sc_min_, to_centroid_, and use_csts_.
Referenced by operator=(), and TemperedDocking().
|
protected |
Performs the portion of setup of non-primitive members that requires a pose - called on apply.
setup steps when new pose comes in (this is not repeated for every reply, ... only when new sequence.. )
References autofoldtree_, core::pose::Pose::fold_tree(), fold_tree_, movable_jumps_, core::pose::Pose::num_jump(), partners_, rb_mover_, protocols::docking::setup_foldtree(), and tr().
Referenced by apply().
|
inlineoverridevirtual |
returns the docking partners chain identifiers
Implements protocols::moves::Mover.
|
protected |
Sets up the instance of TemperedDocking and initializes all members based on values passed in at construction or via the command line.
References docking_scorefxn_high_, docking_scorefxn_low_, init_from_options(), movable_jumps(), movable_jumps_, set_defaults(), and setup_objects().
Referenced by TemperedDocking().
|
protected |
Assigns user specified values to primitive members using command line options.
References core::scoring::ScoreFunctionFactory::create_score_function(), docking_scorefxn_high_, docking_scorefxn_low_, docking_scorefxn_output_, docking_scorefxn_pack_, core::scoring::get_score_function_legacy(), n_cycles_, core::scoring::PRE_TALARIS_2013_STANDARD_WTS, rigid_rot_mag_, rigid_trans_mag_, sc_min_, set_movable_jumps(), set_partners(), set_use_constraints(), and tempering_.
Referenced by init().
|
inline |
References movable_jumps_.
Referenced by init().
|
inline |
returns ref to the jumps vector for docking
References movable_jumps_.
TemperedDocking & protocols::docking::TemperedDocking::operator= | ( | TemperedDocking const & | rhs | ) |
assignment operator
References copy().
|
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 clone(), partners(), set_highres_scorefxn(), set_lowres_scorefxn(), and set_partners().
|
inline |
References partners_.
Referenced by parse_my_tag().
|
static |
Associates relevant options with the TemperedDocking class.
References options_registered_, protocols::canonical_sampling::ParallelTempering::register_options(), protocols::canonical_sampling::SilentTrajectoryRecorder::register_options(), and protocols::canonical_sampling::SimulatedTempering::register_options().
|
inline |
@ return const ref to the jumps vector for docking
References autofoldtree_.
void protocols::docking::TemperedDocking::set_defaults | ( | ) |
Assigns default values to primitive members.
---------------— initializing helpers ------------------------------—
References autofoldtree_, n_cycles_, partners_, and sc_min_.
Referenced by init().
void protocols::docking::TemperedDocking::set_highres_scorefxn | ( | core::scoring::ScoreFunctionCOP | docking_scorefxn_high, |
core::scoring::ScoreFunctionCOP | docking_scorefxn_pack | ||
) |
Sets the score function that will be used in the high-resolution phase. The first scorefunction will be used for evaluating moves and discriminating, the second will be used for packing.
References set_highres_scorefxn().
void protocols::docking::TemperedDocking::set_highres_scorefxn | ( | core::scoring::ScoreFunctionCOP | docking_scorefxn_high, |
core::scoring::ScoreFunctionCOP | docking_scorefxn_pack, | ||
core::scoring::ScoreFunctionCOP | docking_scorefxn_output | ||
) |
Sets the score function that will be used in the high-resolution phase. The first scorefunction will be used for evaluating moves, the second will be used for packing and the third for discriminating.
References docking_scorefxn_high_, docking_scorefxn_output_, and docking_scorefxn_pack_.
void protocols::docking::TemperedDocking::set_highres_scorefxn | ( | core::scoring::ScoreFunctionOP | docking_scorefxn_high | ) |
Sets the score function that will be used in the high-resolution phase. The same score function will be used for evaluating moves, packing and discriminating.
Referenced by parse_my_tag(), and set_highres_scorefxn().
void protocols::docking::TemperedDocking::set_lowres_scorefxn | ( | core::scoring::ScoreFunctionOP | docking_scorefxn_low | ) |
Sets the score function that will be used in the low-resolution phase.
References docking_scorefxn_low_.
Referenced by parse_my_tag().
|
inline |
References movable_jumps_.
Referenced by init_from_options().
|
inline |
References partners_.
Referenced by init_from_options(), and parse_my_tag().
void protocols::docking::TemperedDocking::set_sc_min | ( | bool | sc_min | ) |
void protocols::docking::TemperedDocking::set_use_constraints | ( | bool | setting | ) |
References flags_and_objects_are_in_sync_, and use_csts_.
Referenced by init_from_options().
|
protected |
References core::chemical::CENTROID, docking_constraint_, docking_scorefxn_low_, fold_tree_, n_cycles_, previous_sequence_, rb_mover_, rigid_rot_mag_, rigid_trans_mag_, sampler_, sync_objects_with_flags(), tempering_, and to_centroid_.
Referenced by init().
|
overridevirtual |
-------------------------— diagnostic output ---------------------------------------—
Show the complete setup of the docking protocol
Reimplemented from protocols::moves::Mover.
References core::conformation::membrane::out.
Referenced by apply().
void protocols::docking::TemperedDocking::sync_objects_with_flags | ( | ) |
Instantiates non-primitive members based on the value of the primitive members.
References docking_constraint_, first_apply_with_current_setup_, flags_and_objects_are_in_sync_, and use_csts_.
Referenced by apply(), and setup_objects().
protocols::moves::MoverCOP protocols::docking::TemperedDocking::to_centroid | ( | ) | const |
--------------------------------------— Getters ---------------------------------------—
References to_centroid_.
|
friend |
|
private |
information about the mode
Referenced by copy(), finalize_setup(), set_autofoldtree(), and set_defaults().
|
private |
Referenced by apply(), copy(), setup_objects(), and sync_objects_with_flags().
|
private |
Referenced by copy(), init(), init_from_options(), and set_highres_scorefxn().
|
private |
Referenced by copy(), init(), init_from_options(), set_lowres_scorefxn(), and setup_objects().
|
private |
Referenced by init_from_options(), and set_highres_scorefxn().
|
private |
Referenced by init_from_options(), and set_highres_scorefxn().
|
private |
Referenced by apply(), copy(), and sync_objects_with_flags().
|
private |
Referenced by apply(), copy(), set_use_constraints(), and sync_objects_with_flags().
|
private |
Referenced by apply(), copy(), finalize_setup(), and setup_objects().
|
private |
jumps that rigid_body transformations can occur over
Referenced by add_jump(), copy(), finalize_setup(), init(), movable_jumps(), and set_movable_jumps().
|
private |
how many cycles of monte-carlo per trajectory in the sampler ?
Referenced by init_from_options(), set_defaults(), and setup_objects().
|
staticprivate |
Referenced by register_options().
|
private |
Referenced by copy(), finalize_setup(), partners(), set_defaults(), and set_partners().
|
private |
Referenced by apply(), copy(), and setup_objects().
|
private |
Referenced by finalize_setup(), and setup_objects().
|
private |
|
private |
Referenced by init_from_options(), and setup_objects().
|
private |
Referenced by init_from_options(), and setup_objects().
|
private |
Referenced by apply(), and setup_objects().
|
private |
Referenced by copy(), init_from_options(), and set_defaults().
|
private |
Referenced by init_from_options(), and setup_objects().
|
private |
Referenced by apply(), copy(), setup_objects(), and to_centroid().
|
private |
Referenced by copy(), set_use_constraints(), and sync_objects_with_flags().