parametric¶
Bindings for core::conformation::parametric namespace
-
class
pyrosetta.rosetta.core.conformation.parametric.
Parameters
¶ Bases:
pybind11_builtins.pybind11_object
Parameters class, used to store sets of parameters for parametric backbone generation.
-
__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.core.conformation.parametric.Parameters) -> None
- __init__(self: pyrosetta.rosetta.core.conformation.parametric.Parameters, arg0: pyrosetta.rosetta.core.conformation.parametric.Parameters) -> 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_residue
(self: pyrosetta.rosetta.core.conformation.parametric.Parameters, residue: pyrosetta.rosetta.core.conformation.Residue) → None¶ Add a residue to the list of residues that these parameters describe.
C++: core::conformation::parametric::Parameters::add_residue(class std::shared_ptr<const class core::conformation::Residue>) –> void
-
assign
(self: pyrosetta.rosetta.core.conformation.parametric.Parameters, : pyrosetta.rosetta.core.conformation.parametric.Parameters) → pyrosetta.rosetta.core.conformation.parametric.Parameters¶ C++: core::conformation::parametric::Parameters::operator=(const class core::conformation::parametric::Parameters &) –> class core::conformation::parametric::Parameters &
-
clone
(self: pyrosetta.rosetta.core.conformation.parametric.Parameters) → pyrosetta.rosetta.core.conformation.parametric.Parameters¶ Copy this residue( allocate actual memory for it )
C++: core::conformation::parametric::Parameters::clone() const –> class std::shared_ptr<class core::conformation::parametric::Parameters>
-
first_residue
(self: pyrosetta.rosetta.core.conformation.parametric.Parameters) → pyrosetta.rosetta.core.conformation.Residue¶ Get a const owning pointer to the first residue in the list of residues that these parameters describe.
Note that this might not be the first residue in linear sequence, if the residues were put in in non-sequential order or the residue numbering has changed.
C++: core::conformation::parametric::Parameters::first_residue() const –> class std::shared_ptr<const class core::conformation::Residue>
-
first_residue_index
(self: pyrosetta.rosetta.core.conformation.parametric.Parameters) → int¶ Get the index of the first residue.
MUST BE REWRITTEN when the OP issue is resolved.C++: core::conformation::parametric::Parameters::first_residue_index() const –> unsigned long
-
get_self_ptr
(self: pyrosetta.rosetta.core.conformation.parametric.Parameters) → pyrosetta.rosetta.core.conformation.parametric.Parameters¶ C++: core::conformation::parametric::Parameters::get_self_ptr() –> class std::shared_ptr<class core::conformation::parametric::Parameters>
-
get_self_weak_ptr
(self: pyrosetta.rosetta.core.conformation.parametric.Parameters) → pyrosetta.rosetta.std.weak_ptr_core_conformation_parametric_Parameters_t¶ C++: core::conformation::parametric::Parameters::get_self_weak_ptr() –> class std::weak_ptr<class core::conformation::parametric::Parameters>
-
last_residue
(self: pyrosetta.rosetta.core.conformation.parametric.Parameters) → pyrosetta.rosetta.core.conformation.Residue¶ Get a const owning pointer to the last residue in the list of residues that these parameters describe.
Note that this might not be the last residue in linear sequence, if the residues were put in in non-sequential order or the residue numbering has changed.
C++: core::conformation::parametric::Parameters::last_residue() const –> class std::shared_ptr<const class core::conformation::Residue>
-
last_residue_index
(self: pyrosetta.rosetta.core.conformation.parametric.Parameters) → int¶ Get the index of the last residue.
MUST BE REWRITTEN when the OP issue is resolved.C++: core::conformation::parametric::Parameters::last_residue_index() const –> unsigned long
-
n_residue
(self: pyrosetta.rosetta.core.conformation.parametric.Parameters) → int¶ Returns the number (count) of residues that these parameters describe.
C++: core::conformation::parametric::Parameters::n_residue() const –> unsigned long
-
reset_residue_list
(self: pyrosetta.rosetta.core.conformation.parametric.Parameters) → None¶ Clears the list of residues that these parameters describe.
C++: core::conformation::parametric::Parameters::reset_residue_list() –> void
-
residue
(self: pyrosetta.rosetta.core.conformation.parametric.Parameters, index: int) → pyrosetta.rosetta.core.conformation.Residue¶ Get an owning pointer to a residue in the list of residues that these parameters describe.
C++: core::conformation::parametric::Parameters::residue(const unsigned long) –> class std::shared_ptr<const class core::conformation::Residue>
-
residue_cop
(self: pyrosetta.rosetta.core.conformation.parametric.Parameters, index: int) → pyrosetta.rosetta.core.conformation.Residue¶ Get a const owning pointer to a residue in the list of residues that these parameters describe.
C++: core::conformation::parametric::Parameters::residue_cop(const unsigned long) const –> class std::shared_ptr<const class core::conformation::Residue>
-
set_residue
(self: pyrosetta.rosetta.core.conformation.parametric.Parameters, index: int, existing_residue: pyrosetta.rosetta.core.conformation.Residue) → None¶ Assign an element in the residue list to be an owning pointer to an existing residue.
C++: core::conformation::parametric::Parameters::set_residue(const unsigned long, class std::shared_ptr<const class core::conformation::Residue>) –> void
-
-
class
pyrosetta.rosetta.core.conformation.parametric.
ParametersSet
¶ Bases:
pybind11_builtins.pybind11_object
ParametersSet class, used to store sets of parameters for parametric backbone generation.
-
__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.core.conformation.parametric.ParametersSet) -> None
- __init__(self: pyrosetta.rosetta.core.conformation.parametric.ParametersSet, arg0: pyrosetta.rosetta.core.conformation.parametric.ParametersSet) -> 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_parameters
(self: pyrosetta.rosetta.core.conformation.parametric.ParametersSet, new_parameters: pyrosetta.rosetta.core.conformation.parametric.Parameters) → None¶ Add a Parameters object to the set included in this ParametersSet object.
C++: core::conformation::parametric::ParametersSet::add_parameters(class std::shared_ptr<class core::conformation::parametric::Parameters>) –> void
-
assign
(self: pyrosetta.rosetta.core.conformation.parametric.ParametersSet, : pyrosetta.rosetta.core.conformation.parametric.ParametersSet) → pyrosetta.rosetta.core.conformation.parametric.ParametersSet¶ C++: core::conformation::parametric::ParametersSet::operator=(const class core::conformation::parametric::ParametersSet &) –> class core::conformation::parametric::ParametersSet &
-
clear_parameters_list
(self: pyrosetta.rosetta.core.conformation.parametric.ParametersSet) → None¶ Delete all owning pointers in the parameters_ list and reset the list.
C++: core::conformation::parametric::ParametersSet::clear_parameters_list() –> void
-
clone
(self: pyrosetta.rosetta.core.conformation.parametric.ParametersSet) → pyrosetta.rosetta.core.conformation.parametric.ParametersSet¶ Copy this residue( allocate actual memory for it )
C++: core::conformation::parametric::ParametersSet::clone() const –> class std::shared_ptr<class core::conformation::parametric::ParametersSet>
-
get_pdb_remark
(self: pyrosetta.rosetta.core.conformation.parametric.ParametersSet, remark: pyrosetta.rosetta.std.stringstream) → None¶ Get a summary of this ParametersSet object, for output to remark lines of a PDB file.
Default function can be overridden by derived classes. The default message just says that the parameterization does not support output to PDB remark lines. Note that messages must have lines less than about fifty characters, or they get truncated in REMARK output.C++: core::conformation::parametric::ParametersSet::get_pdb_remark(class std::basic_stringstream<char> &) const –> void
-
get_self_ptr
(self: pyrosetta.rosetta.core.conformation.parametric.ParametersSet) → pyrosetta.rosetta.core.conformation.parametric.ParametersSet¶ C++: core::conformation::parametric::ParametersSet::get_self_ptr() –> class std::shared_ptr<class core::conformation::parametric::ParametersSet>
-
get_self_weak_ptr
(self: pyrosetta.rosetta.core.conformation.parametric.ParametersSet) → pyrosetta.rosetta.std.weak_ptr_core_conformation_parametric_ParametersSet_t¶ C++: core::conformation::parametric::ParametersSet::get_self_weak_ptr() –> class std::weak_ptr<class core::conformation::parametric::ParametersSet>
-
n_parameters
(self: pyrosetta.rosetta.core.conformation.parametric.ParametersSet) → int¶ Get the number of Parameters objects associated with this ParametersSet.
C++: core::conformation::parametric::ParametersSet::n_parameters() const –> unsigned long
-
parameters
(self: pyrosetta.rosetta.core.conformation.parametric.ParametersSet, index: int) → pyrosetta.rosetta.core.conformation.parametric.Parameters¶ Get a Parameters object by index.
C++: core::conformation::parametric::ParametersSet::parameters(const unsigned long) –> class std::shared_ptr<class core::conformation::parametric::Parameters>
-
update_residue_links
(self: pyrosetta.rosetta.core.conformation.parametric.ParametersSet, new_conf: core::conformation::Conformation) → None¶ - Only for copying Conformation objects, this ensures that the new ParametersSet object’s
- Parameters objects have lists of ResidueOPs that point to residues in the new Conformation object, rather than to residues that only exist in the Parameters objects.
C++: core::conformation::parametric::ParametersSet::update_residue_links(class core::conformation::Conformation &) –> void
-