|
Rosetta 3.5
|
#include <ConstraintFragmentSampler.hh>


Public Member Functions | |
| ConstraintFragmentSampler (topology_broker::TopologyBrokerOP broker) | |
| This constructor does not work – Fix it before using it. More... | |
| virtual moves::MoverOP | clone () const |
| ConstraintFragmentSampler has virtual functions... use this to obtain a new instance. More... | |
| virtual void | apply (core::pose::Pose &pose) |
| virtual std::string | get_name () const |
| Each derived class must specify its name. The class name. More... | |
Public Member Functions inherited from protocols::abinitio::FragmentSampler | |
| virtual | ~FragmentSampler () |
| FragmentSampler (topology_broker::TopologyBrokerOP broker) | |
| This constructor does not work – Fix it before using it. More... | |
| virtual void | set_cycles (core::Real increase_cycles=1.0) |
| virtual void | set_score_weight (core::scoring::ScoreType, core::Real setting, StageID stage=ALL_STAGES) |
| sets a score weight for all stages of abinitio More... | |
| virtual checkpoint::CheckPointer & | get_checkpoints () |
| void | topology_broker (topology_broker::TopologyBrokerOP set) |
| core::scoring::ScoreFunction const & | current_scorefxn () const |
| bool | just_smooth_cycles () const |
| core::Size | stage1_cycles () const |
| core::Size | stage2_cycles () const |
| core::Size | stage3_cycles () const |
| void | set_stage4_cycles (core::Size stage4_cycles_new) |
| core::Size | stage4_cycles () const |
| bool | bQuickTest () const |
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 (TagPtr const tag, 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 |
| this function informs 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 |
| this function informs 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 |
| this is like clone(), except it generates a new mover object freshly created with the default ctor. This function should be pure virtual but that would disrupt the code base; MAKE SURE YOU DEFINE IT if you want to have your mover be a protocol handed to the job distributor (august 08 vintage). More... | |
| void | set_current_job (protocols::jobdist::BasicJobCOP job) |
| jobdist::BasicJobCOP | get_current_job () const |
Static Public Member Functions | |
| static void | register_options () |
Static Public Member Functions inherited from protocols::abinitio::FragmentSampler | |
| 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. these options will end up in -help of your application if users of this mover call register_options. do this recursively! if you use movers within your mover, call their register_options in your register_options() method. More... | |
Private Types | |
| typedef FragmentSampler | Parent |
| typedef moves::Mover | BaseClass |
Private Member Functions | |
| core::Real | evaluate_constraint_energy (core::pose::Pose &pose, core::scoring::ScoreFunction const &) const |
Additional Inherited Members | |
Public Types inherited from protocols::moves::Mover | |
| typedef utility::tag::TagPtr | TagPtr |
| typedef core::pose::Pose | Pose |
| typedef core::pose::PoseCOP | PoseCOP |
| typedef protocols::filters::Filters_map | Filters_map |
| typedef std::list< std::string > | Strings |
Protected Attributes inherited from protocols::abinitio::FragmentSampler | |
| Size | stage1_cycles_ |
| Size | stage2_cycles_ |
| Size | stage3_cycles_ |
| Size | stage4_cycles_ |
@ detail general usage: ConstraintFragmentSampler abinitio; abinitio.init( pose ); ... while(nstruct) { abinitio.apply( pose ); }
call ConstraintFragmentSampler::register_options() before core::init to add relevant options to the applications help
, with the following stages, all of which uses a different ScoreFunction based on the cen_std.wts in minirosetta_database:
The class implements the basic abinito approach as known from rosetta++. We tried to set this up, such that behaviour of the protocol can be changed in many different ways ( see, e.g., FoldConstraints ). To be able to change the behaviour of the protocol easily the class-apply function and methods called therein (e.g., prepare_XXX() / do_XXX_cycles() ) should not directly change moves or trials. A reference to the currently used score-function should be obtained by mc().score_function() ...
Behaviour can be changed in the following ways:
use non-classic FragmentMover –> eg. not uniformly sampled fragments, but using some weighting –> large and small moves doesn't have to be 3mers and 9mers... use other movers... —> or other fragets for the "convenience constructor" use custom trial classes –> overload update_moves()
change sampling behaviour: overload prepare_XXX() methods: these are called before the cycling for a certain stage begins overload do_stageX_cycles() : the actual loops over trial-moves ...
change scoring functions: overload set_default_scores() weight-changes effective for all stages: set_score_weight()
Definition at line 100 of file ConstraintFragmentSampler.hh.
Definition at line 102 of file ConstraintFragmentSampler.hh.
Definition at line 101 of file ConstraintFragmentSampler.hh.
| protocols::abinitio::ConstraintFragmentSampler::ConstraintFragmentSampler | ( | topology_broker::TopologyBrokerOP | broker) |
This constructor does not work – Fix it before using it.
large (stage1/stage2) small(stage2/stage3/stage4) smooth_small ( stage3/stage4)
Definition at line 100 of file ConstraintFragmentSampler.cc.
References set_defaults(), and protocols::moves::Mover::type().
Referenced by clone().
|
virtual |
Reimplemented from protocols::abinitio::FragmentSampler.
Definition at line 353 of file ConstraintFragmentSampler.cc.
References protocols::abinitio::FragmentSampler::apply(), protocols::moves::MonteCarlo::clear_poses(), core::pose::Pose::constraint_set(), constraints_, core::pose::Pose::fold_tree(), protocols::moves::Mover::get_current_tag(), protocols::abinitio::FragmentSampler::mc(), protocols::moves::MonteCarlo::reset(), core::pose::Pose::total_residue(), and tr().
|
virtual |
ConstraintFragmentSampler has virtual functions... use this to obtain a new instance.
Reimplemented from protocols::abinitio::FragmentSampler.
Definition at line 107 of file ConstraintFragmentSampler.cc.
References ConstraintFragmentSampler().
|
inlineprotected |
Definition at line 166 of file ConstraintFragmentSampler.hh.
References constraints_.
|
protectedvirtual |
Reimplemented from protocols::abinitio::FragmentSampler.
Definition at line 301 of file ConstraintFragmentSampler.cc.
References bSkipOnNoViolation_, core::pose::Pose::constraint_set(), protocols::abinitio::FragmentSampler::current_scorefxn(), protocols::abinitio::FragmentSampler::do_stage1_cycles(), evaluate_constraint_energy(), protocols::abinitio::FragmentSampler::mc(), protocols::abinitio::FragmentSampler::mc_ptr(), protocols::abinitio::FragmentSampler::mover(), seq_sep_stage(), seq_sep_stage1_, set_max_seq_sep(), show_viol_level_, protocols::abinitio::FragmentSampler::stage1_cycles(), protocols::abinitio::STAGE_1, total_res(), and tr().
|
inlineprivate |
Definition at line 384 of file ConstraintFragmentSampler.cc.
References core::scoring::angle_constraint, core::scoring::atom_pair_constraint, core::scoring::coordinate_constraint, core::scoring::dihedral_constraint, core::pose::Pose::energies(), and core::scoring::Energies::total_energies().
Referenced by do_stage1_cycles().
|
virtual |
Each derived class must specify its name. The class name.
Reimplemented from protocols::abinitio::FragmentSampler.
Definition at line 380 of file ConstraintFragmentSampler.cc.
|
inlineprotected |
Definition at line 158 of file ConstraintFragmentSampler.hh.
References max_seq_sep_fudge_.
|
inlineprotected |
Definition at line 162 of file ConstraintFragmentSampler.hh.
References max_seq_sep_fudge_.
|
protectedvirtual |
Reimplemented from protocols::abinitio::FragmentSampler.
Definition at line 342 of file ConstraintFragmentSampler.cc.
References core::pose::Pose::constraint_set(), protocols::abinitio::FragmentSampler::prepare_loop_in_stage3(), show_viol_level_, and tr().
|
protectedvirtual |
Reimplemented from protocols::abinitio::FragmentSampler.
Definition at line 348 of file ConstraintFragmentSampler.cc.
References core::pose::Pose::constraint_set(), protocols::abinitio::FragmentSampler::prepare_loop_in_stage4(), show_viol_level_, and tr().
|
protectedvirtual |
Reimplemented from protocols::abinitio::FragmentSampler.
Definition at line 329 of file ConstraintFragmentSampler.cc.
References protocols::abinitio::FragmentSampler::prepare_stage1().
|
protectedvirtual |
Reimplemented from protocols::abinitio::FragmentSampler.
Definition at line 335 of file ConstraintFragmentSampler.cc.
References core::pose::Pose::constraint_set(), protocols::abinitio::FragmentSampler::prepare_stage2(), show_viol_level_, and tr().
|
static |
Definition at line 79 of file ConstraintFragmentSampler.cc.
References protocols::moves::Mover::register_options().
|
protectedvirtual |
Reimplemented from protocols::abinitio::FragmentSampler.
Definition at line 153 of file ConstraintFragmentSampler.cc.
References bOverlapChainbreaks_, bRampChainbreaks_, bRampCoordConstraints_, core::scoring::coordinate_constraint, core::scoring::linear_chainbreak, core::scoring::overlap_chainbreak, protocols::abinitio::FragmentSampler::replace_scorefxn(), seq_sep_stage(), seq_sep_stage1_, seq_sep_stage3_, seq_sep_stage4_, protocols::abinitio::FragmentSampler::set_current_weight(), set_max_seq_sep(), protocols::abinitio::FragmentSampler::set_score_weight(), protocols::abinitio::STAGE_1, protocols::abinitio::STAGE_2, protocols::abinitio::STAGE_3a, protocols::abinitio::STAGE_3b, protocols::abinitio::STAGE_4, total_res(), core::pose::Pose::total_residue(), and tr().
|
inlineprotected |
Definition at line 122 of file ConstraintFragmentSampler.hh.
References core::scoring::atom_pair_constraint, constraint_weight_, and protocols::abinitio::FragmentSampler::set_score_weight().
Referenced by set_defaults().
|
protected |
Definition at line 112 of file ConstraintFragmentSampler.cc.
References bNoRecoverLowAtSwitch_, bOverlapChainbreaks_, bRampChainbreaks_, bRampCoordConstraints_, bSkipOnNoViolation_, core::scoring::linear_chainbreak, max_seq_sep_fudge_, core::scoring::overlap_chainbreak, seq_sep_stage1_, seq_sep_stage3_, seq_sep_stage4_, set_constraint_weight(), protocols::abinitio::FragmentSampler::set_defaults(), protocols::abinitio::FragmentSampler::set_score_weight(), show_viol_level_, core::io::serialization::size(), protocols::abinitio::STAGE_1, protocols::abinitio::STAGE_2, protocols::abinitio::STAGE_3a, protocols::abinitio::STAGE_3b, and protocols::abinitio::STAGE_4.
Referenced by ConstraintFragmentSampler().
|
protectedvirtual |
Definition at line 202 of file ConstraintFragmentSampler.cc.
References bNoRecoverLowAtSwitch_, protocols::moves::MonteCarlo::boltzmann(), core::pose::Pose::constraint_set(), constraints_, core::scoring::methods::EnergyMethodOptions::cst_max_seq_sep(), protocols::abinitio::FragmentSampler::current_scorefxn(), core::scoring::ScoreFunction::energy_method_options(), protocols::abinitio::FragmentSampler::mc(), protocols::moves::MonteCarlo::recover_low(), protocols::moves::MonteCarlo::reset(), core::scoring::ScoreFunction::set_energy_method_options(), core::scoring::ScoreFunction::show(), protocols::abinitio::FragmentSampler::topology_broker(), and tr().
Referenced by do_stage1_cycles(), and replace_scorefxn().
|
inlineprotected |
Definition at line 172 of file ConstraintFragmentSampler.hh.
References seq_sep_stage1_.
|
inlineprotected |
Definition at line 176 of file ConstraintFragmentSampler.hh.
References seq_sep_stage3_.
|
inlineprotected |
Definition at line 152 of file ConstraintFragmentSampler.hh.
References show_viol_level_.
|
protected |
Definition at line 196 of file ConstraintFragmentSampler.cc.
References constraints_, max_seq_sep_fudge_, and core::pose::Pose::total_residue().
Referenced by do_stage1_cycles(), and replace_scorefxn().
|
private |
Definition at line 189 of file ConstraintFragmentSampler.hh.
|
private |
Definition at line 203 of file ConstraintFragmentSampler.hh.
Referenced by set_defaults(), and set_max_seq_sep().
|
private |
Definition at line 212 of file ConstraintFragmentSampler.hh.
Referenced by replace_scorefxn(), and set_defaults().
|
private |
Definition at line 206 of file ConstraintFragmentSampler.hh.
Referenced by replace_scorefxn(), and set_defaults().
|
private |
Definition at line 209 of file ConstraintFragmentSampler.hh.
Referenced by replace_scorefxn(), and set_defaults().
|
private |
Definition at line 197 of file ConstraintFragmentSampler.hh.
Referenced by do_stage1_cycles(), and set_defaults().
|
private |
Definition at line 187 of file ConstraintFragmentSampler.hh.
Referenced by set_constraint_weight().
|
private |
Definition at line 186 of file ConstraintFragmentSampler.hh.
Referenced by apply(), constraints(), set_max_seq_sep(), and total_res().
|
private |
Definition at line 191 of file ConstraintFragmentSampler.hh.
Referenced by max_seq_sep_fudge(), set_defaults(), and total_res().
|
private |
Definition at line 192 of file ConstraintFragmentSampler.hh.
Referenced by do_stage1_cycles(), replace_scorefxn(), set_defaults(), and set_seq_sep_stage1().
|
private |
Definition at line 193 of file ConstraintFragmentSampler.hh.
Referenced by replace_scorefxn(), set_defaults(), and set_seq_sep_stage3().
|
private |
Definition at line 194 of file ConstraintFragmentSampler.hh.
Referenced by replace_scorefxn(), and set_defaults().
|
private |
Definition at line 200 of file ConstraintFragmentSampler.hh.
Referenced by do_stage1_cycles(), prepare_loop_in_stage3(), prepare_loop_in_stage4(), prepare_stage2(), set_defaults(), and set_show_viol_level().
1.8.4