Closed egonw closed 5 years ago
Mhh, that is interesting.... So you want me to fix that in Wikidata right? I can see if they are running a test on Wikidata as well to test for IDs of drugbank that do not adhere to the required standard (and otherwise add that, they have something similar for ChEBI I believe).
No, it needs to be fixed when importing the data. The format on Wikidata is without the "DB" part.
Ah okay.... and we are only taking in DrugBank from Wikidata right? (HMDB also had drugbank IDs, and they do start with DB still....)
We just have to make sure they start with DB, but, yes, I think we only take them from Wikidata.
Yes I just checked, see line 209 in createDerby: // addXRef(database, ref, rootNode.drugbank_id.toString(), drugbankDS);
So we are only taking in Drugbank IDs from Wikidata. I'll try to fix this issue tomorrow/Wednesday (before I'll release a new mapping file, with latest ChEBI release).
The QC tool reports:
I think these comes from Wikidata, which leaves out the DB.