Skip to content
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

ChemicalSubstance (PUBCHEM.COMPOUND:40466924) - (causes, causes_adverse_event) - Disease #82

Open
sstemann opened this issue Jun 29, 2021 · 5 comments

Comments

@sstemann
Copy link
Contributor

sstemann commented Jun 29, 2021

Query: enalaprilDisease.json
PK: ff36cd35-2d82-4b62-b550-4e2a5d8f017a
PUBCHEM.COMPOUND: 40466924

Results Tracking Sheet

image

@CaseyTa
Copy link
Contributor

CaseyTa commented Jun 29, 2021

COHD and OpenPredict are behaving as expected. No results from OpenPredict, and COHD returns the message:

None of the predicates in ['biolink:causes', 'biolink:causes_adverse_event'] are supported by COHD.

@andrewsu
Copy link

The SmartAPI / BTE knowledge graph only has predicates for biolink:related_to, biolink:treats and biolink:contraindicated_for. (For reference, kludgey analysis of the query without specifying a predicate is below, showing the counts of the predicates we do get between PUBCHEM.COMPOUND:40466924 and Diseases...)

$ curl --silent --location --request POST "https://api.bte.ncats.io/v1/query" --header "Content-Type: application/json" --data-raw "{     \"message\": {         \"query_graph\": {             \"nodes\": {                 \"n0\": {                     \"ids\": [
                         \"PUBCHEM.COMPOUND:40466924\"                     ],                     \"categories\": [                         \"biolink:ChemicalSubstance\"                     ]                 },                 \"n1\": {                     \"categories\": [
         \"biolink:Disease\"                     ]                 }             },             \"edges\": {                 \"e0\": {
          \"subject\": \"n0\",                     \"object\": \"n1\"                 }             }         }     } }" | python3 -m json.tool | grep '"predicate"' | sort | uniq -c | sort -k1nr
    232                     "predicate": "biolink:related_to",
     27                     "predicate": "biolink:treats",
      3                     "predicate": "biolink:contraindicated_for",

@edeutsch
Copy link

Hi everyone, following up on "where did our edges come from?": at @webyrd @andrewsu

For example, ARAX returned:
CHEMBL.COMPOUND:CHEMBL577 biolink:causes MONDO:0006945 from SEMMEDDB
but these are synonymized CURIEs, not the originals.

The question was: what are the originals? This was not visible in our Response. Looking deeper, the answer seems to be:
UMLS:C0014025 biolink:causes UMLS:C0035067 from SEMMEDDB

We will add a feature of ARAX and KG2 to display this information in the future.

@rajshruti18
Copy link

CAM-KP does not have data on diseases, so 0 result is expected.

@andrewsu
Copy link

andrewsu commented Aug 5, 2021

After the change in biothings/biothings_explorer#217, BTE now returns results for the biolink:causes_adverse_event predicate in the original query
https://arax.ncats.io/?source=ARS&id=509200a2-9e4d-490e-b93a-c67178b7b358

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment