Package mmLib :: Module Library :: Class Monomer
[show private | hide private]
[frames | no frames]

Class Monomer

      object --+    
               |    
MonomerInterface --+
                   |
                  Monomer


Monomer definition from RCSB component dictionary.
Method Summary
  __init__(self, **args)
  get_polymer_bond_list(self, mon1, mon2)
Returns a list of 2-tuples.
  is_amino_acid(self)
Returns True if the Monomer is a amino acid, otherwise returns False.
  is_nucleic_acid(self)
Returns True if the Monomer is a nucleic acid, otherwise returns False.
  is_water(self)
Returns True if the Monomer is a water molecule, otherwise returns False.
    Inherited from MonomerInterface
  is_standard_residue(self)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)
    Inherited from type
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T

Method Details

get_polymer_bond_list(self, mon1, mon2)

Returns a list of 2-tuples. Each 2-tuple (mon1_name, mon2_name) represents one bond between the atom named mon1_name in mon1 and the atom named mon2_name in mon2.
Overrides:
mmLib.Library.MonomerInterface.get_polymer_bond_list

is_amino_acid(self)

Returns True if the Monomer is a amino acid, otherwise returns False.
Overrides:
mmLib.Library.MonomerInterface.is_amino_acid

is_nucleic_acid(self)

Returns True if the Monomer is a nucleic acid, otherwise returns False.
Overrides:
mmLib.Library.MonomerInterface.is_nucleic_acid

is_water(self)

Returns True if the Monomer is a water molecule, otherwise returns False.
Overrides:
mmLib.Library.MonomerInterface.is_water

Generated by Epydoc 2.0 on Wed Nov 24 17:34:56 2004 http://epydoc.sf.net