| |
- builtins.object
-
- ReferencePose
- ReferencePoseSet
class ReferencePose(builtins.object) |
|
ReferencePose class, used to store sets of ReferencePose data for tracking how a pose changes over the course of a protocol. |
|
Methods defined here:
- __init__(...) from builtins.PyCapsule
- __init__(*args, **kwargs)
Overloaded function.
1. __init__(handle) -> NoneType
2. __init__(handle, rosetta.core.pose.reference_pose.ReferencePose) -> NoneType
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- assign(...) from builtins.PyCapsule
- assign(self : rosetta.core.pose.reference_pose.ReferencePose, : rosetta.core.pose.reference_pose.ReferencePose) -> rosetta.core.pose.reference_pose.ReferencePose
- clone(...) from builtins.PyCapsule
- clone(rosetta.core.pose.reference_pose.ReferencePose) -> rosetta.core.pose.reference_pose.ReferencePose
Make a copy of this ReferencePose object (allocate actual memory for it)
and return an owning pointer to the copy.
- corresponding_residue_in_current(...) from builtins.PyCapsule
- corresponding_residue_in_current(self : rosetta.core.pose.reference_pose.ReferencePose, res_in_ref : int) -> int
Get the residue in the current pose corresponding to a particular residue in the
reference pose.
Should return 0 if there is no corresponding residue in the current pose (e.g. if the
residue was deleted.) Throws an error if there was no residue with the given index in the
reference pose.
- decrement_reference_pose_mapping_after_seqpos(...) from builtins.PyCapsule
- decrement_reference_pose_mapping_after_seqpos(self : rosetta.core.pose.reference_pose.ReferencePose, seqpos : int) -> NoneType
Find all mappings to indices in the new pose after seqpos, and decrement them by 1.
If there is no ReferencePose object, do nothing.
- get_self_ptr(...) from builtins.PyCapsule
- get_self_ptr(*args, **kwargs)
Overloaded function.
1. get_self_ptr(rosetta.core.pose.reference_pose.ReferencePose) -> rosetta.core.pose.reference_pose.ReferencePose
Get const owning pointer (e.g. from a reference).
2. get_self_ptr(rosetta.core.pose.reference_pose.ReferencePose) -> rosetta.core.pose.reference_pose.ReferencePose
Get owning pointer (e.g. from a reference).
- get_self_weak_ptr(...) from builtins.PyCapsule
- get_self_weak_ptr(*args, **kwargs)
Overloaded function.
1. get_self_weak_ptr(rosetta.core.pose.reference_pose.ReferencePose) -> rosetta.std.weak_ptr_const_core_pose_reference_pose_ReferencePose_t
Get const access (weak) pointer (e.g. from a reference).
2. get_self_weak_ptr(rosetta.core.pose.reference_pose.ReferencePose) -> rosetta.std.weak_ptr_core_pose_reference_pose_ReferencePose_t
Get access (weak) pointer (e.g. from a reference).
- increment_reference_pose_mapping_after_seqpos(...) from builtins.PyCapsule
- increment_reference_pose_mapping_after_seqpos(self : rosetta.core.pose.reference_pose.ReferencePose, seqpos : int) -> NoneType
Find all mappings to indices in the new pose after seqpos, and increment them by 1.
If there is no ReferencePose object, do nothing.
- initialize_residue_map_from_pose(...) from builtins.PyCapsule
- initialize_residue_map_from_pose(self : rosetta.core.pose.reference_pose.ReferencePose, pose : rosetta.core.pose.Pose) -> NoneType
Initializes the residue_map_ based on an input reference pose.
After this operation, the residue_map_ is a very uninteresting map
that maps every residue index in the pose onto itself. This also sets the
stores_residue_map_ bit to true.
- stores_residue_map(...) from builtins.PyCapsule
- stores_residue_map(rosetta.core.pose.reference_pose.ReferencePose) -> bool
Returns true if this ReferencePose object stores a map of
(old residue indices->new residue indices), false otherwise.
- zero_reference_pose_mapping_at_seqpos(...) from builtins.PyCapsule
- zero_reference_pose_mapping_at_seqpos(self : rosetta.core.pose.reference_pose.ReferencePose, seqpos : int) -> NoneType
Find all mappings to indices in the new pose to seqpos, and set them to point to residue 0 (deletion signal).
If there is no ReferencePose object, do nothing.
|
class ReferencePoseSet(builtins.object) |
|
ReferencePoseSet class, used to store sets of ReferencePose data for tracking how a pose changes over the course of a protocol. |
|
Methods defined here:
- __init__(...) from builtins.PyCapsule
- __init__(*args, **kwargs)
Overloaded function.
1. __init__(handle) -> NoneType
2. __init__(handle, rosetta.core.pose.reference_pose.ReferencePoseSet) -> NoneType
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- add_and_initialize_reference_pose(...) from builtins.PyCapsule
- add_and_initialize_reference_pose(*args, **kwargs)
Overloaded function.
1. add_and_initialize_reference_pose(self : rosetta.core.pose.reference_pose.ReferencePoseSet, key_string : str, pose : rosetta.core.pose.Pose) -> NoneType
Given a reference pose, create a new ReferencePose object and initialize it
based on the reference pose, then add it to the current map.
After this operation, the map holds a new ReferencePoseOP pointing to a
very uninteresting ReferencePose object that maps a list of residues onto themselves,
accessible by the key string.
If override_current is set to true, will overrwrite any reference pose with the key_string.
2. add_and_initialize_reference_pose(self : rosetta.core.pose.reference_pose.ReferencePoseSet, key_string : str, pose : rosetta.core.pose.Pose, override_current : bool) -> NoneType
Given a reference pose, create a new ReferencePose object and initialize it
based on the reference pose, then add it to the current map.
After this operation, the map holds a new ReferencePoseOP pointing to a
very uninteresting ReferencePose object that maps a list of residues onto themselves,
accessible by the key string.
If override_current is set to true, will overrwrite any reference pose with the key_string.
- assign(...) from builtins.PyCapsule
- assign(self : rosetta.core.pose.reference_pose.ReferencePoseSet, : rosetta.core.pose.reference_pose.ReferencePoseSet) -> rosetta.core.pose.reference_pose.ReferencePoseSet
- clone(...) from builtins.PyCapsule
- clone(rosetta.core.pose.reference_pose.ReferencePoseSet) -> rosetta.core.pose.reference_pose.ReferencePoseSet
Make a copy of this ReferencePoseSet object (allocate actual memory for it)
and return an owning pointer to the copy.
- corresponding_residue_in_current(...) from builtins.PyCapsule
- corresponding_residue_in_current(self : rosetta.core.pose.reference_pose.ReferencePoseSet, res_index_in_ref : int, ref_pose_key_string : str) -> int
Get the corresponding residue in the current pose to a residue in a reference pose.
Should return 0 if no corresponding residue exists in the current pose, and throw an
error if the residue index provided as a key did not exist in the reference pose.
- decrement_reference_pose_mapping_after_seqpos(...) from builtins.PyCapsule
- decrement_reference_pose_mapping_after_seqpos(self : rosetta.core.pose.reference_pose.ReferencePoseSet, seqpos : int) -> NoneType
Find all mappings to indices in the new pose after seqpos in all ReferencePose objects, and decrement them by 1.
If there is no ReferencePose object, do nothing.
- empty(...) from builtins.PyCapsule
- empty(rosetta.core.pose.reference_pose.ReferencePoseSet) -> bool
Returns true if and only if there are no ReferencePose objects in this ReferencePoseSet.
- get_self_ptr(...) from builtins.PyCapsule
- get_self_ptr(*args, **kwargs)
Overloaded function.
1. get_self_ptr(rosetta.core.pose.reference_pose.ReferencePoseSet) -> rosetta.core.pose.reference_pose.ReferencePoseSet
Get const owning pointer (e.g. from a reference).
2. get_self_ptr(rosetta.core.pose.reference_pose.ReferencePoseSet) -> rosetta.core.pose.reference_pose.ReferencePoseSet
Get owning pointer (e.g. from a reference).
- get_self_weak_ptr(...) from builtins.PyCapsule
- get_self_weak_ptr(*args, **kwargs)
Overloaded function.
1. get_self_weak_ptr(rosetta.core.pose.reference_pose.ReferencePoseSet) -> rosetta.std.weak_ptr_const_core_pose_reference_pose_ReferencePoseSet_t
Get const access (weak) pointer (e.g. from a reference).
2. get_self_weak_ptr(rosetta.core.pose.reference_pose.ReferencePoseSet) -> rosetta.std.weak_ptr_core_pose_reference_pose_ReferencePoseSet_t
Get access (weak) pointer (e.g. from a reference).
- increment_reference_pose_mapping_after_seqpos(...) from builtins.PyCapsule
- increment_reference_pose_mapping_after_seqpos(self : rosetta.core.pose.reference_pose.ReferencePoseSet, seqpos : int) -> NoneType
Find all mappings to indices in the new pose after seqpos in all ReferencePose objects, and increment them by 1.
If there is no ReferencePose object, do nothing.
- n_reference_pose(...) from builtins.PyCapsule
- n_reference_pose(rosetta.core.pose.reference_pose.ReferencePoseSet) -> int
Get the number of ReferencePose objects in this ReferencePoseSet.
- reference_pose(...) from builtins.PyCapsule
- reference_pose(self : rosetta.core.pose.reference_pose.ReferencePoseSet, key_string : str) -> rosetta.core.pose.reference_pose.ReferencePose
Get an owning pointer to a reference pose stored in the reference pose map, given a key string.
An error is thrown if the key string doesn't associate with anything (i.e. if the reference pose
doesn't exist).
- reference_pose_cop(...) from builtins.PyCapsule
- reference_pose_cop(self : rosetta.core.pose.reference_pose.ReferencePoseSet, key_string : str) -> rosetta.core.pose.reference_pose.ReferencePose
Get a const owning pointer to a reference pose stored in the reference pose map, given a key string.
An error is thrown if the key string doesn't associate with anything (i.e. if the reference pose
doesn't exist).
- zero_reference_pose_mapping_at_seqpos(...) from builtins.PyCapsule
- zero_reference_pose_mapping_at_seqpos(self : rosetta.core.pose.reference_pose.ReferencePoseSet, seqpos : int) -> NoneType
Find all mappings to indices in the new pose to seqpos in all ReferencePose objects, and set them to point to residue 0 (deletion signal).
If there is no ReferencePose object, do nothing.
| |