Chain¶
- class openmm.app.topology.Chain(index, topology, id)¶
A Chain object represents a chain within a Topology.
- __init__(index, topology, id)¶
Construct a new Chain. You should call addChain() on the Topology instead of calling this directly.
Methods
__init__
(index, topology, id)Construct a new Chain.
atoms
()Iterate over all Atoms in the Chain.
residues
()Iterate over all Residues in the Chain.
- residues()¶
Iterate over all Residues in the Chain.
- atoms()¶
Iterate over all Atoms in the Chain.