Skip to content
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

Mappings REST service fails to maintain the ordering of ontologies #63

Open
mdorf opened this issue Feb 29, 2020 · 0 comments
Open

Mappings REST service fails to maintain the ordering of ontologies #63

mdorf opened this issue Feb 29, 2020 · 0 comments

Comments

@mdorf
Copy link
Member

mdorf commented Feb 29, 2020

User report:

On the mappings page for NCI_Thesaurus http://bioportal.bioontology.org/ontologies/NCIT/?p=mappings you have a mapping to World Health Organization (WHO) Adverse Reaction Terminology. Within the mapping at:

http://bioportal.bioontology.org/mappings/show/NCIT?target=http%3A%2F%2Fdata.bioontology.org%2Fontologies%2FWHO-ART

the column names are reversed. The NCIt concepts are in the WHO column and vice versa.

I found additional cases of this behavior. For example:

http://bioportal.bioontology.org/mappings/show/SNOMEDCT?target=http%3A%2F%2Fdata.bioontology.org%2Fontologies%2FBRO

It appears that the mappings REST service does not always respect the ordering of ontologies, as passed in the arguments. For example, in the following call:

http://data.bioontology.org/mappings/?ontologies=NCIT,WHO-ART

...one would expect the NCIT classes to be the first in each mapping result, but this isn't the case. Same with the second case:

http://data.bioontology.org/mappings/?ontologies=SNOMEDCT,BRO

Reversing the parameters does not change the output:

http://data.bioontology.org/mappings/?ontologies=BRO,SNOMEDCT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants