-
Notifications
You must be signed in to change notification settings - Fork 14
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
duplicated drug mechanism records in CHEMBL #97
Comments
@everaldorodrigo @andrewsu @newgene Was this issue ever addressed? It may be useful since BTE uses this info |
In practice though (based on the query/result below), it doesn't look like the duplicated drug mechanisms result in duplicated results in BTE. So I think this can remain a lower-priority fix. example query and resultquery
duplicated record in https://mychem.info/v1/chem/CHEMBL1201631?fields=chembl: result snippet (search for
|
E.g. on
CHEMBL1201631
Compound Report Card, there is only one drug mechanism record. However, http://mychem.info/v1/chem/CHEMBL1201631 shows two.The duplication comes from the original source file, https://www.ebi.ac.uk/chembl/api/data/mechanism.json.
Same problem may occur to drug indication records.
Suggested fix: remove duplicates after chembl_parser.py#L52; pay attention to nested lists when hashing records.
The text was updated successfully, but these errors were encountered: