[Biopython-dev] 4/22 active questions tagged biopython - Stack Overflow

Feed My Inbox updates at feedmyinbox.com
Fri Apr 22 04:38:36 UTC 2011


// Problem with GFF parser by BCBio
// April 21, 2011 at 5:50 AM

http://stackoverflow.com/questions/5742379/problem-with-gff-parser-by-bcbio
Hi,

I am trying to parse a GFF file using the BCBio GFF parser and I get the following error. Can anybody help me in resolving this problem?

Traceback (most recent call last):
  File "gff_parse.py", line 6, in 
    for rec in GFF.parse(in_handle):
  File "build/bdist.linux-x86_64/egg/BCBio/GFF/GFFParser.py", line 709, in parse
  File "build/bdist.linux-x86_64/egg/BCBio/GFF/GFFParser.py", line 299, in parse_in_parts
  File "build/bdist.linux-x86_64/egg/BCBio/GFF/GFFParser.py", line 320, in parse_simple
  File "build/bdist.linux-x86_64/egg/BCBio/GFF/GFFParser.py", line 603, in _gff_process
  File "build/bdist.linux-x86_64/egg/BCBio/GFF/GFFParser.py", line 634, in _lines_to_out_info
  File "build/bdist.linux-x86_64/egg/BCBio/GFF/GFFParser.py", line 183, in _gff_line_map
ValueError: invalid literal for int() with base 10: 'New Start'

Here is my code:

from BCBio import GFF

in_file = "infile.gff"

in_handle = open(in_file)

for rec in GFF.parse(in_handle):

 print rec


in_handle.close()

Thanks 
Tulika


--
Website: http://stackoverflow.com/questions/tagged/?tagnames=biopython&sort=active

Account Login: 
https://www.feedmyinbox.com/members/login/?utm_source=fmi&utm_medium=email&utm_campaign=feed-email

Unsubscribe here: 
http://www.feedmyinbox.com/feeds/unsubscribe/630208/9a33fac9c8e89861715f609a2333362c8425e495/?utm_source=fmi&utm_medium=email&utm_campaign=feed-email

--
This email was carefully delivered by FeedMyInbox.com. 
PO Box 682532 Franklin, TN 37068




More information about the Biopython-dev mailing list