Skip to content

Text Tagger returns obsolete ontology terms #1196

@eks-ebi

Description

@eks-ebi

Describe the bug
The Text Tagger feature in the dev version of OLS (https://wwwdev.ebi.ac.uk/ols4/tag-text) currently returns terms that are obsolete (e.g. http://www.ebi.ac.uk/efo/EFO_0001360 obsolete_type II diabetes mellitus). I think these should be excluded from the results.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://wwwdev.ebi.ac.uk/ols4/tag-text
  2. Copy text into the box, e.g.
Despite similar age and sex distributions, our three Asian ethnic groups exhibit distinct profiles for health, including disease burden and distributions for clinically relevant exposures and endophenotypes. We highlight that Indian and Malay participants have a higher prevalence for hypertension, obesity, and type 2 diabetes (T2D), compared to Chinese participants, and a higher frequency of symptoms for depression and anxiety.
  1. Scroll down to the Matched Terms
  2. See the free text "type 2 diabetes" maps to obsolete EFO term http://www.ebi.ac.uk/efo/EFO_0001360

Expected behavior
I expect obsolete terms to be filtered out of the matching results.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions