{"action":"created","issue":{"url":"https://api.github.com/repos/biopython/biopython/issues/556","labels_url":"https://api.github.com/repos/biopython/biopython/issues/556/labels{/name}","comments_url":"https://api.github.com/repos/biopython/biopython/issues/556/comments","events_url":"https://api.github.com/repos/biopython/biopython/issues/556/events","html_url":"https://github.com/biopython/biopython/issues/556","id":84589039,"number":556,"title":"Blastxml parser ValueError: need more than 1 value to unpack","user":{"login":"breviata","id":12714987,"avatar_url":"https://avatars.githubusercontent.com/u/12714987?v=3","gravatar_id":"","url":"https://api.github.com/users/breviata","html_url":"https://github.com/breviata","followers_url":"https://api.github.com/users/breviata/followers","following_url":"https://api.github.com/users/breviata/following{/other_user}","gists_url":"https://api.github.com/users/breviata/gists{/gist_id}","starred_url":"https://api.github.com/users/breviata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breviata/subscriptions","organizations_url":"https://api.github.com/users/breviata/orgs","repos_url":"https://api.github.com/users/breviata/repos","events_url":"https://api.github.com/users/breviata/events{/privacy}","received_events_url":"https://api.github.com/users/breviata/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"bow","id":343998,"avatar_url":"https://avatars.githubusercontent.com/u/343998?v=3","gravatar_id":"","url":"https://api.github.com/users/bow","html_url":"https://github.com/bow","followers_url":"https://api.github.com/users/bow/followers","following_url":"https://api.github.com/users/bow/following{/other_user}","gists_url":"https://api.github.com/users/bow/gists{/gist_id}","starred_url":"https://api.github.com/users/bow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bow/subscriptions","organizations_url":"https://api.github.com/users/bow/orgs","repos_url":"https://api.github.com/users/bow/repos","events_url":"https://api.github.com/users/bow/events{/privacy}","received_events_url":"https://api.github.com/users/bow/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2015-06-03T14:19:40Z","updated_at":"2015-12-21T17:07:55Z","closed_at":null,"body":"I'm running into a problem with the SearchIO xml blast parser. I'm analyzing thousands of files with 50 blast results per file. The script works on about 10k sequences and then I get an error on this one file. If I pass the error, I get about 1000 similar cases of the script failing. (CC @peterjc @bow ) \r\n\r\n**ERROR**\r\n\r\n```Traceback (most recent call last):\r\n  File \"/home/cstairs/SOFTWARE/MitoPipe_Apr2015_faster2.py\", line 464, in <module>\r\n    for blast_record in blast_records:\r\n  File \"/opt/perun/python_packages/lib/python2.7/site-packages/Bio/SearchIO/__init__.py\", line 316, in parse\r\n    for qresult in generator:\r\n  File \"/opt/perun/python_packages/lib/python2.7/site-packages/Bio/SearchIO/BlastIO/blast_xml.py\", line 198, in __iter__\r\n    for qresult in self._parse_qresult():\r\n  File \"/opt/perun/python_packages/lib/python2.7/site-packages/Bio/SearchIO/BlastIO/blast_xml.py\", line 294, in _parse_qresult\r\n    query_id):\r\n  File \"/opt/perun/python_packages/lib/python2.7/site-packages/Bio/SearchIO/BlastIO/blast_xml.py\", line 395, in _parse_hit\r\n    [a.split(' ', 1) for a in full_id_desc.split(' >')]]\r\nValueError: need more than 1 value to unpack```\r\n\r\n**BIOPYTHON MODULE LINE THAT IS FAILING**\r\n\r\n```id_descs = [(x.strip(), y.strip()) for x, y in\r\n            \t\t[a.split(' ', 1) for a in full_id_desc.split(' >')]]```\r\n\r\n**LINK TO BLAST OUTPUT FILE**\r\n\r\n[OUTPUT file] (https://drive.google.com/file/d/0B8CzGBmKCzfgS2F5eWZKYXJyVDg/view)\r\nOffending sequence: TR7258zzzc0_g2_i1_4\r\n"},"comment":{"url":"https://api.github.com/repos/biopython/biopython/issues/comments/166361374","html_url":"https://github.com/biopython/biopython/issues/556#issuecomment-166361374","issue_url":"https://api.github.com/repos/biopython/biopython/issues/556","id":166361374,"user":{"login":"bow","id":343998,"avatar_url":"https://avatars.githubusercontent.com/u/343998?v=3","gravatar_id":"","url":"https://api.github.com/users/bow","html_url":"https://github.com/bow","followers_url":"https://api.github.com/users/bow/followers","following_url":"https://api.github.com/users/bow/following{/other_user}","gists_url":"https://api.github.com/users/bow/gists{/gist_id}","starred_url":"https://api.github.com/users/bow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bow/subscriptions","organizations_url":"https://api.github.com/users/bow/orgs","repos_url":"https://api.github.com/users/bow/repos","events_url":"https://api.github.com/users/bow/events{/privacy}","received_events_url":"https://api.github.com/users/bow/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T17:07:55Z","updated_at":"2015-12-21T17:07:55Z","body":"Shall we close this issue? Unless @breviata still encounters problems with the current fix :)."}}