[Biopython-dev] [Bug 2585] New: Error in Bio.SeqUtils.apply_on_multi_fasta

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Wed Sep 10 20:29:42 EDT 2008


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

           Summary: Error in Bio.SeqUtils.apply_on_multi_fasta
           Product: Biopython
           Version: 1.48
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main Distribution
        AssignedTo: biopython-dev at biopython.org
        ReportedBy: sbassi at gmail.com


Function "apply_on_multi_fasta" (in SeqUtils) has properties that are no longer
valid. See this line:

      arguments = [record.sequence]

And this line:

         results.append('>%s\n%s' % (record.title, result))

This provokes an error when trying to run this function (sorry I don't have the
error message in this computer).
A possible replacement for both lines:

      arguments = [record.seq]
and:
      results.append('>%s\n%s' % (record.name, result))


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