Table of Contents

Class: Seq Bio/Seq.py
Methods   
__add__
__getitem__
__getslice__
__init__
__len__
__radd__
__repr__
__str__
count
tomutable
tostring
  __add__ 
__add__ ( self,  other )

Exceptions   
TypeError, ("incompatable alphabets", str( self.alphabet ), str( other.alphabet ) )
  __getitem__ 
__getitem__ ( self,  i )

  __getslice__ 
__getslice__ (
        self,
        i,
        j,
        )

  __init__ 
__init__ (
        self,
        data,
        alphabet=Alphabet.generic_alphabet,
        )

  __len__ 
__len__ ( self )

I don't think I like this method... def __cmp__(self, other): if isinstance(other, Seq): return cmp(self.data, other.data) else: return cmp(self.data, other)

  __radd__ 
__radd__ ( self,  other )

Exceptions   
TypeError, ("incompatable alphabets", str( self.alphabet ), str( other.alphabet ) )
  __repr__ 
__repr__ ( self )

  __str__ 
__str__ ( self )

  count 
count ( self,  item )

  tomutable 
tomutable ( self )

  tostring 
tostring ( self )


Table of Contents

This document was automatically generated on Mon Jul 1 12:02:43 2002 by HappyDoc version 2.0.1