[Biopython-dev] [Bug 3054] New: Add upper and lower methods to the SeqRecord

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Thu Apr 8 21:56:41 UTC 2010


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

           Summary: Add upper and lower methods to the SeqRecord
           Product: Biopython
           Version: Not Applicable
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main Distribution
        AssignedTo: biopython-dev at biopython.org
        ReportedBy: biopython-bugzilla at maubp.freeserve.co.uk


Unlike some other potential string or Seq like methods the SeqRecord lacks,
I don't see any problems with annotation with adding upper and lower methods.
See also discussion on Bug 2351.

The upper and lower methods are useful, e.g. making a mixed case FASTQ file
into upper case:

from Bio import SeqIO
records = (rec.upper() for rec in SeqIO.parse("mixed.fastq", "fastq"))
SeqIO.write(records, "upper.fastq", "fastq")

Patch to follow.


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