ClustalIterator(handle,
alphabet=SingleLetterAlphabet())
| source code
|
Reads a Clustalw file returning a SeqRecord object iterator.
The entire file is loaded at once, but the SeqRecord objects are only
created "on request".
For more information on the file format, please see:
http://www.bioperl.org/wiki/ClustalW_multiple_alignment_format
You might like to look at Bio.Clustalw which has an interface to the
command line tool clustalw, and can also clustal alignment files into
Bio.Clustalw.ClustalAlignment objects.
We call this the "clustal" format which is consistent with
EMBOSS. Sadly BioPerl calls it the "clustalw" format, so we
can't match them both.
|