[Biopython-dev] [Bug 2731] Adding .upper() and .lower() methods to the Seq object

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Tue Jan 13 00:30:55 UTC 2009


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





------- Comment #4 from biopython-bugzilla at maubp.freeserve.co.uk  2009-01-12 19:30 EST -------
Created an attachment (id=1192)
 --> (http://bugzilla.open-bio.org/attachment.cgi?id=1192&action=view)
Patch to Bio/Seq.py and Bio/Alphabet/__init__.py

Implements upper/lower methods in the Seq object, handling the alphabet case
conversion in the Alphabet object using (private) upper/lower methods.  This
could be extended for the IUPAC alphabets if we add lower case variants to
those (see Bug 2532).

This works for the evil example in comment 3 where the case of any extra
characters from an AlphabetEncoder should also be changed.


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