Skip to content

allow string searches to scan CHEBI synonyms #12

@proccaserra

Description

@proccaserra

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions