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

allow string searches to scan CHEBI synonyms #12

Open
proccaserra opened this issue Mar 4, 2019 · 1 comment
Open

allow string searches to scan CHEBI synonyms #12

proccaserra opened this issue Mar 4, 2019 · 1 comment

Comments

@proccaserra
Copy link

proccaserra commented Mar 4, 2019

As per our email exchange:

libcheby.search() currently scan chebi 's chemical name attribute but seems to leave out 'has_related_synonym' attribute.

I am currently facing the following issue:
using the string "(E)-2-Hexenal" with libcheby.search(string, True) gives me back the element: CHEBI:132995 (E,E)-bilirubin anion

If using https://www.ebi.ac.uk/chebi/ search function with the string "(E)-2-Hexenal", the top hit is:
https://www.ebi.ac.uk/chebi/searchId.do?chebiId=CHEBI:28913, which what I am after.

thx!

another way to formulate the feature request: add another argument to libchebi.search(string,exact=boolean,synonym=boolean) so that if synonym argument is set to true, the synonym space is searched for exact matches on the input string.
aim: improve recall

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

No branches or pull requests

2 participants