[Biopython-dev] [Bug 2551] Adding advanced __getitem__ to generic alignment, e.g. align[1:2, 5:-5]

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Tue Sep 30 12:55:26 UTC 2008


http://bugzilla.open-bio.org/show_bug.cgi?id=2551





------- Comment #2 from jblanca at btc.upv.es  2008-09-30 08:55 EST -------
In the comment #1 I present a class that could be easily adapted to be
compatible with the BioPython Alignment API but with some extra capabilities.
It can hold sequences that start and end at different places (like the EST
assemblies).
It also can have a consensus, although that's a minor improvement.
And it can hold in the rows any sequence-like class like Seq, str, list or
tuple. This would be, I hope, quite future proof, we could also add Quality,
SeqWithQuality or whatever.
It doesn't deal with the alphabet, I think that a subclass should be created to
add that capability. I haven't add alphabets to this class to keep the
compatibility with all the sequence-like objects that have no alphabet.


-- 
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