phylotastic / phylo_webservices

This repository contains all Web Services that NMSU team created
1 stars 0 forks source link

missing taxon labels: discuss with OT #38

Closed arlin closed 8 years ago

arlin commented 8 years ago

If you query for an induced subtree with a list that includes Ursus species1 and Ursus species2, even if these are the only Ursus species, the node uniting them is not necessarily labeled "Ursus". I can imagine why this might happen due to the way subtrees are extracted. At the front end, however, this annoys users. Some nodes get their expected labels, and others don't.

Suppose you wanted to fix this in the back end, by harvesting taxon names in a way that is most useful or intuitive to users. Gather taxonomic names along a collapsed lineage, and choose the most appropriate by a set of rules, e.g., if > 1 name, prefer a name of full rank; if > 1 full rank name, pick the lowest (or perhaps highest, depending on client preference).

Find out from OT if this can be done. If so, make a feature request. If not, reconsider.

arlin commented 8 years ago

I have discussed this. Next step is to put together use-cases to illustrate the issue, and create a new issue on OT.