Open mtholder opened 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.
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...
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.
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.
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.