Residue

class simtk.openmm.app.topology.Residue(name, index, chain, id, insertionCode)

A Residue object represents a residue within a Topology.

__init__(name, index, chain, id, insertionCode)

Construct a new Residue. You should call addResidue() on the Topology instead of calling this directly.

Methods

__init__(name, index, chain, id, insertionCode) 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.