[Biopython-dev] Bio.SeqIO
Michiel de Hoon
mdehoon at c2b2.columbia.edu
Mon Feb 26 01:45:16 UTC 2007
Peter wrote:
> Note that we may want to improve the generic alignment class at some
> point (e.g. see bug 1944). If alignments could be initialized from a
> SeqRecord list/iterator this would make the SequencesToAlignment()
> function "obsolete"...
>
I think that the functionality of SequencesToAlignment fits better in
Bio.Align than in Bio.SeqIO. The easiest way to accomplish this might be
to change the __init__ of the Alignment class from
def __init__(self, alphabet)
to
def __init__(self, alphabet, records=[])
--Michiel.
More information about the Biopython-dev
mailing list