OpenMM
Residue Class Reference

A Residue object represents a residue within a Topology. More...

List of all members.

Public Member Functions

def __init__
 Construct a new Residue.
def atoms
 Iterate over all Atoms in the Residue.
def __len__
def __repr__

Public Attributes

 name
 The name of the Residue.
 index
 The index of the Residue within its Topology.
 chain
 The Chain this Residue belongs to.
 id
 A user defined identifier for this Residue.

Detailed Description

A Residue object represents a residue within a Topology.


Constructor & Destructor Documentation

def __init__ (   self,
  name,
  index,
  chain,
  id 
)

Construct a new Residue.

You should call addResidue() on the Topology instead of calling this directly.


Member Function Documentation

def __len__ (   self)
def __repr__ (   self)
def atoms (   self)

Iterate over all Atoms in the Residue.


Member Data Documentation

The Chain this Residue belongs to.

id

A user defined identifier for this Residue.

The index of the Residue within its Topology.

The name of the Residue.


The documentation for this class was generated from the following file:
 All Classes Functions Variables