[BioPython] Qblast problem

Omenkeukwu, Gregory OmenkeukwuG at americanimaging.net
Wed Jan 18 14:54:47 EST 2006


I am new to Biopython and I am experiencing a little problem. I am running the Blast over the internet example and I keep getting stuck when I invoke the qblast function in NCBIWWW.py. Has anyone ever dealt with the problem below? Every time I run this code I get Invalid literal error for int(). I will appreciate any response thanks.



>>> result_handle = NCBIWWW.qblast('blastn', 'nr', f_record)

Traceback (most recent call last):
  File "<pyshell#9>", line 1, in -toplevel-
    result_handle = NCBIWWW.qblast('blastn', 'nr', f_record)
  File "C:\Python24\Lib\site-packages\Bio\Blast\NCBIWWW.py", line 1092, in qblast
    rid, rtoe = _parse_qblast_ref_page(handle)
  File "C:\Python24\Lib\site-packages\Bio\Blast\NCBIWWW.py", line 1177, in _parse_qblast_ref_page
    return rid, int(rtoe)
ValueError: invalid literal for int(): 1.0 400 We don't support 0.9



Gregory Omenkeukwu
Provider Information Management




======================================================================
The material in this transmission contains confidential information
intended for the addressee. If you are not the addressee, any disclosure 
or use of this information by you is strictly prohibited. If you have
received this transmission in error, please delete it and destroy
all copies. Notify American Imaging Management at 847 564-8500.
Thank You. 
======================================================================




More information about the BioPython mailing list