utilities¶
Bindings for protocols::loop_modeling::utilities namespace
- class pyrosetta.rosetta.protocols.loop_modeling.utilities.AcceptanceCheck¶
Bases:
LoopMover
Apply an additional Monte Carlo acceptance check.
This class is meant to be used when you have a complex loop sampling protocol (e.g. when you are stringing together a large number of loop movers) and you want to add intermediate acceptance checks. Note that you don’t usually have to use this class, because LoopProtocol always makes an acceptance check after all the loop movers have been applied.
- apply(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, pose: pyrosetta.rosetta.core.pose.Pose) None ¶
Sample the pose in the regions specified by get_loops().
The parent class apply() method automatically sets up a fold tree (if necessary) and keeps track of whether or not the move succeeded. Child classes should reimplement do_apply() instead of this method.
C++: protocols::loop_modeling::LoopMover::apply(class core::pose::Pose &) –> void
- assign(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.AcceptanceCheck, : pyrosetta.rosetta.protocols.loop_modeling.utilities.AcceptanceCheck) pyrosetta.rosetta.protocols.loop_modeling.utilities.AcceptanceCheck ¶
C++: protocols::loop_modeling::utilities::AcceptanceCheck::operator=(const class protocols::loop_modeling::utilities::AcceptanceCheck &) –> class protocols::loop_modeling::utilities::AcceptanceCheck &
- clear_info(self: pyrosetta.rosetta.protocols.moves.Mover) None ¶
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.
clear_info is called by jd2 before calling apply
C++: protocols::moves::Mover::clear_info() –> void
- clone(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.Mover ¶
Return a clone of the Mover object.
C++: protocols::moves::Mover::clone() const –> class std::shared_ptr<class protocols::moves::Mover>
- create(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.Mover ¶
C++: protocols::moves::Mover::create() –> class std::shared_ptr<class protocols::moves::Mover>
- static define_composition_schema(xsd: utility::tag::XMLSchemaDefinition, ct_gen: utility::tag::XMLSchemaComplexTypeGenerator, subelements: utility::tag::XMLSchemaSimpleSubelementList) None ¶
C++: protocols::loop_modeling::LoopMover::define_composition_schema(class utility::tag::XMLSchemaDefinition &, class utility::tag::XMLSchemaComplexTypeGenerator &, class utility::tag::XMLSchemaSimpleSubelementList &) –> void
- fresh_instance(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.Mover ¶
Generates a new Mover object freshly created with the default ctor.
C++: protocols::moves::Mover::fresh_instance() const –> class std::shared_ptr<class protocols::moves::Mover>
- get_additional_output(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.core.pose.Pose ¶
fpd
Mechanism by which a mover may return multiple output poses from a single input pose.
Supported in JD2. Will attempt to grab additional poses until a nullptr is returned.
C++: protocols::moves::Mover::get_additional_output() –> class std::shared_ptr<class core::pose::Pose>
- get_children_names(*args, **kwargs)¶
Overloaded function.
get_children_names(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, names: pyrosetta.rosetta.utility.vector1_std_string) -> None
get_children_names(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, names: pyrosetta.rosetta.utility.vector1_std_string, indent: str) -> None
- Add the names of all the algorithms invoked by this loop mover to
the given list. Indentation is used to represent hierarchy.
C++: protocols::loop_modeling::LoopMover::get_children_names(class utility::vector1<std::string, class std::allocator<std::string > > &, std::string) const –> void
- get_current_job(self: pyrosetta.rosetta.protocols.moves.Mover) protocols::jobdist::BasicJob ¶
C++: protocols::moves::Mover::get_current_job() const –> class std::shared_ptr<const class protocols::jobdist::BasicJob>
- get_current_tag(self: pyrosetta.rosetta.protocols.moves.Mover) str ¶
- 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.
C++: protocols::moves::Mover::get_current_tag() const –> std::string
- get_input_pose(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.core.pose.Pose ¶
C++: protocols::moves::Mover::get_input_pose() const –> class std::shared_ptr<const class core::pose::Pose>
- get_last_move_status(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.MoverStatus ¶
returns status after an apply(). The job distributor (august 08 vintage) will check this function to see if your protocol wants to filter its results - if your protocol wants to say “that run was no good, skip it” then use the protected last_move_status(MoverStatus) to change the value that this function will return.
C++: protocols::moves::Mover::get_last_move_status() const –> enum protocols::moves::MoverStatus
- get_loop(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, index: int) pyrosetta.rosetta.protocols.loops.Loop ¶
Return the specified loop.
C++: protocols::loop_modeling::LoopMover::get_loop(unsigned long) const –> const class protocols::loops::Loop &
- get_loops(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover) pyrosetta.rosetta.protocols.loops.Loops ¶
Return the loops to be sampled on the next call to apply().
C++: protocols::loop_modeling::LoopMover::get_loops() –> class std::shared_ptr<class protocols::loops::Loops>
- get_name(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.AcceptanceCheck) str ¶
LoopMover::get_name
C++: protocols::loop_modeling::utilities::AcceptanceCheck::get_name() const –> std::string
- get_native_pose(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.core.pose.Pose ¶
C++: protocols::moves::Mover::get_native_pose() const –> class std::shared_ptr<const class core::pose::Pose>
- get_self_ptr(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.Mover ¶
C++: protocols::moves::Mover::get_self_ptr() –> class std::shared_ptr<class protocols::moves::Mover>
- get_self_weak_ptr(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.std.weak_ptr_protocols_moves_Mover_t ¶
C++: protocols::moves::Mover::get_self_weak_ptr() –> class std::weak_ptr<class protocols::moves::Mover>
- get_type(self: pyrosetta.rosetta.protocols.moves.Mover) str ¶
C++: protocols::moves::Mover::get_type() const –> std::string
- info(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.std.list_std_string_t ¶
non-const accessor
C++: protocols::moves::Mover::info() –> class std::list<std::string, class std::allocator<std::string > > &
- last_proposal_density_ratio(self: pyrosetta.rosetta.protocols.moves.Mover) float ¶
C++: protocols::moves::Mover::last_proposal_density_ratio() –> double
- static name() str ¶
C++: protocols::moves::Mover::name() –> std::string
- parse_my_tag(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, tag: pyrosetta.rosetta.utility.tag.Tag, data: pyrosetta.rosetta.basic.datacache.DataMap) None ¶
Configure from a RosettaScripts tag.
C++: protocols::loop_modeling::LoopMover::parse_my_tag(class std::shared_ptr<const class utility::tag::Tag>, class basic::datacache::DataMap &) –> void
- provide_citation_info(self: pyrosetta.rosetta.protocols.moves.Mover, : pyrosetta.rosetta.basic.citation_manager.CitationCollectionList) None ¶
- Provide citations to the passed CitationCollectionList
Subclasses should add the info for themselves and any other classes they use.
The default implementation of this function does nothing. It may be overriden by movers wishing to provide citation information.
C++: protocols::moves::Mover::provide_citation_info(class basic::citation_manager::CitationCollectionList &) const –> void
- static register_options() None ¶
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.
C++: protocols::moves::Mover::register_options() –> void
- reinitialize_for_each_job(self: pyrosetta.rosetta.protocols.moves.Mover) bool ¶
- Inform the Job Distributor (August ‘08 vintage) whether this object needs to be freshly regenerated on
each use.
C++: protocols::moves::Mover::reinitialize_for_each_job() const –> bool
- reinitialize_for_new_input(self: pyrosetta.rosetta.protocols.moves.Mover) bool ¶
- 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).
C++: protocols::moves::Mover::reinitialize_for_new_input() const –> bool
- request_fold_tree(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover) pyrosetta.rosetta.protocols.loop_modeling.FoldTreeRequest ¶
- Return an enum representing the kind of fold tree that is
compatible with this mover.
The FoldTreeRequest enum values can be combined using the bitwise logical operators. For example, you can request either the standard fold tree or a simple fold tree with FTR_LOOPS_WITH_CUTS | FTR_SIMPLE_TREE.
C++: protocols::loop_modeling::LoopMover::request_fold_tree() const –> enum protocols::loop_modeling::FoldTreeRequest
- reset_status(self: pyrosetta.rosetta.protocols.moves.Mover) None ¶
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.
C++: protocols::moves::Mover::reset_status() –> void
- set_current_job(self: pyrosetta.rosetta.protocols.moves.Mover, job: protocols::jobdist::BasicJob) None ¶
C++: protocols::moves::Mover::set_current_job(class std::shared_ptr<const class protocols::jobdist::BasicJob>) –> void
- set_current_tag(self: pyrosetta.rosetta.protocols.moves.Mover, new_tag: str) None ¶
C++: protocols::moves::Mover::set_current_tag(const std::string &) –> void
- set_input_pose(self: pyrosetta.rosetta.protocols.moves.Mover, pose: pyrosetta.rosetta.core.pose.Pose) None ¶
setter for poses contained for rms
C++: protocols::moves::Mover::set_input_pose(class std::shared_ptr<const class core::pose::Pose>) –> void
- set_loop(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, loop: pyrosetta.rosetta.protocols.loops.Loop) None ¶
Set the loop to be sampled on the next call to apply().
C++: protocols::loop_modeling::LoopMover::set_loop(const class protocols::loops::Loop &) –> void
- set_loops(*args, **kwargs)¶
Overloaded function.
set_loops(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, loops: pyrosetta.rosetta.protocols.loops.Loops) -> None
Set the loops to be sampled on the next call to apply().
C++: protocols::loop_modeling::LoopMover::set_loops(class std::shared_ptr<class protocols::loops::Loops>) –> void
set_loops(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, loops: pyrosetta.rosetta.protocols.loops.Loops) -> None
Set the loops to be sampled on the next call to apply().
C++: protocols::loop_modeling::LoopMover::set_loops(const class protocols::loops::Loops &) –> void
- set_native_pose(self: pyrosetta.rosetta.protocols.moves.Mover, pose: pyrosetta.rosetta.core.pose.Pose) None ¶
setter for native poses contained for rms —- we should get rid of this method? it is widely used, but a bit unsafe
C++: protocols::moves::Mover::set_native_pose(class std::shared_ptr<const class core::pose::Pose>) –> void
- set_type(self: pyrosetta.rosetta.protocols.moves.Mover, setting: str) None ¶
Set the ‘type’ string
C++: protocols::moves::Mover::set_type(const std::string &) –> void
- static setup_fold_tree(pose: pyrosetta.rosetta.core.pose.Pose, loops: pyrosetta.rosetta.protocols.loops.Loops, request: pyrosetta.rosetta.protocols.loop_modeling.FoldTreeRequest) None ¶
- Setup the given pose with a fold tree that is compatible with the
given loops and requests.
C++: protocols::loop_modeling::LoopMover::setup_fold_tree(class core::pose::Pose &, class std::shared_ptr<const class protocols::loops::Loops>, enum protocols::loop_modeling::FoldTreeRequest) –> void
- show(*args, **kwargs)¶
Overloaded function.
show(self: pyrosetta.rosetta.protocols.moves.Mover) -> None
show(self: pyrosetta.rosetta.protocols.moves.Mover, output: pyrosetta.rosetta.std.ostream) -> None
Outputs details about the Mover, including current settings.
C++: protocols::moves::Mover::show(std::ostream &) const –> void
- test_move(self: pyrosetta.rosetta.protocols.moves.Mover, pose: pyrosetta.rosetta.core.pose.Pose) None ¶
- : Unit test support function. Apply one move to a given pose.
Allows extra test specific functions to be called before applying
C++: protocols::moves::Mover::test_move(class core::pose::Pose &) –> void
- trust_fold_tree(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover) None ¶
- Promise that the calling code will setup a fold tree compatible
with request_fold_tree(). If this method is not called, this mover will setup a fold tree on its own every time apply() is called.
C++: protocols::loop_modeling::LoopMover::trust_fold_tree() –> void
- type(*args, **kwargs)¶
Overloaded function.
type(self: pyrosetta.rosetta.protocols.moves.Mover, type_in: str) -> None
Set the ‘type’ string
C++: protocols::moves::Mover::type(const std::string &) –> void
type(self: pyrosetta.rosetta.protocols.moves.Mover) -> str
Get the set ‘type’ string
C++: protocols::moves::Mover::type() const –> const std::string &
- was_successful(*args, **kwargs)¶
Overloaded function.
was_successful(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover) -> bool
Return true if the previous move was successful.
C++: protocols::loop_modeling::LoopMover::was_successful() const –> bool
was_successful(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, value: bool) -> None
Set the success status of a loop mover
C++: protocols::loop_modeling::LoopMover::was_successful(bool) –> void
- class pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopFilter¶
Bases:
LoopMover
Apply any filter in the context of a loop modeling simulation.
- apply(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, pose: pyrosetta.rosetta.core.pose.Pose) None ¶
Sample the pose in the regions specified by get_loops().
The parent class apply() method automatically sets up a fold tree (if necessary) and keeps track of whether or not the move succeeded. Child classes should reimplement do_apply() instead of this method.
C++: protocols::loop_modeling::LoopMover::apply(class core::pose::Pose &) –> void
- assign(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopFilter, : pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopFilter) pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopFilter ¶
C++: protocols::loop_modeling::utilities::LoopFilter::operator=(const class protocols::loop_modeling::utilities::LoopFilter &) –> class protocols::loop_modeling::utilities::LoopFilter &
- clear_info(self: pyrosetta.rosetta.protocols.moves.Mover) None ¶
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.
clear_info is called by jd2 before calling apply
C++: protocols::moves::Mover::clear_info() –> void
- clone(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.Mover ¶
Return a clone of the Mover object.
C++: protocols::moves::Mover::clone() const –> class std::shared_ptr<class protocols::moves::Mover>
- create(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.Mover ¶
C++: protocols::moves::Mover::create() –> class std::shared_ptr<class protocols::moves::Mover>
- static define_composition_schema(xsd: utility::tag::XMLSchemaDefinition, ct_gen: utility::tag::XMLSchemaComplexTypeGenerator, subelements: utility::tag::XMLSchemaSimpleSubelementList) None ¶
C++: protocols::loop_modeling::LoopMover::define_composition_schema(class utility::tag::XMLSchemaDefinition &, class utility::tag::XMLSchemaComplexTypeGenerator &, class utility::tag::XMLSchemaSimpleSubelementList &) –> void
- do_apply(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopFilter, pose: pyrosetta.rosetta.core.pose.Pose) bool ¶
Apply the given filter and return the result.
C++: protocols::loop_modeling::utilities::LoopFilter::do_apply(class core::pose::Pose &) –> bool
- fresh_instance(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.Mover ¶
Generates a new Mover object freshly created with the default ctor.
C++: protocols::moves::Mover::fresh_instance() const –> class std::shared_ptr<class protocols::moves::Mover>
- get_additional_output(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.core.pose.Pose ¶
fpd
Mechanism by which a mover may return multiple output poses from a single input pose.
Supported in JD2. Will attempt to grab additional poses until a nullptr is returned.
C++: protocols::moves::Mover::get_additional_output() –> class std::shared_ptr<class core::pose::Pose>
- get_children_names(*args, **kwargs)¶
Overloaded function.
get_children_names(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, names: pyrosetta.rosetta.utility.vector1_std_string) -> None
get_children_names(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, names: pyrosetta.rosetta.utility.vector1_std_string, indent: str) -> None
- Add the names of all the algorithms invoked by this loop mover to
the given list. Indentation is used to represent hierarchy.
C++: protocols::loop_modeling::LoopMover::get_children_names(class utility::vector1<std::string, class std::allocator<std::string > > &, std::string) const –> void
- get_current_job(self: pyrosetta.rosetta.protocols.moves.Mover) protocols::jobdist::BasicJob ¶
C++: protocols::moves::Mover::get_current_job() const –> class std::shared_ptr<const class protocols::jobdist::BasicJob>
- get_current_tag(self: pyrosetta.rosetta.protocols.moves.Mover) str ¶
- 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.
C++: protocols::moves::Mover::get_current_tag() const –> std::string
- get_input_pose(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.core.pose.Pose ¶
C++: protocols::moves::Mover::get_input_pose() const –> class std::shared_ptr<const class core::pose::Pose>
- get_last_move_status(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.MoverStatus ¶
returns status after an apply(). The job distributor (august 08 vintage) will check this function to see if your protocol wants to filter its results - if your protocol wants to say “that run was no good, skip it” then use the protected last_move_status(MoverStatus) to change the value that this function will return.
C++: protocols::moves::Mover::get_last_move_status() const –> enum protocols::moves::MoverStatus
- get_loop(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, index: int) pyrosetta.rosetta.protocols.loops.Loop ¶
Return the specified loop.
C++: protocols::loop_modeling::LoopMover::get_loop(unsigned long) const –> const class protocols::loops::Loop &
- get_loops(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover) pyrosetta.rosetta.protocols.loops.Loops ¶
Return the loops to be sampled on the next call to apply().
C++: protocols::loop_modeling::LoopMover::get_loops() –> class std::shared_ptr<class protocols::loops::Loops>
- get_name(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopFilter) str ¶
LoopMover::get_name
C++: protocols::loop_modeling::utilities::LoopFilter::get_name() const –> std::string
- get_native_pose(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.core.pose.Pose ¶
C++: protocols::moves::Mover::get_native_pose() const –> class std::shared_ptr<const class core::pose::Pose>
- get_self_ptr(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.Mover ¶
C++: protocols::moves::Mover::get_self_ptr() –> class std::shared_ptr<class protocols::moves::Mover>
- get_self_weak_ptr(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.std.weak_ptr_protocols_moves_Mover_t ¶
C++: protocols::moves::Mover::get_self_weak_ptr() –> class std::weak_ptr<class protocols::moves::Mover>
- get_type(self: pyrosetta.rosetta.protocols.moves.Mover) str ¶
C++: protocols::moves::Mover::get_type() const –> std::string
- info(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.std.list_std_string_t ¶
non-const accessor
C++: protocols::moves::Mover::info() –> class std::list<std::string, class std::allocator<std::string > > &
- last_proposal_density_ratio(self: pyrosetta.rosetta.protocols.moves.Mover) float ¶
C++: protocols::moves::Mover::last_proposal_density_ratio() –> double
- static name() str ¶
C++: protocols::moves::Mover::name() –> std::string
- parse_my_tag(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, tag: pyrosetta.rosetta.utility.tag.Tag, data: pyrosetta.rosetta.basic.datacache.DataMap) None ¶
Configure from a RosettaScripts tag.
C++: protocols::loop_modeling::LoopMover::parse_my_tag(class std::shared_ptr<const class utility::tag::Tag>, class basic::datacache::DataMap &) –> void
- provide_citation_info(self: pyrosetta.rosetta.protocols.moves.Mover, : pyrosetta.rosetta.basic.citation_manager.CitationCollectionList) None ¶
- Provide citations to the passed CitationCollectionList
Subclasses should add the info for themselves and any other classes they use.
The default implementation of this function does nothing. It may be overriden by movers wishing to provide citation information.
C++: protocols::moves::Mover::provide_citation_info(class basic::citation_manager::CitationCollectionList &) const –> void
- static register_options() None ¶
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.
C++: protocols::moves::Mover::register_options() –> void
- reinitialize_for_each_job(self: pyrosetta.rosetta.protocols.moves.Mover) bool ¶
- Inform the Job Distributor (August ‘08 vintage) whether this object needs to be freshly regenerated on
each use.
C++: protocols::moves::Mover::reinitialize_for_each_job() const –> bool
- reinitialize_for_new_input(self: pyrosetta.rosetta.protocols.moves.Mover) bool ¶
- 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).
C++: protocols::moves::Mover::reinitialize_for_new_input() const –> bool
- request_fold_tree(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover) pyrosetta.rosetta.protocols.loop_modeling.FoldTreeRequest ¶
- Return an enum representing the kind of fold tree that is
compatible with this mover.
The FoldTreeRequest enum values can be combined using the bitwise logical operators. For example, you can request either the standard fold tree or a simple fold tree with FTR_LOOPS_WITH_CUTS | FTR_SIMPLE_TREE.
C++: protocols::loop_modeling::LoopMover::request_fold_tree() const –> enum protocols::loop_modeling::FoldTreeRequest
- reset_status(self: pyrosetta.rosetta.protocols.moves.Mover) None ¶
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.
C++: protocols::moves::Mover::reset_status() –> void
- set_current_job(self: pyrosetta.rosetta.protocols.moves.Mover, job: protocols::jobdist::BasicJob) None ¶
C++: protocols::moves::Mover::set_current_job(class std::shared_ptr<const class protocols::jobdist::BasicJob>) –> void
- set_current_tag(self: pyrosetta.rosetta.protocols.moves.Mover, new_tag: str) None ¶
C++: protocols::moves::Mover::set_current_tag(const std::string &) –> void
- set_input_pose(self: pyrosetta.rosetta.protocols.moves.Mover, pose: pyrosetta.rosetta.core.pose.Pose) None ¶
setter for poses contained for rms
C++: protocols::moves::Mover::set_input_pose(class std::shared_ptr<const class core::pose::Pose>) –> void
- set_loop(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, loop: pyrosetta.rosetta.protocols.loops.Loop) None ¶
Set the loop to be sampled on the next call to apply().
C++: protocols::loop_modeling::LoopMover::set_loop(const class protocols::loops::Loop &) –> void
- set_loops(*args, **kwargs)¶
Overloaded function.
set_loops(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, loops: pyrosetta.rosetta.protocols.loops.Loops) -> None
Set the loops to be sampled on the next call to apply().
C++: protocols::loop_modeling::LoopMover::set_loops(class std::shared_ptr<class protocols::loops::Loops>) –> void
set_loops(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, loops: pyrosetta.rosetta.protocols.loops.Loops) -> None
Set the loops to be sampled on the next call to apply().
C++: protocols::loop_modeling::LoopMover::set_loops(const class protocols::loops::Loops &) –> void
- set_native_pose(self: pyrosetta.rosetta.protocols.moves.Mover, pose: pyrosetta.rosetta.core.pose.Pose) None ¶
setter for native poses contained for rms —- we should get rid of this method? it is widely used, but a bit unsafe
C++: protocols::moves::Mover::set_native_pose(class std::shared_ptr<const class core::pose::Pose>) –> void
- set_type(self: pyrosetta.rosetta.protocols.moves.Mover, setting: str) None ¶
Set the ‘type’ string
C++: protocols::moves::Mover::set_type(const std::string &) –> void
- static setup_fold_tree(pose: pyrosetta.rosetta.core.pose.Pose, loops: pyrosetta.rosetta.protocols.loops.Loops, request: pyrosetta.rosetta.protocols.loop_modeling.FoldTreeRequest) None ¶
- Setup the given pose with a fold tree that is compatible with the
given loops and requests.
C++: protocols::loop_modeling::LoopMover::setup_fold_tree(class core::pose::Pose &, class std::shared_ptr<const class protocols::loops::Loops>, enum protocols::loop_modeling::FoldTreeRequest) –> void
- show(*args, **kwargs)¶
Overloaded function.
show(self: pyrosetta.rosetta.protocols.moves.Mover) -> None
show(self: pyrosetta.rosetta.protocols.moves.Mover, output: pyrosetta.rosetta.std.ostream) -> None
Outputs details about the Mover, including current settings.
C++: protocols::moves::Mover::show(std::ostream &) const –> void
- test_move(self: pyrosetta.rosetta.protocols.moves.Mover, pose: pyrosetta.rosetta.core.pose.Pose) None ¶
- : Unit test support function. Apply one move to a given pose.
Allows extra test specific functions to be called before applying
C++: protocols::moves::Mover::test_move(class core::pose::Pose &) –> void
- trust_fold_tree(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover) None ¶
- Promise that the calling code will setup a fold tree compatible
with request_fold_tree(). If this method is not called, this mover will setup a fold tree on its own every time apply() is called.
C++: protocols::loop_modeling::LoopMover::trust_fold_tree() –> void
- type(*args, **kwargs)¶
Overloaded function.
type(self: pyrosetta.rosetta.protocols.moves.Mover, type_in: str) -> None
Set the ‘type’ string
C++: protocols::moves::Mover::type(const std::string &) –> void
type(self: pyrosetta.rosetta.protocols.moves.Mover) -> str
Get the set ‘type’ string
C++: protocols::moves::Mover::type() const –> const std::string &
- was_successful(*args, **kwargs)¶
Overloaded function.
was_successful(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover) -> bool
Return true if the previous move was successful.
C++: protocols::loop_modeling::LoopMover::was_successful() const –> bool
was_successful(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, value: bool) -> None
Set the success status of a loop mover
C++: protocols::loop_modeling::LoopMover::was_successful(bool) –> void
- class pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopMoverGroup¶
Bases:
LoopMover
Manage a collection of loop-sampling algorithms.
This class is meant to make a group of LoopMover objects behave like a single LoopMover. Methods like add_mover() and add_filter() are also provided to add movers to the group.
- add_filter(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopMoverGroup, filter: pyrosetta.rosetta.protocols.filters.Filter) pyrosetta.rosetta.protocols.loop_modeling.LoopMover ¶
Add a filter to this group.
C++: protocols::loop_modeling::utilities::LoopMoverGroup::add_filter(class std::shared_ptr<class protocols::filters::Filter>) –> class std::shared_ptr<class protocols::loop_modeling::LoopMover>
- add_mover(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopMoverGroup, task: pyrosetta.rosetta.protocols.loop_modeling.LoopMover) pyrosetta.rosetta.protocols.loop_modeling.LoopMover ¶
Add a mover to this group.
C++: protocols::loop_modeling::utilities::LoopMoverGroup::add_mover(class std::shared_ptr<class protocols::loop_modeling::LoopMover>) –> class std::shared_ptr<class protocols::loop_modeling::LoopMover>
- add_mover_group(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopMoverGroup) pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopMoverGroup ¶
Add a nested group to this group.
C++: protocols::loop_modeling::utilities::LoopMoverGroup::add_mover_group() –> class std::shared_ptr<class protocols::loop_modeling::utilities::LoopMoverGroup>
- apply(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, pose: pyrosetta.rosetta.core.pose.Pose) None ¶
Sample the pose in the regions specified by get_loops().
The parent class apply() method automatically sets up a fold tree (if necessary) and keeps track of whether or not the move succeeded. Child classes should reimplement do_apply() instead of this method.
C++: protocols::loop_modeling::LoopMover::apply(class core::pose::Pose &) –> void
- assign(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopMoverGroup, : pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopMoverGroup) pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopMoverGroup ¶
C++: protocols::loop_modeling::utilities::LoopMoverGroup::operator=(const class protocols::loop_modeling::utilities::LoopMoverGroup &) –> class protocols::loop_modeling::utilities::LoopMoverGroup &
- clear(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopMoverGroup) None ¶
Remove all movers and filters from this group.
C++: protocols::loop_modeling::utilities::LoopMoverGroup::clear() –> void
- clear_info(self: pyrosetta.rosetta.protocols.moves.Mover) None ¶
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.
clear_info is called by jd2 before calling apply
C++: protocols::moves::Mover::clear_info() –> void
- clone(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.Mover ¶
Return a clone of the Mover object.
C++: protocols::moves::Mover::clone() const –> class std::shared_ptr<class protocols::moves::Mover>
- create(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.Mover ¶
C++: protocols::moves::Mover::create() –> class std::shared_ptr<class protocols::moves::Mover>
- static define_composition_schema(xsd: utility::tag::XMLSchemaDefinition, ct_gen: utility::tag::XMLSchemaComplexTypeGenerator, subelements: utility::tag::XMLSchemaSimpleSubelementList) None ¶
C++: protocols::loop_modeling::LoopMover::define_composition_schema(class utility::tag::XMLSchemaDefinition &, class utility::tag::XMLSchemaComplexTypeGenerator &, class utility::tag::XMLSchemaSimpleSubelementList &) –> void
- empty(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopMoverGroup) bool ¶
Return true if no movers are contained in this group.
C++: protocols::loop_modeling::utilities::LoopMoverGroup::empty() const –> bool
- fresh_instance(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.Mover ¶
Generates a new Mover object freshly created with the default ctor.
C++: protocols::moves::Mover::fresh_instance() const –> class std::shared_ptr<class protocols::moves::Mover>
- get_additional_output(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.core.pose.Pose ¶
fpd
Mechanism by which a mover may return multiple output poses from a single input pose.
Supported in JD2. Will attempt to grab additional poses until a nullptr is returned.
C++: protocols::moves::Mover::get_additional_output() –> class std::shared_ptr<class core::pose::Pose>
- get_children_names(*args, **kwargs)¶
Overloaded function.
get_children_names(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopMoverGroup, names: pyrosetta.rosetta.utility.vector1_std_string) -> None
get_children_names(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopMoverGroup, names: pyrosetta.rosetta.utility.vector1_std_string, indent: str) -> None
- Add the names of all the algorithms invoked by this loop mover to
the given list. Indentation is used to represent hierarchy.
C++: protocols::loop_modeling::utilities::LoopMoverGroup::get_children_names(class utility::vector1<std::string, class std::allocator<std::string > > &, std::string) const –> void
- get_current_job(self: pyrosetta.rosetta.protocols.moves.Mover) protocols::jobdist::BasicJob ¶
C++: protocols::moves::Mover::get_current_job() const –> class std::shared_ptr<const class protocols::jobdist::BasicJob>
- get_current_tag(self: pyrosetta.rosetta.protocols.moves.Mover) str ¶
- 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.
C++: protocols::moves::Mover::get_current_tag() const –> std::string
- get_input_pose(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.core.pose.Pose ¶
C++: protocols::moves::Mover::get_input_pose() const –> class std::shared_ptr<const class core::pose::Pose>
- get_last_move_status(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.MoverStatus ¶
returns status after an apply(). The job distributor (august 08 vintage) will check this function to see if your protocol wants to filter its results - if your protocol wants to say “that run was no good, skip it” then use the protected last_move_status(MoverStatus) to change the value that this function will return.
C++: protocols::moves::Mover::get_last_move_status() const –> enum protocols::moves::MoverStatus
- get_loop(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, index: int) pyrosetta.rosetta.protocols.loops.Loop ¶
Return the specified loop.
C++: protocols::loop_modeling::LoopMover::get_loop(unsigned long) const –> const class protocols::loops::Loop &
- get_loops(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover) pyrosetta.rosetta.protocols.loops.Loops ¶
Return the loops to be sampled on the next call to apply().
C++: protocols::loop_modeling::LoopMover::get_loops() –> class std::shared_ptr<class protocols::loops::Loops>
- get_name(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopMoverGroup) str ¶
Return the name of this mover.
C++: protocols::loop_modeling::utilities::LoopMoverGroup::get_name() const –> std::string
- get_native_pose(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.core.pose.Pose ¶
C++: protocols::moves::Mover::get_native_pose() const –> class std::shared_ptr<const class core::pose::Pose>
- get_self_ptr(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.Mover ¶
C++: protocols::moves::Mover::get_self_ptr() –> class std::shared_ptr<class protocols::moves::Mover>
- get_self_weak_ptr(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.std.weak_ptr_protocols_moves_Mover_t ¶
C++: protocols::moves::Mover::get_self_weak_ptr() –> class std::weak_ptr<class protocols::moves::Mover>
- get_type(self: pyrosetta.rosetta.protocols.moves.Mover) str ¶
C++: protocols::moves::Mover::get_type() const –> std::string
- info(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.std.list_std_string_t ¶
non-const accessor
C++: protocols::moves::Mover::info() –> class std::list<std::string, class std::allocator<std::string > > &
- last_proposal_density_ratio(self: pyrosetta.rosetta.protocols.moves.Mover) float ¶
C++: protocols::moves::Mover::last_proposal_density_ratio() –> double
- mark_as_default(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopMoverGroup) None ¶
- Indicate that the current set of movers in this group is meant as
some sort of default, and should be cleared when a new mover is added.
C++: protocols::loop_modeling::utilities::LoopMoverGroup::mark_as_default() –> void
- static name() str ¶
C++: protocols::moves::Mover::name() –> std::string
- parse_my_tag(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, tag: pyrosetta.rosetta.utility.tag.Tag, data: pyrosetta.rosetta.basic.datacache.DataMap) None ¶
Configure from a RosettaScripts tag.
C++: protocols::loop_modeling::LoopMover::parse_my_tag(class std::shared_ptr<const class utility::tag::Tag>, class basic::datacache::DataMap &) –> void
- provide_citation_info(self: pyrosetta.rosetta.protocols.moves.Mover, : pyrosetta.rosetta.basic.citation_manager.CitationCollectionList) None ¶
- Provide citations to the passed CitationCollectionList
Subclasses should add the info for themselves and any other classes they use.
The default implementation of this function does nothing. It may be overriden by movers wishing to provide citation information.
C++: protocols::moves::Mover::provide_citation_info(class basic::citation_manager::CitationCollectionList &) const –> void
- static register_options() None ¶
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.
C++: protocols::moves::Mover::register_options() –> void
- reinitialize_for_each_job(self: pyrosetta.rosetta.protocols.moves.Mover) bool ¶
- Inform the Job Distributor (August ‘08 vintage) whether this object needs to be freshly regenerated on
each use.
C++: protocols::moves::Mover::reinitialize_for_each_job() const –> bool
- reinitialize_for_new_input(self: pyrosetta.rosetta.protocols.moves.Mover) bool ¶
- 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).
C++: protocols::moves::Mover::reinitialize_for_new_input() const –> bool
- request_fold_tree(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover) pyrosetta.rosetta.protocols.loop_modeling.FoldTreeRequest ¶
- Return an enum representing the kind of fold tree that is
compatible with this mover.
The FoldTreeRequest enum values can be combined using the bitwise logical operators. For example, you can request either the standard fold tree or a simple fold tree with FTR_LOOPS_WITH_CUTS | FTR_SIMPLE_TREE.
C++: protocols::loop_modeling::LoopMover::request_fold_tree() const –> enum protocols::loop_modeling::FoldTreeRequest
- reset_status(self: pyrosetta.rosetta.protocols.moves.Mover) None ¶
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.
C++: protocols::moves::Mover::reset_status() –> void
- set_current_job(self: pyrosetta.rosetta.protocols.moves.Mover, job: protocols::jobdist::BasicJob) None ¶
C++: protocols::moves::Mover::set_current_job(class std::shared_ptr<const class protocols::jobdist::BasicJob>) –> void
- set_current_tag(self: pyrosetta.rosetta.protocols.moves.Mover, new_tag: str) None ¶
C++: protocols::moves::Mover::set_current_tag(const std::string &) –> void
- set_input_pose(self: pyrosetta.rosetta.protocols.moves.Mover, pose: pyrosetta.rosetta.core.pose.Pose) None ¶
setter for poses contained for rms
C++: protocols::moves::Mover::set_input_pose(class std::shared_ptr<const class core::pose::Pose>) –> void
- set_loop(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, loop: pyrosetta.rosetta.protocols.loops.Loop) None ¶
Set the loop to be sampled on the next call to apply().
C++: protocols::loop_modeling::LoopMover::set_loop(const class protocols::loops::Loop &) –> void
- set_loops(*args, **kwargs)¶
Overloaded function.
set_loops(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, loops: pyrosetta.rosetta.protocols.loops.Loops) -> None
Set the loops to be sampled on the next call to apply().
C++: protocols::loop_modeling::LoopMover::set_loops(class std::shared_ptr<class protocols::loops::Loops>) –> void
set_loops(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, loops: pyrosetta.rosetta.protocols.loops.Loops) -> None
Set the loops to be sampled on the next call to apply().
C++: protocols::loop_modeling::LoopMover::set_loops(const class protocols::loops::Loops &) –> void
- set_native_pose(self: pyrosetta.rosetta.protocols.moves.Mover, pose: pyrosetta.rosetta.core.pose.Pose) None ¶
setter for native poses contained for rms —- we should get rid of this method? it is widely used, but a bit unsafe
C++: protocols::moves::Mover::set_native_pose(class std::shared_ptr<const class core::pose::Pose>) –> void
- set_type(self: pyrosetta.rosetta.protocols.moves.Mover, setting: str) None ¶
Set the ‘type’ string
C++: protocols::moves::Mover::set_type(const std::string &) –> void
- static setup_fold_tree(pose: pyrosetta.rosetta.core.pose.Pose, loops: pyrosetta.rosetta.protocols.loops.Loops, request: pyrosetta.rosetta.protocols.loop_modeling.FoldTreeRequest) None ¶
- Setup the given pose with a fold tree that is compatible with the
given loops and requests.
C++: protocols::loop_modeling::LoopMover::setup_fold_tree(class core::pose::Pose &, class std::shared_ptr<const class protocols::loops::Loops>, enum protocols::loop_modeling::FoldTreeRequest) –> void
- show(*args, **kwargs)¶
Overloaded function.
show(self: pyrosetta.rosetta.protocols.moves.Mover) -> None
show(self: pyrosetta.rosetta.protocols.moves.Mover, output: pyrosetta.rosetta.std.ostream) -> None
Outputs details about the Mover, including current settings.
C++: protocols::moves::Mover::show(std::ostream &) const –> void
- test_move(self: pyrosetta.rosetta.protocols.moves.Mover, pose: pyrosetta.rosetta.core.pose.Pose) None ¶
- : Unit test support function. Apply one move to a given pose.
Allows extra test specific functions to be called before applying
C++: protocols::moves::Mover::test_move(class core::pose::Pose &) –> void
- trust_fold_tree(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover) None ¶
- Promise that the calling code will setup a fold tree compatible
with request_fold_tree(). If this method is not called, this mover will setup a fold tree on its own every time apply() is called.
C++: protocols::loop_modeling::LoopMover::trust_fold_tree() –> void
- type(*args, **kwargs)¶
Overloaded function.
type(self: pyrosetta.rosetta.protocols.moves.Mover, type_in: str) -> None
Set the ‘type’ string
C++: protocols::moves::Mover::type(const std::string &) –> void
type(self: pyrosetta.rosetta.protocols.moves.Mover) -> str
Get the set ‘type’ string
C++: protocols::moves::Mover::type() const –> const std::string &
- was_successful(*args, **kwargs)¶
Overloaded function.
was_successful(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover) -> bool
Return true if the previous move was successful.
C++: protocols::loop_modeling::LoopMover::was_successful() const –> bool
was_successful(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, value: bool) -> None
Set the success status of a loop mover
C++: protocols::loop_modeling::LoopMover::was_successful(bool) –> void
- class pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForCentroid¶
Bases:
LoopMover
Convert a pose to centroid mode for low-resolution loop modeling.
- apply(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, pose: pyrosetta.rosetta.core.pose.Pose) None ¶
Sample the pose in the regions specified by get_loops().
The parent class apply() method automatically sets up a fold tree (if necessary) and keeps track of whether or not the move succeeded. Child classes should reimplement do_apply() instead of this method.
C++: protocols::loop_modeling::LoopMover::apply(class core::pose::Pose &) –> void
- assign(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForCentroid, : pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForCentroid) pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForCentroid ¶
C++: protocols::loop_modeling::utilities::PrepareForCentroid::operator=(const class protocols::loop_modeling::utilities::PrepareForCentroid &) –> class protocols::loop_modeling::utilities::PrepareForCentroid &
- clear_info(self: pyrosetta.rosetta.protocols.moves.Mover) None ¶
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.
clear_info is called by jd2 before calling apply
C++: protocols::moves::Mover::clear_info() –> void
- clone(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.Mover ¶
Return a clone of the Mover object.
C++: protocols::moves::Mover::clone() const –> class std::shared_ptr<class protocols::moves::Mover>
- create(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.Mover ¶
C++: protocols::moves::Mover::create() –> class std::shared_ptr<class protocols::moves::Mover>
- static define_composition_schema(xsd: utility::tag::XMLSchemaDefinition, ct_gen: utility::tag::XMLSchemaComplexTypeGenerator, subelements: utility::tag::XMLSchemaSimpleSubelementList) None ¶
C++: protocols::loop_modeling::LoopMover::define_composition_schema(class utility::tag::XMLSchemaDefinition &, class utility::tag::XMLSchemaComplexTypeGenerator &, class utility::tag::XMLSchemaSimpleSubelementList &) –> void
- fresh_instance(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.Mover ¶
Generates a new Mover object freshly created with the default ctor.
C++: protocols::moves::Mover::fresh_instance() const –> class std::shared_ptr<class protocols::moves::Mover>
- get_additional_output(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.core.pose.Pose ¶
fpd
Mechanism by which a mover may return multiple output poses from a single input pose.
Supported in JD2. Will attempt to grab additional poses until a nullptr is returned.
C++: protocols::moves::Mover::get_additional_output() –> class std::shared_ptr<class core::pose::Pose>
- get_children_names(*args, **kwargs)¶
Overloaded function.
get_children_names(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, names: pyrosetta.rosetta.utility.vector1_std_string) -> None
get_children_names(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, names: pyrosetta.rosetta.utility.vector1_std_string, indent: str) -> None
- Add the names of all the algorithms invoked by this loop mover to
the given list. Indentation is used to represent hierarchy.
C++: protocols::loop_modeling::LoopMover::get_children_names(class utility::vector1<std::string, class std::allocator<std::string > > &, std::string) const –> void
- get_current_job(self: pyrosetta.rosetta.protocols.moves.Mover) protocols::jobdist::BasicJob ¶
C++: protocols::moves::Mover::get_current_job() const –> class std::shared_ptr<const class protocols::jobdist::BasicJob>
- get_current_tag(self: pyrosetta.rosetta.protocols.moves.Mover) str ¶
- 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.
C++: protocols::moves::Mover::get_current_tag() const –> std::string
- get_input_pose(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.core.pose.Pose ¶
C++: protocols::moves::Mover::get_input_pose() const –> class std::shared_ptr<const class core::pose::Pose>
- get_last_move_status(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.MoverStatus ¶
returns status after an apply(). The job distributor (august 08 vintage) will check this function to see if your protocol wants to filter its results - if your protocol wants to say “that run was no good, skip it” then use the protected last_move_status(MoverStatus) to change the value that this function will return.
C++: protocols::moves::Mover::get_last_move_status() const –> enum protocols::moves::MoverStatus
- get_loop(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, index: int) pyrosetta.rosetta.protocols.loops.Loop ¶
Return the specified loop.
C++: protocols::loop_modeling::LoopMover::get_loop(unsigned long) const –> const class protocols::loops::Loop &
- get_loops(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover) pyrosetta.rosetta.protocols.loops.Loops ¶
Return the loops to be sampled on the next call to apply().
C++: protocols::loop_modeling::LoopMover::get_loops() –> class std::shared_ptr<class protocols::loops::Loops>
- get_name(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForCentroid) str ¶
LoopMover::get_name
C++: protocols::loop_modeling::utilities::PrepareForCentroid::get_name() const –> std::string
- get_native_pose(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.core.pose.Pose ¶
C++: protocols::moves::Mover::get_native_pose() const –> class std::shared_ptr<const class core::pose::Pose>
- get_self_ptr(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.Mover ¶
C++: protocols::moves::Mover::get_self_ptr() –> class std::shared_ptr<class protocols::moves::Mover>
- get_self_weak_ptr(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.std.weak_ptr_protocols_moves_Mover_t ¶
C++: protocols::moves::Mover::get_self_weak_ptr() –> class std::weak_ptr<class protocols::moves::Mover>
- get_type(self: pyrosetta.rosetta.protocols.moves.Mover) str ¶
C++: protocols::moves::Mover::get_type() const –> std::string
- info(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.std.list_std_string_t ¶
non-const accessor
C++: protocols::moves::Mover::info() –> class std::list<std::string, class std::allocator<std::string > > &
- last_proposal_density_ratio(self: pyrosetta.rosetta.protocols.moves.Mover) float ¶
C++: protocols::moves::Mover::last_proposal_density_ratio() –> double
- static mover_name() str ¶
C++: protocols::loop_modeling::utilities::PrepareForCentroid::mover_name() –> std::string
- static name() str ¶
C++: protocols::moves::Mover::name() –> std::string
- parse_my_tag(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, tag: pyrosetta.rosetta.utility.tag.Tag, data: pyrosetta.rosetta.basic.datacache.DataMap) None ¶
Configure from a RosettaScripts tag.
C++: protocols::loop_modeling::LoopMover::parse_my_tag(class std::shared_ptr<const class utility::tag::Tag>, class basic::datacache::DataMap &) –> void
- provide_citation_info(self: pyrosetta.rosetta.protocols.moves.Mover, : pyrosetta.rosetta.basic.citation_manager.CitationCollectionList) None ¶
- Provide citations to the passed CitationCollectionList
Subclasses should add the info for themselves and any other classes they use.
The default implementation of this function does nothing. It may be overriden by movers wishing to provide citation information.
C++: protocols::moves::Mover::provide_citation_info(class basic::citation_manager::CitationCollectionList &) const –> void
- static provide_xml_schema(xsd: utility::tag::XMLSchemaDefinition) None ¶
C++: protocols::loop_modeling::utilities::PrepareForCentroid::provide_xml_schema(class utility::tag::XMLSchemaDefinition &) –> void
- static register_options() None ¶
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.
C++: protocols::moves::Mover::register_options() –> void
- reinitialize_for_each_job(self: pyrosetta.rosetta.protocols.moves.Mover) bool ¶
- Inform the Job Distributor (August ‘08 vintage) whether this object needs to be freshly regenerated on
each use.
C++: protocols::moves::Mover::reinitialize_for_each_job() const –> bool
- reinitialize_for_new_input(self: pyrosetta.rosetta.protocols.moves.Mover) bool ¶
- 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).
C++: protocols::moves::Mover::reinitialize_for_new_input() const –> bool
- request_fold_tree(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover) pyrosetta.rosetta.protocols.loop_modeling.FoldTreeRequest ¶
- Return an enum representing the kind of fold tree that is
compatible with this mover.
The FoldTreeRequest enum values can be combined using the bitwise logical operators. For example, you can request either the standard fold tree or a simple fold tree with FTR_LOOPS_WITH_CUTS | FTR_SIMPLE_TREE.
C++: protocols::loop_modeling::LoopMover::request_fold_tree() const –> enum protocols::loop_modeling::FoldTreeRequest
- reset_status(self: pyrosetta.rosetta.protocols.moves.Mover) None ¶
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.
C++: protocols::moves::Mover::reset_status() –> void
- set_current_job(self: pyrosetta.rosetta.protocols.moves.Mover, job: protocols::jobdist::BasicJob) None ¶
C++: protocols::moves::Mover::set_current_job(class std::shared_ptr<const class protocols::jobdist::BasicJob>) –> void
- set_current_tag(self: pyrosetta.rosetta.protocols.moves.Mover, new_tag: str) None ¶
C++: protocols::moves::Mover::set_current_tag(const std::string &) –> void
- set_input_pose(self: pyrosetta.rosetta.protocols.moves.Mover, pose: pyrosetta.rosetta.core.pose.Pose) None ¶
setter for poses contained for rms
C++: protocols::moves::Mover::set_input_pose(class std::shared_ptr<const class core::pose::Pose>) –> void
- set_loop(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, loop: pyrosetta.rosetta.protocols.loops.Loop) None ¶
Set the loop to be sampled on the next call to apply().
C++: protocols::loop_modeling::LoopMover::set_loop(const class protocols::loops::Loop &) –> void
- set_loops(*args, **kwargs)¶
Overloaded function.
set_loops(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, loops: pyrosetta.rosetta.protocols.loops.Loops) -> None
Set the loops to be sampled on the next call to apply().
C++: protocols::loop_modeling::LoopMover::set_loops(class std::shared_ptr<class protocols::loops::Loops>) –> void
set_loops(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, loops: pyrosetta.rosetta.protocols.loops.Loops) -> None
Set the loops to be sampled on the next call to apply().
C++: protocols::loop_modeling::LoopMover::set_loops(const class protocols::loops::Loops &) –> void
- set_native_pose(self: pyrosetta.rosetta.protocols.moves.Mover, pose: pyrosetta.rosetta.core.pose.Pose) None ¶
setter for native poses contained for rms —- we should get rid of this method? it is widely used, but a bit unsafe
C++: protocols::moves::Mover::set_native_pose(class std::shared_ptr<const class core::pose::Pose>) –> void
- set_type(self: pyrosetta.rosetta.protocols.moves.Mover, setting: str) None ¶
Set the ‘type’ string
C++: protocols::moves::Mover::set_type(const std::string &) –> void
- static setup_fold_tree(pose: pyrosetta.rosetta.core.pose.Pose, loops: pyrosetta.rosetta.protocols.loops.Loops, request: pyrosetta.rosetta.protocols.loop_modeling.FoldTreeRequest) None ¶
- Setup the given pose with a fold tree that is compatible with the
given loops and requests.
C++: protocols::loop_modeling::LoopMover::setup_fold_tree(class core::pose::Pose &, class std::shared_ptr<const class protocols::loops::Loops>, enum protocols::loop_modeling::FoldTreeRequest) –> void
- show(*args, **kwargs)¶
Overloaded function.
show(self: pyrosetta.rosetta.protocols.moves.Mover) -> None
show(self: pyrosetta.rosetta.protocols.moves.Mover, output: pyrosetta.rosetta.std.ostream) -> None
Outputs details about the Mover, including current settings.
C++: protocols::moves::Mover::show(std::ostream &) const –> void
- test_move(self: pyrosetta.rosetta.protocols.moves.Mover, pose: pyrosetta.rosetta.core.pose.Pose) None ¶
- : Unit test support function. Apply one move to a given pose.
Allows extra test specific functions to be called before applying
C++: protocols::moves::Mover::test_move(class core::pose::Pose &) –> void
- trust_fold_tree(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover) None ¶
- Promise that the calling code will setup a fold tree compatible
with request_fold_tree(). If this method is not called, this mover will setup a fold tree on its own every time apply() is called.
C++: protocols::loop_modeling::LoopMover::trust_fold_tree() –> void
- type(*args, **kwargs)¶
Overloaded function.
type(self: pyrosetta.rosetta.protocols.moves.Mover, type_in: str) -> None
Set the ‘type’ string
C++: protocols::moves::Mover::type(const std::string &) –> void
type(self: pyrosetta.rosetta.protocols.moves.Mover) -> str
Get the set ‘type’ string
C++: protocols::moves::Mover::type() const –> const std::string &
- was_successful(*args, **kwargs)¶
Overloaded function.
was_successful(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover) -> bool
Return true if the previous move was successful.
C++: protocols::loop_modeling::LoopMover::was_successful() const –> bool
was_successful(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, value: bool) -> None
Set the success status of a loop mover
C++: protocols::loop_modeling::LoopMover::was_successful(bool) –> void
- class pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForCentroidCreator¶
Bases:
MoverCreator
- assign(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForCentroidCreator, : pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForCentroidCreator) pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForCentroidCreator ¶
C++: protocols::loop_modeling::utilities::PrepareForCentroidCreator::operator=(const class protocols::loop_modeling::utilities::PrepareForCentroidCreator &) –> class protocols::loop_modeling::utilities::PrepareForCentroidCreator &
- create_mover(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForCentroidCreator) pyrosetta.rosetta.protocols.moves.Mover ¶
C++: protocols::loop_modeling::utilities::PrepareForCentroidCreator::create_mover() const –> class std::shared_ptr<class protocols::moves::Mover>
- keyname(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForCentroidCreator) str ¶
C++: protocols::loop_modeling::utilities::PrepareForCentroidCreator::keyname() const –> std::string
- class pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForFullatom¶
Bases:
LoopMover
Convert a pose to fullatom mode for high-resolution loop modeling.
Before we start high-resolution loop modeling, we need to make sure that all the residues in the pose have sidechains. There are three ways this could happen. This first is that the pose is already in fullatom mode and we don’t have to do anything. This is important to check, because we don’t want to mess anything up if low-resolution loop modeling was skipped. The second is by copying sidechains from the original structure, except for those in regions where the backbone was moved, which have to be repacked. This is the default action. The third option, which has to be explicitly requested, is to simply repack everything.
- apply(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, pose: pyrosetta.rosetta.core.pose.Pose) None ¶
Sample the pose in the regions specified by get_loops().
The parent class apply() method automatically sets up a fold tree (if necessary) and keeps track of whether or not the move succeeded. Child classes should reimplement do_apply() instead of this method.
C++: protocols::loop_modeling::LoopMover::apply(class core::pose::Pose &) –> void
- assign(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForFullatom, : pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForFullatom) pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForFullatom ¶
C++: protocols::loop_modeling::utilities::PrepareForFullatom::operator=(const class protocols::loop_modeling::utilities::PrepareForFullatom &) –> class protocols::loop_modeling::utilities::PrepareForFullatom &
- clear_info(self: pyrosetta.rosetta.protocols.moves.Mover) None ¶
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.
clear_info is called by jd2 before calling apply
C++: protocols::moves::Mover::clear_info() –> void
- clone(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.Mover ¶
Return a clone of the Mover object.
C++: protocols::moves::Mover::clone() const –> class std::shared_ptr<class protocols::moves::Mover>
- create(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.Mover ¶
C++: protocols::moves::Mover::create() –> class std::shared_ptr<class protocols::moves::Mover>
- static define_composition_schema(xsd: utility::tag::XMLSchemaDefinition, ct_gen: utility::tag::XMLSchemaComplexTypeGenerator, subelements: utility::tag::XMLSchemaSimpleSubelementList) None ¶
C++: protocols::loop_modeling::LoopMover::define_composition_schema(class utility::tag::XMLSchemaDefinition &, class utility::tag::XMLSchemaComplexTypeGenerator &, class utility::tag::XMLSchemaSimpleSubelementList &) –> void
- fresh_instance(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.Mover ¶
Generates a new Mover object freshly created with the default ctor.
C++: protocols::moves::Mover::fresh_instance() const –> class std::shared_ptr<class protocols::moves::Mover>
- get_additional_output(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.core.pose.Pose ¶
fpd
Mechanism by which a mover may return multiple output poses from a single input pose.
Supported in JD2. Will attempt to grab additional poses until a nullptr is returned.
C++: protocols::moves::Mover::get_additional_output() –> class std::shared_ptr<class core::pose::Pose>
- get_children_names(*args, **kwargs)¶
Overloaded function.
get_children_names(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, names: pyrosetta.rosetta.utility.vector1_std_string) -> None
get_children_names(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, names: pyrosetta.rosetta.utility.vector1_std_string, indent: str) -> None
- Add the names of all the algorithms invoked by this loop mover to
the given list. Indentation is used to represent hierarchy.
C++: protocols::loop_modeling::LoopMover::get_children_names(class utility::vector1<std::string, class std::allocator<std::string > > &, std::string) const –> void
- get_current_job(self: pyrosetta.rosetta.protocols.moves.Mover) protocols::jobdist::BasicJob ¶
C++: protocols::moves::Mover::get_current_job() const –> class std::shared_ptr<const class protocols::jobdist::BasicJob>
- get_current_tag(self: pyrosetta.rosetta.protocols.moves.Mover) str ¶
- 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.
C++: protocols::moves::Mover::get_current_tag() const –> std::string
- get_input_pose(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.core.pose.Pose ¶
C++: protocols::moves::Mover::get_input_pose() const –> class std::shared_ptr<const class core::pose::Pose>
- get_last_move_status(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.MoverStatus ¶
returns status after an apply(). The job distributor (august 08 vintage) will check this function to see if your protocol wants to filter its results - if your protocol wants to say “that run was no good, skip it” then use the protected last_move_status(MoverStatus) to change the value that this function will return.
C++: protocols::moves::Mover::get_last_move_status() const –> enum protocols::moves::MoverStatus
- get_loop(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, index: int) pyrosetta.rosetta.protocols.loops.Loop ¶
Return the specified loop.
C++: protocols::loop_modeling::LoopMover::get_loop(unsigned long) const –> const class protocols::loops::Loop &
- get_loops(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover) pyrosetta.rosetta.protocols.loops.Loops ¶
Return the loops to be sampled on the next call to apply().
C++: protocols::loop_modeling::LoopMover::get_loops() –> class std::shared_ptr<class protocols::loops::Loops>
- get_name(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForFullatom) str ¶
C++: protocols::loop_modeling::utilities::PrepareForFullatom::get_name() const –> std::string
- get_native_pose(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.core.pose.Pose ¶
C++: protocols::moves::Mover::get_native_pose() const –> class std::shared_ptr<const class core::pose::Pose>
- get_score_function(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForFullatom) pyrosetta.rosetta.core.scoring.ScoreFunction ¶
Get the score function to be used on the next call to apply().
C++: protocols::loop_modeling::utilities::PrepareForFullatom::get_score_function() –> class std::shared_ptr<class core::scoring::ScoreFunction>
- get_self_ptr(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.Mover ¶
C++: protocols::moves::Mover::get_self_ptr() –> class std::shared_ptr<class protocols::moves::Mover>
- get_self_weak_ptr(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.std.weak_ptr_protocols_moves_Mover_t ¶
C++: protocols::moves::Mover::get_self_weak_ptr() –> class std::weak_ptr<class protocols::moves::Mover>
- get_type(self: pyrosetta.rosetta.protocols.moves.Mover) str ¶
C++: protocols::moves::Mover::get_type() const –> std::string
- info(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.std.list_std_string_t ¶
non-const accessor
C++: protocols::moves::Mover::info() –> class std::list<std::string, class std::allocator<std::string > > &
- last_proposal_density_ratio(self: pyrosetta.rosetta.protocols.moves.Mover) float ¶
C++: protocols::moves::Mover::last_proposal_density_ratio() –> double
- static mover_name() str ¶
C++: protocols::loop_modeling::utilities::PrepareForFullatom::mover_name() –> std::string
- static name() str ¶
C++: protocols::moves::Mover::name() –> std::string
- parse_my_tag(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForFullatom, tag: pyrosetta.rosetta.utility.tag.Tag, data: pyrosetta.rosetta.basic.datacache.DataMap) None ¶
LoopMover::parse_my_tag
C++: protocols::loop_modeling::utilities::PrepareForFullatom::parse_my_tag(class std::shared_ptr<const class utility::tag::Tag>, class basic::datacache::DataMap &) –> void
- provide_citation_info(self: pyrosetta.rosetta.protocols.moves.Mover, : pyrosetta.rosetta.basic.citation_manager.CitationCollectionList) None ¶
- Provide citations to the passed CitationCollectionList
Subclasses should add the info for themselves and any other classes they use.
The default implementation of this function does nothing. It may be overriden by movers wishing to provide citation information.
C++: protocols::moves::Mover::provide_citation_info(class basic::citation_manager::CitationCollectionList &) const –> void
- static provide_xml_schema(xsd: utility::tag::XMLSchemaDefinition) None ¶
C++: protocols::loop_modeling::utilities::PrepareForFullatom::provide_xml_schema(class utility::tag::XMLSchemaDefinition &) –> void
- static register_options() None ¶
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.
C++: protocols::moves::Mover::register_options() –> void
- reinitialize_for_each_job(self: pyrosetta.rosetta.protocols.moves.Mover) bool ¶
- Inform the Job Distributor (August ‘08 vintage) whether this object needs to be freshly regenerated on
each use.
C++: protocols::moves::Mover::reinitialize_for_each_job() const –> bool
- reinitialize_for_new_input(self: pyrosetta.rosetta.protocols.moves.Mover) bool ¶
- 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).
C++: protocols::moves::Mover::reinitialize_for_new_input() const –> bool
- request_fold_tree(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover) pyrosetta.rosetta.protocols.loop_modeling.FoldTreeRequest ¶
- Return an enum representing the kind of fold tree that is
compatible with this mover.
The FoldTreeRequest enum values can be combined using the bitwise logical operators. For example, you can request either the standard fold tree or a simple fold tree with FTR_LOOPS_WITH_CUTS | FTR_SIMPLE_TREE.
C++: protocols::loop_modeling::LoopMover::request_fold_tree() const –> enum protocols::loop_modeling::FoldTreeRequest
- reset_status(self: pyrosetta.rosetta.protocols.moves.Mover) None ¶
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.
C++: protocols::moves::Mover::reset_status() –> void
- set_current_job(self: pyrosetta.rosetta.protocols.moves.Mover, job: protocols::jobdist::BasicJob) None ¶
C++: protocols::moves::Mover::set_current_job(class std::shared_ptr<const class protocols::jobdist::BasicJob>) –> void
- set_current_tag(self: pyrosetta.rosetta.protocols.moves.Mover, new_tag: str) None ¶
C++: protocols::moves::Mover::set_current_tag(const std::string &) –> void
- set_force_repack(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForFullatom, value: bool) None ¶
Guarantee the pose is repacked before the fullatom stage.
C++: protocols::loop_modeling::utilities::PrepareForFullatom::set_force_repack(bool) –> void
- set_input_pose(self: pyrosetta.rosetta.protocols.moves.Mover, pose: pyrosetta.rosetta.core.pose.Pose) None ¶
setter for poses contained for rms
C++: protocols::moves::Mover::set_input_pose(class std::shared_ptr<const class core::pose::Pose>) –> void
- set_loop(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, loop: pyrosetta.rosetta.protocols.loops.Loop) None ¶
Set the loop to be sampled on the next call to apply().
C++: protocols::loop_modeling::LoopMover::set_loop(const class protocols::loops::Loop &) –> void
- set_loops(*args, **kwargs)¶
Overloaded function.
set_loops(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, loops: pyrosetta.rosetta.protocols.loops.Loops) -> None
Set the loops to be sampled on the next call to apply().
C++: protocols::loop_modeling::LoopMover::set_loops(class std::shared_ptr<class protocols::loops::Loops>) –> void
set_loops(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, loops: pyrosetta.rosetta.protocols.loops.Loops) -> None
Set the loops to be sampled on the next call to apply().
C++: protocols::loop_modeling::LoopMover::set_loops(const class protocols::loops::Loops &) –> void
- set_native_pose(self: pyrosetta.rosetta.protocols.moves.Mover, pose: pyrosetta.rosetta.core.pose.Pose) None ¶
setter for native poses contained for rms —- we should get rid of this method? it is widely used, but a bit unsafe
C++: protocols::moves::Mover::set_native_pose(class std::shared_ptr<const class core::pose::Pose>) –> void
- set_original_pose(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForFullatom, pose: pyrosetta.rosetta.core.pose.Pose) None ¶
Set the original pose. This must be called before apply().
C++: protocols::loop_modeling::utilities::PrepareForFullatom::set_original_pose(const class core::pose::Pose &) –> void
- set_score_function(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForFullatom, score_function: pyrosetta.rosetta.core.scoring.ScoreFunction) None ¶
Set the score function to be used on the next call to apply().
C++: protocols::loop_modeling::utilities::PrepareForFullatom::set_score_function(class std::shared_ptr<class core::scoring::ScoreFunction>) –> void
- set_type(self: pyrosetta.rosetta.protocols.moves.Mover, setting: str) None ¶
Set the ‘type’ string
C++: protocols::moves::Mover::set_type(const std::string &) –> void
- static setup_fold_tree(pose: pyrosetta.rosetta.core.pose.Pose, loops: pyrosetta.rosetta.protocols.loops.Loops, request: pyrosetta.rosetta.protocols.loop_modeling.FoldTreeRequest) None ¶
- Setup the given pose with a fold tree that is compatible with the
given loops and requests.
C++: protocols::loop_modeling::LoopMover::setup_fold_tree(class core::pose::Pose &, class std::shared_ptr<const class protocols::loops::Loops>, enum protocols::loop_modeling::FoldTreeRequest) –> void
- show(*args, **kwargs)¶
Overloaded function.
show(self: pyrosetta.rosetta.protocols.moves.Mover) -> None
show(self: pyrosetta.rosetta.protocols.moves.Mover, output: pyrosetta.rosetta.std.ostream) -> None
Outputs details about the Mover, including current settings.
C++: protocols::moves::Mover::show(std::ostream &) const –> void
- test_move(self: pyrosetta.rosetta.protocols.moves.Mover, pose: pyrosetta.rosetta.core.pose.Pose) None ¶
- : Unit test support function. Apply one move to a given pose.
Allows extra test specific functions to be called before applying
C++: protocols::moves::Mover::test_move(class core::pose::Pose &) –> void
- trust_fold_tree(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover) None ¶
- Promise that the calling code will setup a fold tree compatible
with request_fold_tree(). If this method is not called, this mover will setup a fold tree on its own every time apply() is called.
C++: protocols::loop_modeling::LoopMover::trust_fold_tree() –> void
- type(*args, **kwargs)¶
Overloaded function.
type(self: pyrosetta.rosetta.protocols.moves.Mover, type_in: str) -> None
Set the ‘type’ string
C++: protocols::moves::Mover::type(const std::string &) –> void
type(self: pyrosetta.rosetta.protocols.moves.Mover) -> str
Get the set ‘type’ string
C++: protocols::moves::Mover::type() const –> const std::string &
- was_successful(*args, **kwargs)¶
Overloaded function.
was_successful(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover) -> bool
Return true if the previous move was successful.
C++: protocols::loop_modeling::LoopMover::was_successful() const –> bool
was_successful(self: pyrosetta.rosetta.protocols.loop_modeling.LoopMover, value: bool) -> None
Set the success status of a loop mover
C++: protocols::loop_modeling::LoopMover::was_successful(bool) –> void
- class pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForFullatomCreator¶
Bases:
MoverCreator
- assign(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForFullatomCreator, : pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForFullatomCreator) pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForFullatomCreator ¶
C++: protocols::loop_modeling::utilities::PrepareForFullatomCreator::operator=(const class protocols::loop_modeling::utilities::PrepareForFullatomCreator &) –> class protocols::loop_modeling::utilities::PrepareForFullatomCreator &
- create_mover(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForFullatomCreator) pyrosetta.rosetta.protocols.moves.Mover ¶
C++: protocols::loop_modeling::utilities::PrepareForFullatomCreator::create_mover() const –> class std::shared_ptr<class protocols::moves::Mover>
- keyname(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForFullatomCreator) str ¶
C++: protocols::loop_modeling::utilities::PrepareForFullatomCreator::keyname() const –> std::string
- class pyrosetta.rosetta.protocols.loop_modeling.utilities.TrajectoryLogger¶
Bases:
pybind11_object
Log a detailed account of everything that happens in a loop modeling simulation.
Basic usage is to initialize the logger either with one of the constructors or the init() method, then to call the record methods (e.g. record_move()) whenever something of note happens. The record method were written with LoopProtocol and LoopBuilder in mind, so you may have to add some of your own record methods if you want to use this logger with another LoopMover subclass.
- assign(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.TrajectoryLogger, : pyrosetta.rosetta.protocols.loop_modeling.utilities.TrajectoryLogger) pyrosetta.rosetta.protocols.loop_modeling.utilities.TrajectoryLogger ¶
C++: protocols::loop_modeling::utilities::TrajectoryLogger::operator=(const class protocols::loop_modeling::utilities::TrajectoryLogger &) –> class protocols::loop_modeling::utilities::TrajectoryLogger &
- get_loops(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.TrajectoryLogger) pyrosetta.rosetta.protocols.loops.Loops ¶
- Get the region of the protein where an backbone heavy-atom RMSD
will be calculated for each step in the trajectory.
C++: protocols::loop_modeling::utilities::TrajectoryLogger::get_loops() const –> class std::shared_ptr<const class protocols::loops::Loops>
- get_native_pose(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.TrajectoryLogger) pyrosetta.rosetta.core.pose.Pose ¶
Get the reference structure for RMSD calculations.
C++: protocols::loop_modeling::utilities::TrajectoryLogger::get_native_pose() const –> const class core::pose::Pose &
- get_prefix(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.TrajectoryLogger) str ¶
- Get the prefix that will be used for the scores associated with
the pose at the end of the trajectory.
C++: protocols::loop_modeling::utilities::TrajectoryLogger::get_prefix() const –> std::string
- get_score_function(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.TrajectoryLogger) pyrosetta.rosetta.core.scoring.ScoreFunction ¶
Get the score function used to score each step in the trajectory.
C++: protocols::loop_modeling::utilities::TrajectoryLogger::get_score_function() const –> class std::shared_ptr<const class core::scoring::ScoreFunction>
- get_timer(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.TrajectoryLogger) int ¶
Return how long the trajectory has been running in seconds.
C++: protocols::loop_modeling::utilities::TrajectoryLogger::get_timer() const –> long
- init(*args, **kwargs)¶
Overloaded function.
init(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.TrajectoryLogger, mover: pyrosetta.rosetta.protocols.loop_modeling.LoopMover) -> None
- Initialize the logger from a loop mover after it has been
constructed.
C++: protocols::loop_modeling::utilities::TrajectoryLogger::init(const class protocols::loop_modeling::LoopMover *) –> void
init(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.TrajectoryLogger, loops: pyrosetta.rosetta.protocols.loops.Loops, scorefxn: pyrosetta.rosetta.core.scoring.ScoreFunction) -> None
- Initialize the logger from a score function and a loops object
after it has been constructed.
C++: protocols::loop_modeling::utilities::TrajectoryLogger::init(class std::shared_ptr<const class protocols::loops::Loops>, class std::shared_ptr<const class core::scoring::ScoreFunction>) –> void
- record_endpoint(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.TrajectoryLogger, tr: pyrosetta.rosetta.basic.Tracer, pose: pyrosetta.rosetta.core.pose.Pose) None ¶
Record the end of a protocol.
Print out some more expensive quality metrics and attach some scores to the pose itself.
C++: protocols::loop_modeling::utilities::TrajectoryLogger::record_endpoint(class basic::Tracer &, class core::pose::Pose &) const –> void
- record_move(*args, **kwargs)¶
Overloaded function.
record_move(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.TrajectoryLogger, tr: pyrosetta.rosetta.basic.Tracer, pose: pyrosetta.rosetta.core.pose.Pose, i: int, j: int, k: int, proposed: bool, accepted: bool) -> None
Record a single Monte Carlo move.
This overload is meant for use in LoopProtocol, which uses three nested for-loops to ramp some score function terms and the temperature at different rates.
The output stream to record the move to.
The pose on which the last move was made (used for calculating a score and an RMSD).
The current “score function” cycle.
The current “temperature” cycle.
The current “mover” cycle.
Whether or not a move was proposed (i.e. did the loop mover succeed in producing a new conformation).
Whether or not the last move was accepted (i.e. did it pass the Metropolis criterion).
C++: protocols::loop_modeling::utilities::TrajectoryLogger::record_move(class basic::Tracer &, class core::pose::Pose &, const unsigned long, const unsigned long, const unsigned long, const bool, const bool) const –> void
record_move(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.TrajectoryLogger, tr: pyrosetta.rosetta.basic.Tracer, pose: pyrosetta.rosetta.core.pose.Pose, iteration: int, proposed: bool, accepted: bool) -> None
Record a single Monte Carlo move.
This overload is meant for use in LoopBuilder, which generates loop conformation is a single non-nested for-loop.
The output stream to record the move to.
The pose on which the last move was made (used for calculating a score and an RMSD).
The current iteration.
Whether or not a move was proposed (i.e. did the loop mover succeed in producing a new conformation).
Whether or not the last move was accepted (i.e. did it pass the Metropolis criterion).
C++: protocols::loop_modeling::utilities::TrajectoryLogger::record_move(class basic::Tracer &, class core::pose::Pose &, const unsigned long, const bool, const bool) const –> void
- record_new_pose(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.TrajectoryLogger, tr: pyrosetta.rosetta.basic.Tracer, pose: pyrosetta.rosetta.core.pose.Pose) None ¶
Record when a low-scoring pose is recovered.
C++: protocols::loop_modeling::utilities::TrajectoryLogger::record_new_pose(class basic::Tracer &, class core::pose::Pose &) const –> void
- record_new_score_function(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.TrajectoryLogger, tr: pyrosetta.rosetta.basic.Tracer, pose: pyrosetta.rosetta.core.pose.Pose) None ¶
- Record when a score function term is ramped (and scores change as
a result).
C++: protocols::loop_modeling::utilities::TrajectoryLogger::record_new_score_function(class basic::Tracer &, class core::pose::Pose &) const –> void
- record_new_temperature(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.TrajectoryLogger, tr: pyrosetta.rosetta.basic.Tracer, temperature: float) None ¶
Record when the temperature is ramped.
C++: protocols::loop_modeling::utilities::TrajectoryLogger::record_new_temperature(class basic::Tracer &, double) const –> void
- reset_timer(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.TrajectoryLogger) None ¶
Indicate that the trajectory is starting now.
The timer is automatically started when the logger is constructed, you only need to call this method if the logger is constructed significantly before the trajectory in question begins.
C++: protocols::loop_modeling::utilities::TrajectoryLogger::reset_timer() –> void
- set_loops(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.TrajectoryLogger, : pyrosetta.rosetta.protocols.loops.Loops) None ¶
- Set the region of the protein where an backbone heavy-atom RMSD
will be calculated for each step in the trajectory.
C++: protocols::loop_modeling::utilities::TrajectoryLogger::set_loops(class std::shared_ptr<const class protocols::loops::Loops>) –> void
- set_native_pose(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.TrajectoryLogger, : pyrosetta.rosetta.core.pose.Pose) None ¶
Set the reference structure for RMSD calculations.
C++: protocols::loop_modeling::utilities::TrajectoryLogger::set_native_pose(const class core::pose::Pose &) –> void
- set_prefix(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.TrajectoryLogger, : str) None ¶
- Set the prefix that will be used for the scores associated with
the pose at the end of the trajectory.
C++: protocols::loop_modeling::utilities::TrajectoryLogger::set_prefix(std::string) –> void
- set_score_function(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.TrajectoryLogger, : pyrosetta.rosetta.core.scoring.ScoreFunction) None ¶
Set the score function used to score each step in the trajectory.
C++: protocols::loop_modeling::utilities::TrajectoryLogger::set_score_function(class std::shared_ptr<const class core::scoring::ScoreFunction>) –> void
- unset_native_pose(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.TrajectoryLogger) None ¶
Disable RMSD calculations.
C++: protocols::loop_modeling::utilities::TrajectoryLogger::unset_native_pose() –> void
- pyrosetta.rosetta.protocols.loop_modeling.utilities.append_subelement_and_attributes_for_parse_loops_from_tag(xsd: utility::tag::XMLSchemaDefinition, subelements: utility::tag::XMLSchemaSimpleSubelementList, attributes: pyrosetta.rosetta.std.list_utility_tag_XMLSchemaAttribute_t) None ¶
use with XML schema if you use parse_loops_from_tag
appends the loopfile attribute to the AttributeList for the top level thing (the Mover itself), and appends the schema for Loops subtags to the provided (usually empty, but not necessarily) subelements list
C++: protocols::loop_modeling::utilities::append_subelement_and_attributes_for_parse_loops_from_tag(class utility::tag::XMLSchemaDefinition &, class utility::tag::XMLSchemaSimpleSubelementList &, class std::list<class utility::tag::XMLSchemaAttribute, class std::allocator<class utility::tag::XMLSchemaAttribute> > &) –> void
- pyrosetta.rosetta.protocols.loop_modeling.utilities.attributes_for_set_scorefxn_from_tag(attributes: pyrosetta.rosetta.std.list_utility_tag_XMLSchemaAttribute_t) None ¶
Appends the attributes read by set_scorefxn_from_tag, which simply calls “parse_score_function”
C++: protocols::loop_modeling::utilities::attributes_for_set_scorefxn_from_tag(class std::list<class utility::tag::XMLSchemaAttribute, class std::allocator<class utility::tag::XMLSchemaAttribute> > &) –> void
- pyrosetta.rosetta.protocols.loop_modeling.utilities.attributes_for_set_task_factory_from_tag(attributes: pyrosetta.rosetta.std.list_utility_tag_XMLSchemaAttribute_t) None ¶
Appends the attributes read by set_task_factory_from_tag, which simply calls “parse_task_operations”
C++: protocols::loop_modeling::utilities::attributes_for_set_task_factory_from_tag(class std::list<class utility::tag::XMLSchemaAttribute, class std::allocator<class utility::tag::XMLSchemaAttribute> > &) –> void
- pyrosetta.rosetta.protocols.loop_modeling.utilities.loop_mover_from_tag(tag: pyrosetta.rosetta.utility.tag.Tag, data: pyrosetta.rosetta.basic.datacache.DataMap) pyrosetta.rosetta.protocols.loop_modeling.LoopMover ¶
Instantiate a LoopMover from its rosetta-scripts tag.
If the given tag is not a LoopMover, a nice error message is thrown.
C++: protocols::loop_modeling::utilities::loop_mover_from_tag(class std::shared_ptr<const class utility::tag::Tag>, class basic::datacache::DataMap &) –> class std::shared_ptr<class protocols::loop_modeling::LoopMover>
- pyrosetta.rosetta.protocols.loop_modeling.utilities.parse_loops_from_tag(tag: pyrosetta.rosetta.utility.tag.Tag) pyrosetta.rosetta.protocols.loops.Loops ¶
return a Loops object from tags
returns a LoopsOP object from tags “loops_file” or a Loop subtag. Moved from loop_modeling/LoopMover.cc.
C++: protocols::loop_modeling::utilities::parse_loops_from_tag(class std::shared_ptr<const class utility::tag::Tag>) –> class std::shared_ptr<class protocols::loops::Loops>