Residue¶
-
class
simtk.openmm.app.topology.Residue(name, index, chain, id)¶ A Residue object represents a residue within a Topology.
-
__init__(name, index, chain, id)¶ Construct a new Residue. You should call addResidue() on the Topology instead of calling this directly.
Methods
__init__(name, index, chain, id)Construct a new Residue. atoms()Iterate over all Atoms in the Residue. bonds()Iterate over all Bonds involving any atom in this residue. external_bonds()Iterate over all Bonds to external atoms. internal_bonds()Iterate over all internal Bonds. -
atoms()¶ Iterate over all Atoms in the Residue.
-
bonds()¶ Iterate over all Bonds involving any atom in this residue.
-
internal_bonds()¶ Iterate over all internal Bonds.
-
external_bonds()¶ Iterate over all Bonds to external atoms.
-
__delattr__¶ x.__delattr__(‘name’) <==> del x.name
-
__format__()¶ default object formatter
-
__getattribute__¶ x.__getattribute__(‘name’) <==> x.name
-
__hash__¶
-
__reduce__()¶ helper for pickle
-
__reduce_ex__()¶ helper for pickle
-
__setattr__¶ x.__setattr__(‘name’, value) <==> x.name = value
-
__sizeof__() → int¶ size of object in memory, in bytes
-
__str__¶
-