We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56eee14 commit 85e463bCopy full SHA for 85e463b
scripts/aggregate_results.py
@@ -33,11 +33,11 @@ def blast_summary(blast_files):
33
try:
34
with open(infile) as f:
35
for result in parse_blast6(f):
36
- if len(result.hits) > 0:
+ if len(result) > 0:
37
yield {
38
"sample": sample,
39
- "query": result.id,
40
- "hit": result.hits[0].id,
+ "query": result["qseqid"],
+ "hit": result["sseqid"],
41
}
42
except ParseError:
43
print("Skipping empty/malformed %s" % infile)
0 commit comments