chembl / GLaDOS

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

Drug warning information in APIs #1280

Open FionaEBI opened 3 years ago

FionaEBI commented 3 years ago

Dear Juan, I notice that the boxed_warning field appears twice in the 'Drug' API, with different field names: e.g. "black_box": false, "black_box_warning": "0", I assume that this comes from the aggregation of the data onto the parent from different places? Please can you think how best to correct this? As far as I can see, the data is identical for the different fields, although uses false/true or 0/1 for the values. See https://www.ebi.ac.uk/chembl/api/data/drug.json?parent_molecule_chembl_id=CHEMBL109

Also, please could you: (i) include a description of the 'drug_warning' API at https://chembl.gitbook.io/chembl-interface-documentation/web-services/chembl-data-web-services, ii) amend the description for 'Drug' , 'Drug_indication', 'Mechanism' and 'Drug_warning' to explain clearly that these API aggregate the data on the parent molecule. I.e. it should be clear that you will not find information for a salt molecule within these APIs.

Thanks!