-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Synonymized taxa in induced subtree #61
Comments
So is the problem that when we use a synonym in the query, the answer uses the canonical name? |
Not exactly - I think it is that via the taxonomy browser ott666104 resolves to ott285198, (Setophaga) but that doesn't happen in induced subtree search. I think the problem is that because the query uses the alternate id, it doesn't find the node, even that taxon is in the tree under another id. so this works:
and this doesn't:
But I'm not sure more broadly how we want to handle taxa can can be referred to by different ottids (or if that should even happen at all). |
So, what we need to do is to
|
re-uppping this. still in our API docs |
Ha, I just ran into this same issue again, in Setophaga specifically! Taxa in this tree are all mapped This is causing the conflict viewer on the tree to behave oddly (compare to synth in Setophaga). But more importantly - in running custom synth, I think no information is carried through to synthesis for 532751 as the tip is mapped to 3597209. Which I guess is pruned? @mtholder any thoughts? |
From digging into bomeara's question on gitter- I realized that our API docs induced_subtree example isn't working.
https://github.com/OpenTreeOfLife/germinator/wiki/Synthetic-tree-API-v3#induced_subtree
The problem appears to be that one of the id's 'ott666014' has been synonymized with 'ott285198'
https://tree.opentreeoflife.org/taxonomy/browse?id=666104
This means this while the taxon that 'ott666014' refers to does appear in the synthetic tree, the node in the synthetic tree it refers to does not have that node id.
The text was updated successfully, but these errors were encountered: