You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A similar issue: @cbizon noticed that in this screenshot, there is a CHEBI:CHEBI: ID but no correct CHEBI ID. I noticed that the top synonym seemed to be the UNII ID rather than a human-readable name (vitamin b12)
The CHEBI:CHEBI: bug seems to be coming from pull_drugcentral in drugcentral.py, which creates an xref file whose second column is expected to be an identifier only; however, for CHEBI (and only CHEBI) this column includes the CHEBI: prefix, and so we double-concatenate it later on. Working on a fix now.
The CHEBI:CHEBI: bug is caused by DrugCentral adding a `CHEBI:` prefix to its identifier. This PR checks for that prefix and removes it so the rest of our code can work correctly. Since it only works on `CHEBI` entries with the prefix, it should be fairly safe to leave in even if DrugCentral removes the prefix at a later date. Fixes#69.
This also deletes the non-functional `get_drugcentralx` target, which refers to a function that no longer exists in this repository. Closes#77.
Querying PUBCHEM.COMPOUND:2662 returns CHEBI:CHEBI:41423 as an equivalent ID, which is wrong: https://nodenormalization-sri.renci.org/1.3/get_normalized_nodes?curie=PUBCHEM.COMPOUND%3A2662&conflate=true
Note also that
MESH:C105934
is labeled as[OBSOLETE] celecoxib
-- are we definitely identifying obsolete MESH terms correctly?The text was updated successfully, but these errors were encountered: