[Biopython-dev] [Bug 2386] Bio.Seq.Seq and MutableSeq count() method only works for single residues

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Tue Oct 30 19:33:40 UTC 2007


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





------- Comment #5 from biopython-bugzilla at maubp.freeserve.co.uk  2007-10-30 15:33 EST -------
Adding .upper() and .lower() methods is on my mental todo list, just a bit
lower down the my priorities than the .count() method (this bug) and biological
methods covered on bug 2381.

One of us should file an enhancement bug for .upper() and .lower()

I agree they are needed to make the Seq object more string like.  However the
implementation is non-trivial due to the alphabet object (which may define a
case sensitive list of expected letters).

And yes, once these methods are supported then doing
my_seq.upper().count("ATG") would work fine.


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