[Biopython-dev] [Bug 1942] GenBank RecordParser fails on particular qualifier structure

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Fri Feb 3 11:30:41 EST 2006


biopython-bugzilla at maubp.freeserve.co.uk changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

------- Comment #2 from biopython-bugzilla at maubp.freeserve.co.uk  2006-02-03 11:30 -------
Using the CVS copy of Bio/GenBank/__init__.py your example works for me. 
Please reopen the bug or follow up on the mailing list if that doesn't solve
the problem for you.

My copy of the NC_002758 GenBank file has the same "bad" note entry, it starts:

LOCUS       NC_002758            2878529 bp    DNA     circular BCT 19-JAN-2005

Sample output:

Python 2.3.3 (#51, Dec 18 2003, 20:22:39) [MSC v.1200 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from Bio.GenBank import RecordParser
>>> parser = RecordParser()
>>> record = parser.parse(file('NC_002758.gbk'))
>>> print record.features[1635]
     CDS             878043..878612
                     /note=" similar to bacteriophage terminase small subunit"
                     /product="similar to bacteriophage terminase small

Notice that the original "bad" formating has not been preserved - which is
arguably a bug...

*** This bug has been marked as a duplicate of 1903 ***

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