[Biopython-dev] [Bug 1964] New: GenBank.FeatureParser dies on LOCUS Record ADRCG

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Tue Feb 28 13:38:54 EST 2006


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

           Summary: GenBank.FeatureParser dies on LOCUS Record ADRCG
           Product: Biopython
           Version: Not Applicable
          Platform: Macintosh
        OS/Version: Mac OS
            Status: NEW
          Severity: major
          Priority: P2
         Component: Main Distribution
        AssignedTo: biopython-dev at biopython.org
        ReportedBy: mcolosimo at mitre.org


from Bio import GenBank
gi_list = GenBank.search_for("ADRCG")
ncbi_dict = GenBank.NCBIDictionary('nucleotide', 'genbank', parser =  
                    GenBank.FeatureParser())
rec = ncbi_dict[gi_list[0]]

Traceback:
[snip]
Bio/GenBank/__init__.py", line 1507, in feed
    line = self._feed_header(handle, consumer)
Bio/GenBank/__init__.py", line 1436, in _feed_header
    consumer.reference_bases(data[data.find(' ')+1:])
Bio/GenBank/__init__.py", line 458, in reference_bases
    locations = self._split_reference_locations(ref_base_info)
Bio/GenBank/__init__.py", line 496, in _split_reference_locations
    start, end = base_info.split('to')
ValueError: unpack list of wrong size




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