PositionDdGInfo¶
Bindings for core::io::PositionDdGInfo namespace
-
class
pyrosetta.rosetta.core.io.PositionDdGInfo.
PositionDdGInfo
¶ Bases:
pybind11_builtins.pybind11_object
small helper class that stores the ddGs for mutations at a given position. camel case gets weird when trying to write words containing ddG…
-
__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__
(self: pyrosetta.rosetta.core.io.PositionDdGInfo.PositionDdGInfo, seqpos: int, wt_aa: pyrosetta.rosetta.core.chemical.AA) → 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_mutation_ddG
(self: pyrosetta.rosetta.core.io.PositionDdGInfo.PositionDdGInfo, aa: pyrosetta.rosetta.core.chemical.AA, ddG: float) → None¶ C++: core::io::PositionDdGInfo::PositionDdGInfo::add_mutation_ddG(enum core::chemical::AA, double) –> void
-
assign
(self: pyrosetta.rosetta.core.io.PositionDdGInfo.PositionDdGInfo, : pyrosetta.rosetta.core.io.PositionDdGInfo.PositionDdGInfo) → pyrosetta.rosetta.core.io.PositionDdGInfo.PositionDdGInfo¶ C++: core::io::PositionDdGInfo::PositionDdGInfo::operator=(const class core::io::PositionDdGInfo::PositionDdGInfo &) –> class core::io::PositionDdGInfo::PositionDdGInfo &
-
mutation_ddGs
(self: pyrosetta.rosetta.core.io.PositionDdGInfo.PositionDdGInfo) → pyrosetta.rosetta.std.map_core_chemical_AA_double¶ C++: core::io::PositionDdGInfo::PositionDdGInfo::mutation_ddGs() const –> const class std::map<enum core::chemical::AA, double, struct std::less<enum core::chemical::AA>, class std::allocator<struct std::pair<const enum core::chemical::AA, double> > > &
-
seqpos
(self: pyrosetta.rosetta.core.io.PositionDdGInfo.PositionDdGInfo) → int¶ C++: core::io::PositionDdGInfo::PositionDdGInfo::seqpos() const –> unsigned long
-
wt_aa
(self: pyrosetta.rosetta.core.io.PositionDdGInfo.PositionDdGInfo) → pyrosetta.rosetta.core.chemical.AA¶ C++: core::io::PositionDdGInfo::PositionDdGInfo::wt_aa() const –> enum core::chemical::AA
-
-
pyrosetta.rosetta.core.io.PositionDdGInfo.
read_ddg_predictions_file
(filename: str) → pyrosetta.rosetta.std.map_unsigned_long_std_shared_ptr_core_io_PositionDdGInfo_PositionDdGInfo_t¶ - function that reads in a ddg predictions out file
- and returns the info in it as a map of PositionDdGInfo
C++: core::io::PositionDdGInfo::read_ddg_predictions_file(class std::basic_string<char>) –> const class std::map<unsigned long, class std::shared_ptr<class core::io::PositionDdGInfo::PositionDdGInfo>, struct std::less<unsigned long>, class std::allocator<struct std::pair<const unsigned long, class std::shared_ptr<class core::io::PositionDdGInfo::PositionDdGInfo> > > >