Package Bio :: Package Blast :: Module Record :: Class MultipleAlignment
[hide private]
[frames] | no frames]

Class MultipleAlignment

source code

Holds information about a multiple alignment.

Members: alignment A list of tuples (name, start residue, sequence, end residue).

The start residue is 1-based. It may be blank, if that sequence is not aligned in the multiple alignment.

Instance Methods [hide private]
 
__init__(self) source code
 
to_generic(self, alphabet)
Retrieve generic alignment object for the given alignment.
source code
Method Details [hide private]

to_generic(self, alphabet)

source code 

Retrieve generic alignment object for the given alignment.

Instead of the tuples, this returns an Alignment object from Bio.Align.Generic, through which you can manipulate and query the object.

alphabet is the specified alphabet for the sequences in the code (for example IUPAC.IUPACProtein.

Thanks to James Casbon for the code.