Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Issues with CTD modeling #618

Open
gaurav opened this issue Jan 31, 2023 · 0 comments
Open

Issues with CTD modeling #618

gaurav opened this issue Jan 31, 2023 · 0 comments
Milestone

Comments

@gaurav
Copy link
Member

gaurav commented Jan 31, 2023

We have run into some problems with modeling CTD data that makes it hard to get useful information from CTD models. These were discovered as part of #599 and are visible on the Google CoLab nodebook that goes with it.

If you go to https://cam-kp-api-dev.renci.org/1.3.0/docs/index.html?url=docs.yaml#/default/postQuery and run the following TRAPI query for things related to prednisone (CHEBI:8382):

{
  "message": {
    "query_graph": {
      "nodes": {
        "n0": {
          "categories": [
            "biolink:NamedThing"
          ]
        },
        "n1": {
          "ids": [
            "CHEBI:8382"
          ]
        }
      },
      "edges": {
        "e0": {
          "subject": "n0",
          "object": "n1"
        }
      }
    }
  }
}

We only get back the following relationships:

We can get additional data by doing a two-hop instead of a one-hop:

{
  "message": {
    "query_graph": {
      "nodes": {
        "n0": {
          "ids": [
            "CHEBI:8382"
          ]
        },
        "n1": {
          "categories": [
            "biolink:NamedThing"
          ]
        },
        "n2": {
          "categories": [
            "biolink:NamedThing"
          ]
        }
      },
      "edges": {
        "e0": {
          "subject": "n0",
          "object": "n1"
        },
        "e1": {
          "subject": "n1",
          "object": "n2"
        }
      }
    }
  }
}

This mostly links to other processes, HOWEVER, we do get back http://id.nlm.nih.gov/mesh/D000077154 ("Rosiglitazone"), which hasn't been normalized, so it can't be connected to other things in TRAPI.

@gaurav gaurav added this to the CAM-KP v1.0 milestone Feb 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant