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
 
_case_less(self)
Return an case-less variant of the current alphabet (PRIVATE).
source code
 
_lower(self)
Return a lower case variant of the current alphabet (PRIVATE).
source code
 
_upper(self)
Return an upper case variant of the current alphabet (PRIVATE).
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.