Sometimes there are multiple taxon ids for one sequence id. This currently breaks lookup_tax_data.
Another complication is that NCBI does not provide any info on which query goes with which output, so we can only do one id per query given that there could be multiple results per id.
So there is two options:
1) duplicate the query input for each output
2) return just the first
1 is probably the most robust, but it could be a bit more work to implement than I want to do right now.
I think I will do 2 for now to get things working, but keep 1 in mind for the future.
Sometimes there are multiple taxon ids for one sequence id. This currently breaks
lookup_tax_data
. Another complication is that NCBI does not provide any info on which query goes with which output, so we can only do one id per query given that there could be multiple results per id.So there is two options:
1) duplicate the query input for each output 2) return just the first
1 is probably the most robust, but it could be a bit more work to implement than I want to do right now. I think I will do 2 for now to get things working, but keep 1 in mind for the future.