-
Notifications
You must be signed in to change notification settings - Fork 8
allow string searches to scan CHEBI synonyms #12
Description
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