chembl / GLaDOS

Web Interface for ChEMBL @ EMBL-EBI
https://www.ebi.ac.uk/chembl/
Other
46 stars 6 forks source link

Searching by compound name in upper case does not return the correct result #686

Closed FionaEBI closed 6 years ago

FionaEBI commented 6 years ago

For example, if you put approved drug GLYBURIDE into the search bar at the top of the page, then the compound report card is not returned, but instead a whole load of compound report cards that are unrelated to the query. A workaround is to search for "GLYBURIDE" which returns the correct result.

Thanks, Fiona

mnowotka commented 6 years ago

Interstingly, autosuggestion works correctly but results are stange and there is no highlighting on result mini-cards.

juanfmx2 commented 6 years ago

Yes, this bug was introduced by the change that supports BLAST sequences and it thinks the text GLYBURIDE is a protein sequence and can't find anything. I'm fixing this. Temporarily you can use get relevant results using lower case text http://chembl-glados.herokuapp.com/g/#search_results/glyburide

mnowotka commented 6 years ago

One trivial solution would be: if BLAST gives nothing maybe this is not a sequence ;)

nbosc commented 6 years ago

I don't know how the solution to this bug is going but maybe an easy fix would be to include a check box to explicitly specify if the query is a sequence. I know you want to keep the interface as simple as possible but sequence is a very singular example of things you might want to search in chembl. Even if my query looks like a peptide, eg: PRAVASTATIN (a drug name), it would puzzle me to get as a result the proteins that contains the corresponding amino acid sequence even if it is true.

juanfmx2 commented 6 years ago

This is fixed now!

FionaEBI commented 6 years ago

Excellent, well done!! Fiona

On 6 Jun 2018, at 16:52, Juan Felipe Mosquera Morales notifications@github.com wrote:

Closed #686 https://github.com/chembl/GLaDOS/issues/686.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chembl/GLaDOS/issues/686#event-1666506331, or mute the thread https://github.com/notifications/unsubscribe-auth/AfXzWjmLpEfp20P_EcM30blMltmnv0F_ks5t5_rMgaJpZM4Sqsi9.


Dr Fiona M I Hunter CChem MRSC Chemogenomics Group European Bioinformatics Institute (EMBL-EBI) Wellcome Genome Campus Hinxton Cambridge CB10 1SD United Kingdom

01223 494317 fiona.hunter@ebi.ac.uk mailto:fiona.hunter@ebi.ac.uk


nbosc commented 6 years ago

Good but new issues are on coming!