sfb1451 / tabby-utils

0 stars 2 forks source link

Handle alternative NCBITaxon ID #19

Open mslw opened 7 months ago

mslw commented 7 months ago

Mus musculus, NCBITaxon:10080 has alternative ID, NCBITaxon:85055, and some people are used to using this one instead.

The has_alternative_id property is reported by OLS and by Ontobee.

However, given an NCBITaxon, we construct an IRI by prefixing http://purl.obolibrary.org/obo/, and use that in OLS ontologies API. The problem is, http://purl.obolibrary.org/obo/NCBITaxon_85055 does not resolve.

The proper kind of query would probably be "something that has an alternative id NCBITaxon:85055", which is much harder than a simple IRI query. Maybe we can simply add our own lookup that replaces 85055 with 10080, given that it is a commonly studied species in our SFB?