OpenTreeOfLife / opentree

Opentree browsing and curation web site. For overarching or cross-repo concerns, please see the 'germinator' repo.
http://tree.opentreeoflife.org/
BSD 2-Clause "Simplified" License
107 stars 26 forks source link

wrong phylopic in cross-kingdom homonyms #258

Open mtholder opened 10 years ago

mtholder commented 10 years ago

See cf. the fungus Drosophila depicted for the insect genus Drosophila: http://dev.opentreeoflife.org/opentree/argus/otol.draft.22@1564871/Drosophila

this is not a high-priority, but I thought I'd mention it.

jimallman commented 10 years ago

This is tricky, since we only submit the taxon name to phylopic, like so: http://phylopic.org/api/a/name/search?text=Drosophila&options=icon+illustrated

If phylopic returns more than one result, we simply grab the first one, which (as you point out) is sometimes the wrong image. Not sure what the best way is to isolate the sensible choice, but I'll look deeper into the search options on PhyloPic.

jimallman commented 10 years ago

OK, here's a possible solution: http://phylopic.org/api/#method-name-taxonomy-multiple

This could return taxonomic information for a set of taxon UUIDs (returned in the list above). We could conceivably use this to examine "ancestors" of each candidate taxon, if we know what we're looking for...

jar398 commented 10 years ago

It would not be too hard to generate a ubio / OTT alignment. It might also be useful for Treebase trees. I'm not sure where we would put it though - I guess it could go in the 'sourceinfo' field of OTT but that's an awful lot of clutter... or maybe in taxomachine.

jar398 commented 8 years ago

Any upvotes for a ubio / OTT alignment? Or is this issue a wontfix?

I don't really like the method-name-taxonomy-multiple idea, too complicated and too much of a hack.