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

Class AlphabetEncoder

source code

object --+
         |
        AlphabetEncoder
Known Subclasses:

Instance Methods [hide private]
 
__init__(self, alphabet, new_letters)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__getattr__(self, key) source code
 
__repr__(self)
repr(x)
source code
 
contains(self, other)
Does this alphabet 'contain' the other (OBSOLETE?).
source code
 
_upper(self)
Return an upper case variant of the current alphabet (PRIVATE).
source code
 
_lower(self)
Return a lower case variant of the current alphabet (PRIVATE).
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, alphabet, new_letters)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 
repr(x)

Overrides: object.__repr__
(inherited documentation)

contains(self, other)

source code 

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

This is isn't implemented for the base AlphabetEncoder, which will always return 0 (False).