utilities¶
Bindings for protocols::loop_modeling::utilities namespace
-
class
pyrosetta.rosetta.protocols.loop_modeling.utilities.
AcceptanceCheck
¶ Bases:
pyrosetta.rosetta.protocols.loop_modeling.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.
-
__delattr__
¶ Implement delattr(self, name).
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__init__
(*args, **kwargs)¶ Overloaded function.
- __init__(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.AcceptanceCheck, arg0: pyrosetta.rosetta.protocols.moves.MonteCarlo) -> None
doc
- __init__(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.AcceptanceCheck, monte_carlo: pyrosetta.rosetta.protocols.moves.MonteCarlo, name: str) -> None
- __init__(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.AcceptanceCheck, arg0: pyrosetta.rosetta.protocols.loop_modeling.utilities.AcceptanceCheck) -> None
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
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 applyC++: 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>
-
define_composition_schema
(xsd: pyrosetta.rosetta.utility.tag.XMLSchemaDefinition, ct_gen: pyrosetta.rosetta.utility.tag.XMLSchemaComplexTypeGenerator, subelements: pyrosetta.rosetta.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.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<class std::basic_string<char>, class std::allocator<class std::basic_string<char> > > &, class std::basic_string<char>) 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_std_allocator_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
-
name
() → str¶ C++: protocols::moves::Mover::name() –> std::string
-
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¶ ////////////////////////////end Job Distributor interface////////////////////////////////////////
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 class std::basic_string<char> &) –> 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¶ C++: protocols::moves::Mover::set_type(const class std::basic_string<char> &) –> void
-
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(class std::basic_ostream<char> &) 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) -> str
C++: protocols::moves::Mover::type() const –> const std::string &
- type(self: pyrosetta.rosetta.protocols.moves.Mover, type_in: str) -> None
C++: protocols::moves::Mover::type(const class std::basic_string<char> &) –> void
-
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:
pyrosetta.rosetta.protocols.loop_modeling.LoopMover
Apply any filter in the context of a loop modeling simulation.
-
__delattr__
¶ Implement delattr(self, name).
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__init__
(*args, **kwargs)¶ Overloaded function.
- __init__(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopFilter, filter: pyrosetta.rosetta.protocols.filters.Filter) -> None
- __init__(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopFilter, arg0: pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopFilter) -> None
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
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 applyC++: 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>
-
define_composition_schema
(xsd: pyrosetta.rosetta.utility.tag.XMLSchemaDefinition, ct_gen: pyrosetta.rosetta.utility.tag.XMLSchemaComplexTypeGenerator, subelements: pyrosetta.rosetta.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.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<class std::basic_string<char>, class std::allocator<class std::basic_string<char> > > &, class std::basic_string<char>) 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_std_allocator_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
-
name
() → str¶ C++: protocols::moves::Mover::name() –> std::string
-
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¶ ////////////////////////////end Job Distributor interface////////////////////////////////////////
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 class std::basic_string<char> &) –> 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¶ C++: protocols::moves::Mover::set_type(const class std::basic_string<char> &) –> void
-
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(class std::basic_ostream<char> &) 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) -> str
C++: protocols::moves::Mover::type() const –> const std::string &
- type(self: pyrosetta.rosetta.protocols.moves.Mover, type_in: str) -> None
C++: protocols::moves::Mover::type(const class std::basic_string<char> &) –> void
-
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:
pyrosetta.rosetta.protocols.loop_modeling.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.
-
__delattr__
¶ Implement delattr(self, name).
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__init__
(*args, **kwargs)¶ Overloaded function.
- __init__(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopMoverGroup) -> None
- __init__(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopMoverGroup, arg0: pyrosetta.rosetta.protocols.loop_modeling.utilities.LoopMoverGroup) -> None
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
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 applyC++: 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>
-
define_composition_schema
(xsd: pyrosetta.rosetta.utility.tag.XMLSchemaDefinition, ct_gen: pyrosetta.rosetta.utility.tag.XMLSchemaComplexTypeGenerator, subelements: pyrosetta.rosetta.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.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<class std::basic_string<char>, class std::allocator<class std::basic_string<char> > > &, class std::basic_string<char>) 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_std_allocator_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
-
name
() → str¶ C++: protocols::moves::Mover::name() –> std::string
-
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¶ ////////////////////////////end Job Distributor interface////////////////////////////////////////
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 class std::basic_string<char> &) –> 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¶ C++: protocols::moves::Mover::set_type(const class std::basic_string<char> &) –> void
-
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(class std::basic_ostream<char> &) 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) -> str
C++: protocols::moves::Mover::type() const –> const std::string &
- type(self: pyrosetta.rosetta.protocols.moves.Mover, type_in: str) -> None
C++: protocols::moves::Mover::type(const class std::basic_string<char> &) –> void
-
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:
pyrosetta.rosetta.protocols.loop_modeling.LoopMover
Convert a pose to centroid mode for low-resolution loop modeling.
-
__delattr__
¶ Implement delattr(self, name).
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__init__
(*args, **kwargs)¶ Overloaded function.
- __init__(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForCentroid) -> None
- __init__(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForCentroid, arg0: pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForCentroid) -> None
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
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 applyC++: 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>
-
define_composition_schema
(xsd: pyrosetta.rosetta.utility.tag.XMLSchemaDefinition, ct_gen: pyrosetta.rosetta.utility.tag.XMLSchemaComplexTypeGenerator, subelements: pyrosetta.rosetta.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.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<class std::basic_string<char>, class std::allocator<class std::basic_string<char> > > &, class std::basic_string<char>) 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_std_allocator_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
-
mover_name
() → str¶ C++: protocols::loop_modeling::utilities::PrepareForCentroid::mover_name() –> std::string
-
name
() → str¶ C++: protocols::moves::Mover::name() –> std::string
-
provide_xml_schema
(xsd: pyrosetta.rosetta.utility.tag.XMLSchemaDefinition) → None¶ C++: protocols::loop_modeling::utilities::PrepareForCentroid::provide_xml_schema(class utility::tag::XMLSchemaDefinition &) –> void
-
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¶ ////////////////////////////end Job Distributor interface////////////////////////////////////////
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 class std::basic_string<char> &) –> 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¶ C++: protocols::moves::Mover::set_type(const class std::basic_string<char> &) –> void
-
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(class std::basic_ostream<char> &) 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) -> str
C++: protocols::moves::Mover::type() const –> const std::string &
- type(self: pyrosetta.rosetta.protocols.moves.Mover, type_in: str) -> None
C++: protocols::moves::Mover::type(const class std::basic_string<char> &) –> void
-
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.
PrepareForFullatom
¶ Bases:
pyrosetta.rosetta.protocols.loop_modeling.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.
-
__delattr__
¶ Implement delattr(self, name).
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__init__
(*args, **kwargs)¶ Overloaded function.
- __init__(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForFullatom) -> None
- __init__(self: pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForFullatom, arg0: pyrosetta.rosetta.protocols.loop_modeling.utilities.PrepareForFullatom) -> None
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
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 applyC++: 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>
-
define_composition_schema
(xsd: pyrosetta.rosetta.utility.tag.XMLSchemaDefinition, ct_gen: pyrosetta.rosetta.utility.tag.XMLSchemaComplexTypeGenerator, subelements: pyrosetta.rosetta.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.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<class std::basic_string<char>, class std::allocator<class std::basic_string<char> > > &, class std::basic_string<char>) 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_std_allocator_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
-
mover_name
() → str¶ C++: protocols::loop_modeling::utilities::PrepareForFullatom::mover_name() –> std::string
-
name
() → str¶ C++: protocols::moves::Mover::name() –> std::string
-
provide_xml_schema
(xsd: pyrosetta.rosetta.utility.tag.XMLSchemaDefinition) → None¶ C++: protocols::loop_modeling::utilities::PrepareForFullatom::provide_xml_schema(class utility::tag::XMLSchemaDefinition &) –> void
-
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¶ ////////////////////////////end Job Distributor interface////////////////////////////////////////
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 class std::basic_string<char> &) –> 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¶ C++: protocols::moves::Mover::set_type(const class std::basic_string<char> &) –> void
-
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(class std::basic_ostream<char> &) 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) -> str
C++: protocols::moves::Mover::type() const –> const std::string &
- type(self: pyrosetta.rosetta.protocols.moves.Mover, type_in: str) -> None
C++: protocols::moves::Mover::type(const class std::basic_string<char> &) –> void
-
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
-
-
pyrosetta.rosetta.protocols.loop_modeling.utilities.
append_subelement_and_attributes_for_parse_loops_from_tag
(xsd: pyrosetta.rosetta.utility.tag.XMLSchemaDefinition, subelements: pyrosetta.rosetta.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 listC++: 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.
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>