[Biopython-dev] [Bug 2802] New: Loader.py: load SeqRecord comments as list

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Wed Apr 1 11:28:12 UTC 2009


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

           Summary: Loader.py: load SeqRecord comments as list
           Product: Biopython
           Version: 1.49b
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: BioSQL
        AssignedTo: biopython-dev at biopython.org
        ReportedBy: andrea at biodec.com


Loader.py version: 1.38 or below
python: any

Actually seqrecord.annotation['comment'] is a string. SProt parser and GenBank
parser parse comment as string. SProt record parser, instead, parse comment as
list, according to the "-!-" tag. I'm working on parsing comment as lists,
either for Uniprot and for GenBank (ncbi), and I need to have the possibility
to manage comment as lists. 

The biosql schema, also, has in the table "comment", the field "rank" that
is suitable to be used for storing list entries. In this way the table is
ready and implemented to store list data.

The patch is retro-compatible, so the _load_comment function is able to 
load either string or list entries, according to the data type.


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