bigbio / sdrf-pipelines

A repository to convert SDRF proteomics files into pipelines config files
Apache License 2.0
16 stars 21 forks source link

Searching for a term found as substring in OLS. #161

Closed ypriverol closed 6 months ago

ypriverol commented 6 months ago

Currently, when searching for each term in OLS we use the function search with the option exact=on this will search all the terms where the given string is found. However, what we really want is to find the exact term in the ontology an not the substring. For example, (drosophila melanogaster) will be now returning all the ontology terms that contains drosophila not only one term.

I suggest doing the search with OLS, but also filter out the resulted results with the given term.