![]() |
Rosetta Protocols
2014.16.56682
|
extension of ClassicAbinitio Protocol to adapt the folding process for the presence of distance constraints Main Function: switch distance constraints based on distance in the FoldTree ( i.e., in sequence for simple FoldTrees ) This is achieved by replacing the pose's ConstraintSet with the special purpose class MaxSeqSepConstraintSet the latter class will only score constraints that are sufficiently close in FoldTree/Sequence ( as controlled by the threshold with set_max_seq_sep() ) the protocol ranks up the max_seq_sep parameter while folding proceeds through the stages. to this extend it overloads methods prepare_stageX() do_stage1_cycles() More...
#include <FoldConstraints.hh>
Public Types | |
| typedef ClassicAbinitio | Parent |
Public Types inherited from protocols::abinitio::ClassicAbinitio | |
| enum | StageID { ALL_STAGES = 0, STAGE_1, STAGE_2, STAGE_3a, STAGE_3b, STAGE_4, STAGE_4rot, STAGE_5 } |
Public Types inherited from protocols::abinitio::Protocol | |
| typedef Mover | BaseClass |
Public Types inherited from protocols::moves::Mover | |
| typedef utility::tag::TagCOP | TagCOP |
| typedef core::pose::Pose | Pose |
| typedef core::pose::PoseCOP | PoseCOP |
| typedef protocols::filters::Filters_map | Filters_map |
| typedef std::list< std::string > | Strings |
Public Member Functions | |
| FoldConstraints (simple_moves::FragmentMoverOP brute_move_small, simple_moves::FragmentMoverOP brute_move_large, simple_moves::FragmentMoverOP smooth_move_small, int dummy) | |
| c'stor from Movers More... | |
| FoldConstraints (core::fragment::FragSetCOP fragset3mer, core::fragment::FragSetCOP fragset9mer, core::kinematics::MoveMapCOP movemap) | |
| c'stor from FragSets — ClassicFragmentMover and SmoothFragmentMover will be created More... | |
| FoldConstraints (FoldConstraints const &src) | |
| Explicit copy constructor to handle OPs. More... | |
| ~FoldConstraints () | |
| Explicit destructor to handle OPs. More... | |
| virtual moves::MoverOP | clone () const |
| ... More... | |
| virtual void | apply (core::pose::Pose &pose) |
| run the protocol More... | |
| virtual std::string | get_name () const |
| Each derived class must specify its name. The class name. More... | |
| void | set_default_scores () |
| sets the usual scores ( score0,score1, score2/5 etc. ) and additionally atom_pair_constraints to 1.0 More... | |
| void | set_constraint_weight (core::Real setting) |
| virtual void | set_default_options () |
| void | set_show_viol_level (core::Size setting) |
Public Member Functions inherited from protocols::abinitio::ClassicAbinitio | |
| ClassicAbinitio (simple_moves::FragmentMoverOP brute_move_small, simple_moves::FragmentMoverOP brute_move_large, simple_moves::FragmentMoverOP smooth_move_small, int) | |
| This constructor does not work – Fix it before using it. More... | |
| ClassicAbinitio (core::fragment::FragSetCOP fragset_small, core::fragment::FragSetCOP fragset_large, core::kinematics::MoveMapCOP movemap) | |
| constructor: supply fragsets for large and small fragment moves More... | |
| ClassicAbinitio (ClassicAbinitio const &src) | |
| Explicit copy constructor since this class contains OPs of other classes. More... | |
| ~ClassicAbinitio () | |
| Explicit destructor since this class contains OPs of other classes. More... | |
| virtual void | init (core::pose::Pose const &pose) |
| setup moves, mc-object, scores More... | |
| simple_moves::FragmentMoverOP | smooth_move_small () |
| simple_moves::FragmentMoverOP | brute_move_small () |
| simple_moves::FragmentMoverOP | brute_move_large () |
| core::kinematics::MoveMapCOP | movemap () |
| void | set_moves (simple_moves::FragmentMoverOP brute_move_small, simple_moves::FragmentMoverOP brute_move_large, simple_moves::FragmentMoverOP smooth_move_small) |
| void | set_mc (moves::MonteCarloOP) |
| moves::MonteCarlo & | mc () |
| moves::MonteCarlo const & | mc () const |
| virtual void | set_cycles (core::Real increase_cycles=1.0) |
| Size | total_trials () const |
| virtual void | set_score_weight (core::scoring::ScoreType, core::Real setting, StageID stage=ALL_STAGES) |
| for debugging, one wants to have access to the native pose. More... | |
| bool | just_smooth_cycles () const |
| Size | stage1_cycles () const |
| Size | stage2_cycles () const |
| Size | stage3_cycles () const |
| void | set_stage4_cycles (Size stage4_cycles_new) |
| Size | stage4_cycles () const |
| Size | stage5_cycles () const |
| bool | bQuickTest () const |
| void | set_skip_stage1 (bool setting) |
| void | set_skip_stage2 (bool setting) |
Public Member Functions inherited from protocols::abinitio::Protocol | |
| Protocol () | |
| ~Protocol () | |
| void | set_evaluation (evaluation::MetaPoseEvaluatorOP ev) |
| void | add_evaluation (evaluation::PoseEvaluatorOP ev) |
| void | evaluate_pose (core::pose::Pose &pose, std::string tag, core::io::silent::SilentStruct &pss) const |
| evaluation::MetaPoseEvaluatorOP | evaluator () |
| void | set_kinematics (abinitio::KinematicControlOP kc) |
| abinitio::KinematicControl const & | kinematics () |
| virtual bool | start_from_centroid () const |
| virtual bool | return_centroid () const |
| virtual void | return_centroid (bool setting) |
| void | set_fullatom_scorefxn (core::scoring::ScoreFunctionOP sfxn) |
| void | set_centroid_scorefxn (core::scoring::ScoreFunctionOP sfxn) |
| void | set_silentout_file_name (std::string str) |
| core::scoring::ScoreFunctionOP | fullatom_scorefxn () |
| core::scoring::ScoreFunctionOP | centroid_scorefxn () |
| virtual checkpoint::CheckPointer & | get_checkpoints () |
Public Member Functions inherited from protocols::moves::Mover | |
| 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... | |
| virtual core::Real | last_proposal_density_ratio () |
| std::string const & | type () const |
| 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 |
| 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... | |
| void | type (const std::string &type_in) |
| virtual void | parse_my_tag (TagCOP tag, basic::datacache::DataMap &data, Filters_map const &filters, Movers_map const &movers, Pose const &pose) |
| Called by MoverFactory when constructing new Movers. Takes care of the specific mover's parsing. More... | |
| 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... | |
| virtual MoverOP | fresh_instance () const |
| Generates a new Mover object freshly created with the default ctor. More... | |
| void | set_current_job (protocols::jobdist::BasicJobCOP job) |
| jobdist::BasicJobCOP | get_current_job () const |
| virtual void | show (std::ostream &output=std::cout) const |
| Outputs details about the Mover, including current settings. More... | |
Static Public Member Functions | |
| static void | register_options () |
| Why is this not being registered ? Probably not actually needed. More... | |
Static Public Member Functions inherited from protocols::abinitio::ClassicAbinitio | |
| static void | register_options () |
Static Public Member Functions inherited from protocols::abinitio::Protocol | |
| static void | register_options () |
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 | |
| core::Real | evaluate_constraint_energy (core::pose::Pose &pose, core::scoring::ScoreFunction const &) const |
Additional Inherited Members | |
Public Attributes inherited from protocols::abinitio::ClassicAbinitio | |
| bool | bSkipStage1_ |
| bool | bSkipStage2_ |
| bool | bSkipStage3_ |
| bool | bSkipStage4_ |
| bool | bSkipStage5_ |
| utility::vector1< StageID > | recover_low_stages_ |
Protected Attributes inherited from protocols::abinitio::ClassicAbinitio | |
| Size | stage1_cycles_ |
| Size | stage2_cycles_ |
| Size | stage3_cycles_ |
| Size | stage4_cycles_ |
| Size | stage5_cycles_ |
| core::Real | stage4_cycles_pack_rate_ |
extension of ClassicAbinitio Protocol to adapt the folding process for the presence of distance constraints Main Function: switch distance constraints based on distance in the FoldTree ( i.e., in sequence for simple FoldTrees ) This is achieved by replacing the pose's ConstraintSet with the special purpose class MaxSeqSepConstraintSet the latter class will only score constraints that are sufficiently close in FoldTree/Sequence ( as controlled by the threshold with set_max_seq_sep() ) the protocol ranks up the max_seq_sep parameter while folding proceeds through the stages. to this extend it overloads methods prepare_stageX() do_stage1_cycles()
the other substantial difference to ClassicAbinitio is that minimizations are carried out. method min_trial() is called each time the max_seq_sep is changed. ( inhibit: -no_minimize )
| protocols::abinitio::FoldConstraints::FoldConstraints | ( | simple_moves::FragmentMoverOP | brute_move_small, |
| simple_moves::FragmentMoverOP | brute_move_large, | ||
| simple_moves::FragmentMoverOP | smooth_move_small, | ||
| int | dummy | ||
| ) |
c'stor from Movers
References set_default_options(), and protocols::moves::Mover::type().
Referenced by clone().
| protocols::abinitio::FoldConstraints::FoldConstraints | ( | core::fragment::FragSetCOP | fragset3mer, |
| core::fragment::FragSetCOP | fragset9mer, | ||
| core::kinematics::MoveMapCOP | movemap | ||
| ) |
c'stor from FragSets — ClassicFragmentMover and SmoothFragmentMover will be created
References set_default_options(), and protocols::moves::Mover::type().
| protocols::abinitio::FoldConstraints::FoldConstraints | ( | FoldConstraints const & | src | ) |
Explicit copy constructor to handle OPs.
SHALLOW copy.
References bIgnoreSequenceSeparation_, bMinTrial_, bSkipOnNoViolation_, constraint_threshold_, constraint_weight_, constraints_, max_seq_sep_fudge_, min_move_, ramp_cst_cycles_, ramp_iterations_, run_, seq_sep_stage1_, seq_sep_stage3_, seq_sep_stage4_, show_viol_level_, and start_ramp_cstweight_.
| protocols::abinitio::FoldConstraints::~FoldConstraints | ( | ) |
Explicit destructor to handle OPs.
|
virtual |
run the protocol
Reimplemented from protocols::abinitio::ClassicAbinitio.
Reimplemented in protocols::abinitio::JumpingFoldConstraintsWrapper, protocols::abinitio::KinematicAbinitio, and protocols::abinitio::JumpingFoldConstraints.
References protocols::abinitio::ClassicAbinitio::apply(), bIgnoreSequenceSeparation(), core::pose::Pose::constraint_set(), constraints_, core::pose::Pose::fold_tree(), protocols::abinitio::ClassicAbinitio::mc(), protocols::moves::MonteCarlo::reset(), run_, core::pose::Pose::total_residue(), and tr.
Referenced by protocols::abinitio::KinematicAbinitio::apply(), and protocols::abinitio::JumpingFoldConstraintsWrapper::apply().
|
inlineprotected |
References bIgnoreSequenceSeparation_.
|
inlineprotected |
References bIgnoreSequenceSeparation_.
Referenced by apply(), and set_max_seq_sep().
|
virtual |
...
Reimplemented from protocols::abinitio::ClassicAbinitio.
Reimplemented in protocols::abinitio::JumpingFoldConstraintsWrapper, protocols::abinitio::KinematicAbinitio, and protocols::abinitio::JumpingFoldConstraints.
References FoldConstraints().
Referenced by min_trial().
|
inlineprotected |
References constraints_.
Referenced by protocols::abinitio::KinematicAbinitio::set_max_seq_sep().
|
protectedvirtual |
Reimplemented from protocols::abinitio::ClassicAbinitio.
References bSkipOnNoViolation_, core::pose::Pose::constraint_set(), cycles, protocols::abinitio::ClassicAbinitio::do_stage1_cycles(), evaluate_constraint_energy(), j, protocols::abinitio::ClassicAbinitio::mc(), numeric::mod(), protocols::abinitio::noe_stage(), option, score_function, seq_sep_stage1_, set_max_seq_sep(), show_viol_level_, protocols::abinitio::ClassicAbinitio::stage1_cycles(), protocols::abinitio::ClassicAbinitio::stage1_mover(), fold_cst::stage1_ramp_cst_cycle_factor, total_res(), tr, and protocols::abinitio::ClassicAbinitio::trial_large().
|
protectedvirtual |
Reimplemented from protocols::abinitio::ClassicAbinitio.
References protocols::abinitio::ClassicAbinitio::current_scorefxn(), protocols::abinitio::ClassicAbinitio::do_stage2_cycles(), j, protocols::abinitio::ClassicAbinitio::mc(), numeric::mod(), protocols::abinitio::noe_stage(), ramp_cst_cycles_, ramp_iterations_, protocols::moves::MonteCarlo::recover_low(), seq_sep_stage1_, protocols::abinitio::ClassicAbinitio::set_current_weight(), set_max_seq_sep(), protocols::abinitio::ClassicAbinitio::stage2_mover(), start_ramp_cstweight_, total_res(), protocols::abinitio::ClassicAbinitio::trial_large(), and weight.
|
inlineprivate |
|
virtual |
Each derived class must specify its name. The class name.
Reimplemented from protocols::abinitio::ClassicAbinitio.
Reimplemented in protocols::abinitio::JumpingFoldConstraintsWrapper, and protocols::abinitio::KinematicAbinitio.
|
inlineprotected |
References max_seq_sep_fudge_.
Referenced by protocols::abinitio::KinematicAbinitio::apply().
|
inlineprotected |
References max_seq_sep_fudge_.
|
inlineprotected |
References min_move_.
|
protected |
|
protectedvirtual |
Reimplemented from protocols::abinitio::ClassicAbinitio.
Reimplemented in protocols::abinitio::KinematicAbinitio, and protocols::abinitio::JumpingFoldConstraints.
References core::pose::Pose::constraint_set(), constraint_threshold_, constraints_, protocols::abinitio::noe_stage(), protocols::abinitio::ClassicAbinitio::prepare_loop_in_stage3(), seq_sep_stage1_, seq_sep_stage3_, set_max_seq_sep(), show_viol_level_, total_res(), core::pose::Pose::total_residue(), and tr.
Referenced by protocols::abinitio::KinematicAbinitio::prepare_loop_in_stage3().
|
protectedvirtual |
Reimplemented from protocols::abinitio::ClassicAbinitio.
Reimplemented in protocols::abinitio::KinematicAbinitio, and protocols::abinitio::JumpingFoldConstraints.
References core::pose::Pose::constraint_set(), constraints_, protocols::abinitio::noe_stage(), protocols::abinitio::ClassicAbinitio::prepare_loop_in_stage4(), seq_sep_stage3_, seq_sep_stage4_, set_max_seq_sep(), show_viol_level_, total_res(), and tr.
Referenced by protocols::abinitio::KinematicAbinitio::prepare_loop_in_stage4().
|
protectedvirtual |
Reimplemented from protocols::abinitio::ClassicAbinitio.
Reimplemented in protocols::abinitio::KinematicAbinitio, and protocols::abinitio::JumpingFoldConstraints.
References protocols::abinitio::ClassicAbinitio::prepare_stage1(), and tr.
Referenced by protocols::abinitio::KinematicAbinitio::prepare_stage1().
|
protectedvirtual |
Reimplemented from protocols::abinitio::ClassicAbinitio.
Reimplemented in protocols::abinitio::KinematicAbinitio, and protocols::abinitio::JumpingFoldConstraints.
References core::pose::Pose::constraint_set(), protocols::abinitio::noe_stage(), protocols::abinitio::ClassicAbinitio::prepare_stage2(), seq_sep_stage1_, set_max_seq_sep(), show_viol_level_, total_res(), and tr.
Referenced by protocols::abinitio::KinematicAbinitio::prepare_stage2().
|
protectedvirtual |
Reimplemented from protocols::abinitio::ClassicAbinitio.
References core::pose::Pose::constraint_set(), protocols::abinitio::ClassicAbinitio::prepare_stage4(), show_viol_level_, and tr.
|
static |
Why is this not being registered ? Probably not actually needed.
References utility::options::OptionCollection::add_relevant(), constraints::cst_weight, fold_cst::force_minimize, fold_cst::ignore_sequence_seperation, fold_cst::no_minimize, fold_cst::no_recover_low_at_constraint_switch, option, protocols::abinitio::ClassicAbinitio::register_options(), fold_cst::reramp_cst_cycles, fold_cst::reramp_iterations, fold_cst::reramp_start_cstweight, fold_cst::seq_sep_stages, fold_cst::skip_on_noviolation_in_stage1, fold_cst::stage1_ramp_cst_cycle_factor, and fold_cst::stage2_constraint_threshold.
|
inline |
References core::scoring::atom_pair_constraint, constraint_weight_, and protocols::abinitio::ClassicAbinitio::set_score_weight().
Referenced by set_default_options().
|
virtual |
Reimplemented from protocols::abinitio::ClassicAbinitio.
Reimplemented in protocols::abinitio::KinematicAbinitio, and protocols::abinitio::JumpingFoldConstraints.
References bIgnoreSequenceSeparation_, bMinTrial_, protocols::abinitio::ClassicAbinitio::bQuickTest(), bSkipOnNoViolation_, constraint_threshold_, max_seq_sep_fudge_, option, ramp_cst_cycles_, fold_cst::reramp_cst_cycles, fold_cst::reramp_start_cstweight, seq_sep_stage1_, seq_sep_stage3_, seq_sep_stage4_, set_constraint_weight(), protocols::abinitio::ClassicAbinitio::set_default_options(), size(), fold_cst::skip_on_noviolation_in_stage1, fold_cst::stage2_constraint_threshold, start_ramp_cstweight_, user, and utility_exit_with_message.
Referenced by FoldConstraints(), and protocols::abinitio::KinematicAbinitio::set_default_options().
|
virtual |
sets the usual scores ( score0,score1, score2/5 etc. ) and additionally atom_pair_constraints to 1.0
Reimplemented from protocols::abinitio::ClassicAbinitio.
Reimplemented in protocols::abinitio::KinematicAbinitio, and protocols::abinitio::JumpingFoldConstraints.
References atom_pair_constraint, constraint_weight_, scoring, protocols::abinitio::ClassicAbinitio::set_default_scores(), protocols::abinitio::ClassicAbinitio::set_score_weight(), and tr.
Referenced by protocols::abinitio::KinematicAbinitio::set_default_scores().
|
protectedvirtual |
Reimplemented in protocols::abinitio::KinematicAbinitio, and protocols::abinitio::JumpingFoldConstraints.
References bIgnoreSequenceSeparation(), bMinTrial_, core::pose::Pose::constraint_set(), constraints_, protocols::abinitio::ClassicAbinitio::mc(), min_trial(), option, protocols::moves::MonteCarlo::recover_low(), protocols::moves::MonteCarlo::reset(), and tr.
Referenced by do_stage1_cycles(), do_stage2_cycles(), prepare_loop_in_stage3(), prepare_loop_in_stage4(), prepare_stage2(), and protocols::abinitio::KinematicAbinitio::set_max_seq_sep().
|
protected |
References min_move_.
|
protectedvirtual |
Reimplemented from protocols::abinitio::ClassicAbinitio.
References min_move_, and protocols::abinitio::ClassicAbinitio::set_movemap().
Referenced by protocols::abinitio::KinematicAbinitio::apply().
|
inlineprotected |
References seq_sep_stage1_.
Referenced by protocols::abinitio::KinematicAbinitio::apply().
|
inlineprotected |
References seq_sep_stage3_.
Referenced by protocols::abinitio::KinematicAbinitio::apply().
|
inline |
References show_viol_level_.
|
protectedvirtual |
Reimplemented in protocols::abinitio::JumpingFoldConstraints.
References min_move_, protocols::abinitio::ClassicAbinitio::movemap(), and tr.
Referenced by min_trial().
|
protected |
References constraints_, max_seq_sep_fudge_, and core::pose::Pose::total_residue().
Referenced by do_stage1_cycles(), do_stage2_cycles(), protocols::abinitio::noe_stage(), prepare_loop_in_stage3(), prepare_loop_in_stage4(), and prepare_stage2().
|
private |
Referenced by bIgnoreSequenceSeparation(), FoldConstraints(), and set_default_options().
|
private |
Referenced by FoldConstraints(), set_default_options(), and set_max_seq_sep().
|
private |
Referenced by do_stage1_cycles(), FoldConstraints(), and set_default_options().
|
private |
Referenced by FoldConstraints(), prepare_loop_in_stage3(), and set_default_options().
|
private |
Referenced by FoldConstraints(), set_constraint_weight(), and set_default_scores().
|
private |
Referenced by apply(), constraints(), FoldConstraints(), prepare_loop_in_stage3(), prepare_loop_in_stage4(), set_max_seq_sep(), and total_res().
|
private |
Referenced by FoldConstraints(), max_seq_sep_fudge(), set_default_options(), and total_res().
|
private |
Referenced by FoldConstraints(), min_move(), min_trial(), set_min_move(), set_movemap(), and setup_default_min_move().
|
private |
Referenced by do_stage2_cycles(), FoldConstraints(), and set_default_options().
|
private |
Referenced by do_stage2_cycles(), and FoldConstraints().
|
private |
Referenced by apply(), and FoldConstraints().
|
private |
|
private |
Referenced by FoldConstraints(), prepare_loop_in_stage3(), prepare_loop_in_stage4(), set_default_options(), and set_seq_sep_stage3().
|
private |
Referenced by FoldConstraints(), prepare_loop_in_stage4(), and set_default_options().
|
private |
|
private |
Referenced by do_stage2_cycles(), FoldConstraints(), and set_default_options().
1.8.7