Closed boaty closed 2 years ago
Hello @boaty,
Thank you for the issue.
The KeyError comes from an error in the code creating the input dictionary with the metadata associated to the Organism/Genome Name. The commit 113651f73917b8c074737e8b239053ec2f12e39f should fixed this issue. Can you use the GitHub version of emapper2gbk and see if this fix the issue on your end?
For the issue with the missing ":", it happens sometime after an update of the Gene Ontology obo file. This issue is fixed in the obo file in the GitHub repository (https://github.com/geneontology/go-ontology/commit/2f630886cf2a1cbf8163d1ddf2cd58b00c927482). So we should wait for the next release to have this fix. But I will try to implement a function that try to query this obo file when we encounter an issue with the release Gene Ontology file. Maybe this could fix this issue.
Best Regards.
Thank you Arnaud, I tired GitHub version and it works well, bug fixed!
Description
hello,
We encountered this KeyError while running emapper2gbk. It seems like due to unmatched column for input annotation file from emapper. We tested then with GitHub example files: betbox fna,faa and annotation, but the problem persisted.
We used emapper version 2.1.6 with a default outformat 6 (--outfmt 6).
And we also noticed that online file of go-basic.obo has a missing ":" .
thanks a lot
What I Did