Entering edit mode
14.6 years ago
Jeremy Leipzig
22k
I am getting the following error when I try -m9
File "parseBlast.biopython.py", line 5, in ?
blast_record = blast_parser.parse(result_handle)
File "/src/biopython-1.52/build/lib.linux-x86_64-2.4/Bio/Blast/NCBIStandalone.py", line 763, in parse
self._scanner.feed(handle, self._consumer)
File "/src/biopython-1.52/build/lib.linux-x86_64-2.4/Bio/Blast/NCBIStandalone.py", line 96, in feed
self._scan_header(uhandle, consumer)
File "/src/biopython-1.52/build/lib.linux-x86_64-2.4/Bio/Blast/NCBIStandalone.py", line 213, in _scan_header
raise ValueError("Invalid header?")
ValueError: Invalid header?
uhhh no thanks xml is way too verbose. I have over 20M alignments.
then either try the latest biopython's release or use another tool. Or write to the biopython's mailing list and explain your use case, maybe they will update the parser for you.