Chain

class simtk.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.

__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__