[BioPython] Problem with blastx output parsing =~

Peter biopython at maubp.freeserve.co.uk
Wed Jun 13 19:48:16 UTC 2007


Italo Maia wrote:
> Peter, i tried the patch but i received the following error :
>>>> from Bio.Blast import NCBIStandalone
>>>> parser = NCBIStandalone.BlastParser()
>>>> record = parser.parse(file('99.out','r'))
> ...
> SyntaxError: I expected 2 columns (got 4) in line
> Neighboring words threshold: 12

Oh. My fault.

This was due to the "T: ..." and "A: ..." lines being replaced by 
"Neighboring words threshold: ..." and "Window for multiple hits: ...", 
and me not testing my changes enough.

Could you try revision 1.67 please?

http://cvs.biopython.org/cgi-bin/viewcvs/viewcvs.cgi/biopython/Bio/Blast/NCBIStandalone.py?cvsroot=biopython

Thanks

Peter





More information about the Biopython mailing list