Package Bio :: Package Alphabet :: Class Alphabet
[hide private]
[frames] | no frames]

Class Alphabet

source code

Known Subclasses:

Instance Methods [hide private]
 
__repr__(self) source code
 
contains(self, other)
Does this alphabet 'contain' the other (OBSOLETE?).
source code
Class Variables [hide private]
  letters = None
hash(x)
  size = None
hash(x)
Method Details [hide private]

contains(self, other)

source code 

Does this alphabet 'contain' the other (OBSOLETE?).

Returns a boolean. This relies on the Alphabet subclassing hierarchy only, and does not check the letters property. This isn't ideal, and doesn't seem to work as intended with the AlphabetEncoder classes.