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.
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.