rosetta.protocols.simple_moves.bb_sampler
index
(built-in)

Bindings for protocols::simple_moves::bb_sampler namespace

 
Classes
       
builtins.object
BBDihedralSamplerBase
BBDihedralSampler
SmallBBSampler
SugarBBSampler
BBDihedralSampler2D
BBDihedralSampler3D
BBDihedralSamplerND
BBSampleType

 
class BBDihedralSampler(BBDihedralSamplerBase)
    This class functions to hold, access, sample on, and set independent and dependent dihedral data.
It is an abstract base class for particular types of data.
It should eventually be moved out of here.
 
get_torsion functions should give either the minima on a set of data or sample via the probability.
 
 
Method resolution order:
BBDihedralSampler
BBDihedralSamplerBase
builtins.object

Methods defined here:
__init__(...) from builtins.PyCapsule
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler) -> NoneType
 
2. __init__(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler, int) -> NoneType
 
doc
 
3. __init__(self : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler, torsion_type : int, sampling_type : rosetta.protocols.simple_moves.bb_sampler.BBSampleType) -> NoneType
 
4. __init__(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler, rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler) -> 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.protocols.simple_moves.bb_sampler.BBDihedralSampler,  : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler) -> rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler
clone(...) from builtins.PyCapsule
clone(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler) -> rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler
get_torsion(...) from builtins.PyCapsule
get_torsion(self : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler, pose : rosetta.core.pose.Pose, resnum : int) -> float
name(...) from builtins.PyCapsule
name(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler) -> str
set_torsion_to_pose(...) from builtins.PyCapsule
set_torsion_to_pose(self : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler, pose : rosetta.core.pose.Pose, resnum : int) -> NoneType
 
Set torsions to pose

Methods inherited from BBDihedralSamplerBase:
get_torsion_type(...) from builtins.PyCapsule
get_torsion_type(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase) -> int
set_sample_type(...) from builtins.PyCapsule
set_sample_type(self : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase, sampling_type : rosetta.protocols.simple_moves.bb_sampler.BBSampleType) -> NoneType
 
Set the sampling type.  Default is to sample probabilistically on the data.
set_torsion_type(...) from builtins.PyCapsule
set_torsion_type(self : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase, torsion_type : int) -> NoneType
 
Set the torsion type we will be querying.

 
class BBDihedralSampler2D(BBDihedralSamplerBase)
    
Method resolution order:
BBDihedralSampler2D
BBDihedralSamplerBase
builtins.object

Methods defined here:
__init__(...) from builtins.PyCapsule
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler2D) -> NoneType
 
2. __init__(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler2D, int) -> NoneType
 
doc
 
3. __init__(self : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler2D, torsion_type : int, sampling_type : rosetta.protocols.simple_moves.bb_sampler.BBSampleType) -> NoneType
 
4. __init__(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler2D, rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler2D) -> 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.protocols.simple_moves.bb_sampler.BBDihedralSampler2D,  : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler2D) -> rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler2D
clone(...) from builtins.PyCapsule
clone(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler2D) -> rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler2D
get_2d_torsion(...) from builtins.PyCapsule
get_2d_torsion(self : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler2D, pose : rosetta.core.pose.Pose, resnum : int,  : (rosetta.core.id.MainchainTorsionType, float)) -> float
 
Get a torsion angle dependant on another torsion and torsion angle.
name(...) from builtins.PyCapsule
name(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler2D) -> str
set_2D_torsion_to_pose(...) from builtins.PyCapsule
set_2D_torsion_to_pose(self : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler2D, pose : rosetta.core.pose.Pose, resnum : int,  : (rosetta.core.id.MainchainTorsionType, float)) -> NoneType

Methods inherited from BBDihedralSamplerBase:
get_torsion_type(...) from builtins.PyCapsule
get_torsion_type(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase) -> int
set_sample_type(...) from builtins.PyCapsule
set_sample_type(self : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase, sampling_type : rosetta.protocols.simple_moves.bb_sampler.BBSampleType) -> NoneType
 
Set the sampling type.  Default is to sample probabilistically on the data.
set_torsion_type(...) from builtins.PyCapsule
set_torsion_type(self : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase, torsion_type : int) -> NoneType
 
Set the torsion type we will be querying.

 
class BBDihedralSampler3D(BBDihedralSamplerBase)
    
Method resolution order:
BBDihedralSampler3D
BBDihedralSamplerBase
builtins.object

Methods defined here:
__init__(...) from builtins.PyCapsule
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler3D) -> NoneType
 
2. __init__(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler3D, int) -> NoneType
 
doc
 
3. __init__(self : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler3D, torsion_type : int, sampling_type : rosetta.protocols.simple_moves.bb_sampler.BBSampleType) -> NoneType
 
4. __init__(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler3D, rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler3D) -> 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.protocols.simple_moves.bb_sampler.BBDihedralSampler3D,  : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler3D) -> rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler3D
clone(...) from builtins.PyCapsule
clone(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler3D) -> rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler3D
get_3d_torsion(...) from builtins.PyCapsule
get_3d_torsion(self : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler3D, pose : rosetta.core.pose.Pose, resnum : int,  : (rosetta.core.id.MainchainTorsionType, float),  : (rosetta.core.id.MainchainTorsionType, float)) -> float
 
Get a torsion angle dependant on two other torsions and torsion angles.
 dependendant types and angles are the std::pair.
name(...) from builtins.PyCapsule
name(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler3D) -> str
set_3D_torsion_to_pose(...) from builtins.PyCapsule
set_3D_torsion_to_pose(self : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler3D, pose : rosetta.core.pose.Pose, resnum : int,  : (rosetta.core.id.MainchainTorsionType, float),  : (rosetta.core.id.MainchainTorsionType, float)) -> NoneType

Methods inherited from BBDihedralSamplerBase:
get_torsion_type(...) from builtins.PyCapsule
get_torsion_type(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase) -> int
set_sample_type(...) from builtins.PyCapsule
set_sample_type(self : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase, sampling_type : rosetta.protocols.simple_moves.bb_sampler.BBSampleType) -> NoneType
 
Set the sampling type.  Default is to sample probabilistically on the data.
set_torsion_type(...) from builtins.PyCapsule
set_torsion_type(self : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase, torsion_type : int) -> NoneType
 
Set the torsion type we will be querying.

 
class BBDihedralSamplerBase(builtins.object)
    This class functions to hold, access, sample on, and set independent and dependent dihedral data.
It is an abstract base class for particular types of data.
 
get_torsion functions should give either the minima on a set of data or sample via the probability
If you are subclassing, you do not nessessarily need to use the BBSampleType.
 
 Feel free to implement more types. See the SugarBBSampler and RangedBBSampler as examples.
 
Technically - with now storing the torsion_types as Size (due to waay to many in sugars) - we can now remove the 'BB' part of this whole thing.
 
  Methods defined here:
__init__(...) from builtins.PyCapsule
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase) -> NoneType
 
2. __init__(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase, int) -> NoneType
 
doc
 
3. __init__(self : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase, torsion_type : int, sampling_type : rosetta.protocols.simple_moves.bb_sampler.BBSampleType) -> NoneType
 
4. __init__(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase, rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase) -> 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.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase,  : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase) -> rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase
clone(...) from builtins.PyCapsule
clone(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase) -> rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase
get_torsion_type(...) from builtins.PyCapsule
get_torsion_type(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase) -> int
name(...) from builtins.PyCapsule
name(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase) -> str
set_sample_type(...) from builtins.PyCapsule
set_sample_type(self : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase, sampling_type : rosetta.protocols.simple_moves.bb_sampler.BBSampleType) -> NoneType
 
Set the sampling type.  Default is to sample probabilistically on the data.
set_torsion_type(...) from builtins.PyCapsule
set_torsion_type(self : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase, torsion_type : int) -> NoneType
 
Set the torsion type we will be querying.

 
class BBDihedralSamplerND(BBDihedralSamplerBase)
    
Method resolution order:
BBDihedralSamplerND
BBDihedralSamplerBase
builtins.object

Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__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.protocols.simple_moves.bb_sampler.BBDihedralSamplerND,  : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerND) -> rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerND
clone(...) from builtins.PyCapsule
clone(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerND) -> rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerND
name(...) from builtins.PyCapsule
name(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerND) -> str

Methods inherited from BBDihedralSamplerBase:
get_torsion_type(...) from builtins.PyCapsule
get_torsion_type(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase) -> int
set_sample_type(...) from builtins.PyCapsule
set_sample_type(self : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase, sampling_type : rosetta.protocols.simple_moves.bb_sampler.BBSampleType) -> NoneType
 
Set the sampling type.  Default is to sample probabilistically on the data.
set_torsion_type(...) from builtins.PyCapsule
set_torsion_type(self : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase, torsion_type : int) -> NoneType
 
Set the torsion type we will be querying.

 
class BBSampleType(builtins.object)
     Methods defined here:
__eq__(...) from builtins.PyCapsule
__eq__(rosetta.protocols.simple_moves.bb_sampler.BBSampleType, rosetta.protocols.simple_moves.bb_sampler.BBSampleType) -> bool
__hash__(...) from builtins.PyCapsule
__hash__(rosetta.protocols.simple_moves.bb_sampler.BBSampleType) -> int
__init__(...) from builtins.PyCapsule
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(rosetta.protocols.simple_moves.bb_sampler.BBSampleType, int) -> NoneType
 
2. __init__(rosetta.protocols.simple_moves.bb_sampler.BBSampleType, int) -> NoneType
__int__(...) from builtins.PyCapsule
__int__(rosetta.protocols.simple_moves.bb_sampler.BBSampleType) -> int
__ne__(...) from builtins.PyCapsule
__ne__(rosetta.protocols.simple_moves.bb_sampler.BBSampleType, rosetta.protocols.simple_moves.bb_sampler.BBSampleType) -> bool
__new__(*args, **kwargs) from builtins.type
Create and return a new object.  See help(type) for accurate signature.
__repr__(...) from builtins.PyCapsule
__repr__(rosetta.protocols.simple_moves.bb_sampler.BBSampleType) -> str

Data and other attributes defined here:
minima = BBSampleType.minima
probability = BBSampleType.probability

 
class SmallBBSampler(BBDihedralSampler)
    A bb sampler that samples within a range of a starting angle.  Similar to small mover.
Samples an angle +/- the current angle.  If angle max is not set, will sample any angle.
 
new_angle = old_angle +/- ( angle_max/2 )
 
 
Method resolution order:
SmallBBSampler
BBDihedralSampler
BBDihedralSamplerBase
builtins.object

Methods defined here:
__init__(...) from builtins.PyCapsule
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(handle) -> NoneType
 
2. __init__(self : handle, all_ss_angle_max : float) -> NoneType
 
3. __init__(self : handle, torsion_type : int) -> NoneType
 
4. __init__(self : handle, torsion_type : int, all_ss_angle_max : float) -> NoneType
 
5. __init__(handle, rosetta.protocols.simple_moves.bb_sampler.SmallBBSampler) -> 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.protocols.simple_moves.bb_sampler.SmallBBSampler,  : rosetta.protocols.simple_moves.bb_sampler.SmallBBSampler) -> rosetta.protocols.simple_moves.bb_sampler.SmallBBSampler
clone(...) from builtins.PyCapsule
clone(rosetta.protocols.simple_moves.bb_sampler.SmallBBSampler) -> rosetta.protocols.simple_moves.bb_sampler.SmallBBSampler
get_angle_max(...) from builtins.PyCapsule
get_angle_max(self : rosetta.protocols.simple_moves.bb_sampler.SmallBBSampler, type : str) -> float
 
Gets the max angle of perturbation for residues with <type>
 secondary structure.  (<type> must be 'H', 'E', or 'L'.)
 
 Example:
     bbmover.angle_max('H')
 
 See also:
     ShearMover
     SmallMover
get_torsion(...) from builtins.PyCapsule
get_torsion(self : rosetta.protocols.simple_moves.bb_sampler.SmallBBSampler, pose : rosetta.core.pose.Pose, resnum : int) -> float
set_angle_max(...) from builtins.PyCapsule
set_angle_max(*args, **kwargs)
Overloaded function.
 
1. set_angle_max(self : rosetta.protocols.simple_moves.bb_sampler.SmallBBSampler, angle : float) -> NoneType
 
Sets the maximum angle of perturbation, independent of
 secondary structure. new_angle = old_angle +/- ( angle_max/2 )
 
 Example:
     bbmover.angle_max(25)
 See also:
     ShearMover
     SmallMover
 
2. set_angle_max(self : rosetta.protocols.simple_moves.bb_sampler.SmallBBSampler, type : str, angle : float) -> NoneType
 
Sets the max angle of perturbation for residues with <type>
 secondary structure.  (<type> must be 'H', 'E', or 'L'.) new_angle = old_angle +/- ( angle_max/2 )
 
 Example:
     bbmover.angle_max('H', 25)
 
 See also:
     ShearMover
     SmallMover
 
3. set_angle_max(self : rosetta.protocols.simple_moves.bb_sampler.SmallBBSampler, angle_max_in : rosetta.std.map_char_double) -> NoneType
 
Sets the max angle of perturbation, for secondary structures
 'H', 'E', and 'L'.
 new_angle = old_angle +/- ( angle_max/2 )
set_torsion_to_pose(...) from builtins.PyCapsule
set_torsion_to_pose(self : rosetta.protocols.simple_moves.bb_sampler.SmallBBSampler, pose : rosetta.core.pose.Pose, resnum : int) -> NoneType

Methods inherited from BBDihedralSampler:
name(...) from builtins.PyCapsule
name(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSampler) -> str

Methods inherited from BBDihedralSamplerBase:
get_torsion_type(...) from builtins.PyCapsule
get_torsion_type(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase) -> int
set_sample_type(...) from builtins.PyCapsule
set_sample_type(self : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase, sampling_type : rosetta.protocols.simple_moves.bb_sampler.BBSampleType) -> NoneType
 
Set the sampling type.  Default is to sample probabilistically on the data.
set_torsion_type(...) from builtins.PyCapsule
set_torsion_type(self : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase, torsion_type : int) -> NoneType
 
Set the torsion type we will be querying.

 
class SugarBBSampler(BBDihedralSampler)
    Sample dihdrals using sugar bb data.
 
 
Method resolution order:
SugarBBSampler
BBDihedralSampler
BBDihedralSamplerBase
builtins.object

Methods defined here:
__init__(...) from builtins.PyCapsule
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(handle) -> NoneType
 
2. __init__(handle, rosetta.core.id.MainchainTorsionType) -> NoneType
 
doc
 
3. __init__(handle, rosetta.core.id.MainchainTorsionType, rosetta.protocols.simple_moves.bb_sampler.BBSampleType) -> NoneType
 
doc
 
4. __init__(self : handle, torsion_type : rosetta.core.id.MainchainTorsionType, sampling_type : rosetta.protocols.simple_moves.bb_sampler.BBSampleType, sampling_step_size : float) -> NoneType
 
5. __init__(handle, rosetta.protocols.simple_moves.bb_sampler.SugarBBSampler) -> 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.protocols.simple_moves.bb_sampler.SugarBBSampler,  : rosetta.protocols.simple_moves.bb_sampler.SugarBBSampler) -> rosetta.protocols.simple_moves.bb_sampler.SugarBBSampler
clone(...) from builtins.PyCapsule
clone(rosetta.protocols.simple_moves.bb_sampler.SugarBBSampler) -> rosetta.protocols.simple_moves.bb_sampler.SugarBBSampler
get_torsion(...) from builtins.PyCapsule
get_torsion(self : rosetta.protocols.simple_moves.bb_sampler.SugarBBSampler, pose : rosetta.core.pose.Pose, resnum : int) -> float
name(...) from builtins.PyCapsule
name(rosetta.protocols.simple_moves.bb_sampler.SugarBBSampler) -> str
set_torsion_to_pose(...) from builtins.PyCapsule
set_torsion_to_pose(self : rosetta.protocols.simple_moves.bb_sampler.SugarBBSampler, pose : rosetta.core.pose.Pose, resnum : int) -> NoneType
 
Set torsions to pose

Methods inherited from BBDihedralSamplerBase:
get_torsion_type(...) from builtins.PyCapsule
get_torsion_type(rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase) -> int
set_sample_type(...) from builtins.PyCapsule
set_sample_type(self : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase, sampling_type : rosetta.protocols.simple_moves.bb_sampler.BBSampleType) -> NoneType
 
Set the sampling type.  Default is to sample probabilistically on the data.
set_torsion_type(...) from builtins.PyCapsule
set_torsion_type(self : rosetta.protocols.simple_moves.bb_sampler.BBDihedralSamplerBase, torsion_type : int) -> NoneType
 
Set the torsion type we will be querying.

 
Data
        minima = BBSampleType.minima
probability = BBSampleType.probability