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

Class LibraryInterface

object --+
         |
        LibraryInterface

Known Subclasses:
Library

The public interface for implementing new Library classes
Method Summary
  get_element(self, symbol)
Return the corresponding Element description instance for the given element symbol.
  get_monomer(self, res_name)
Returns the Monomer class instance for the monomer defined by the 3 letter code res_name.
  is_amino_acid(self, res_name)
Returns True if the monomer defined by the 3 letter code res_name is a L-amino acid, otherwise returns False.
  is_nucleic_acid(self, res_name)
Returns True if the monomer defined by res_name is a nucleic acid, otherwise returns False.
  is_standard_residue(self, res_name)
  is_water(self, res_name)
Returns True if the 3 letter code res_name is one of the synonyms for water, otherwise returns False.
    Inherited from object
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __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_element(self, symbol)

Return the corresponding Element description instance for the given element symbol. Returns None if no description is found.

get_monomer(self, res_name)

Returns the Monomer class instance for the monomer defined by the 3 letter code res_name. Returns None if no description is found.

is_amino_acid(self, res_name)

Returns True if the monomer defined by the 3 letter code res_name is a L-amino acid, otherwise returns False.

is_nucleic_acid(self, res_name)

Returns True if the monomer defined by res_name is a nucleic acid, otherwise returns False.

is_water(self, res_name)

Returns True if the 3 letter code res_name is one of the synonyms for water, otherwise returns False.

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