Some versions of eggnog-mapper (but I do not know which) can return multiple matches for the same protein. This could lead to an error in the script (here).
There are multiple solutions:
select the match with highest score, by adding the following line (just after this line):
Some versions of eggnog-mapper (but I do not know which) can return multiple matches for the same protein. This could lead to an error in the script (here).
There are multiple solutions: