[Biopython-dev] [Bug 2507] Adding __getitem__ to SeqRecord for element access and slicing

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Wed Feb 25 15:42:25 UTC 2009


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


biopython-bugzilla at maubp.freeserve.co.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #998 is|0                           |1
           obsolete|                            |




------- Comment #12 from biopython-bugzilla at maubp.freeserve.co.uk  2009-02-25 10:42 EST -------
Created an attachment (id=1249)
 --> (http://bugzilla.open-bio.org/attachment.cgi?id=1249&action=view)
Patch to SeqRecord.py and SeqFeature.py

This updates the old patch (which no longer applied cleanly to CVS), and
implements per-letter-annotation with a restricted dictionary as discussed on
the mailing list.  The precise name for the publicly exposed
per-letter-annotation dictionary is still open to debate, here I have used
letter_annotation - see the mailing list for more:
http://lists.open-bio.org/pipermail/biopython-dev/2009-February/005340.html

This includes a lengthy doctest on the SeqRecord __getitem__ method, but
further additions to the unit tests would be wise.


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