[Biopython-dev] [Bug 1944] Align.Generic adding iterator and more

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Tue May 13 16:25:49 UTC 2008


------- Comment #13 from biopython-bugzilla at maubp.freeserve.co.uk  2008-05-13 12:25 EST -------
I see some interesting parrallels for the __getitem__ options for a sequence
alignment, and recent and on going discussions on the numpy discussion list for
the __getitem__ behaviour of matrices versus arrays.  In particular, some
participants favour return of row/column vector objects in some situations. 
Also methods to allow iteration over rows or columns have been suggested.

Here with the sequence Alignment class, we could have SeqRecords for the rows,
but Seq or strings for the columns.  Perhaps we should wait and see how the
numpy discussion turns out?

However, some of the other options discussed here on this bug are probably
worth committing soon (e.g. the __str__ and __repr__ methods)

Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the Biopython-dev mailing list