[Biopython-dev] [Bug 2812] New: Adding read method to NCBIXML (just like SeqIO and SwissProt).

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Wed Apr 15 17:42:28 EDT 2009


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

           Summary: Adding read method to NCBIXML (just like SeqIO and
                    SwissProt).
           Product: Biopython
           Version: 1.50b
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main Distribution
        AssignedTo: biopython-dev at biopython.org
        ReportedBy: sbassi at gmail.com


NCBIXML should have a "read" method. It has a parse method that returns an
iterable. If the the ncbiblast output has
only one record (because it was made from 1 query), now we have to
write: NCBIXML.parse(x).next() or iterate over a "list" of one member.

Other objects like SeqIO and SwissProt has both "read" and "parse" to deal with
one entry files. I think for the sake of consistency NCBIXML should also have a
read method.


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