Open gaurav opened 2 years ago
Chris things "[X] upregulates/downregulates [geneX]" might be a templated query later this year, so that's what we should be focusing on.
Here are two different ARAX queries that you can pull gene-chemical edges or just genes from, as described on slide 8 in this deck:
https://arax.ncats.io/?r=44679 https://arax.ncats.io/?r=52713
Unless I'm misunderstanding how TRAPI works (which is very, very likely), there's no way to return what we need to via TRAPI to meet this need, since what we effectively want to ask is, "Is there any connection between [X] and [Y] in any CAM, no matter how many hops".
/connect?terms=X:1,Y:2,Z:3
which would return either a custom JSON object or a list of TRAPIResults.I'm not sure I'm fully understanding your comment, but essentially, I'm seeking a way to invoke CAMs to better explain the chemical - gene edges in the workflow below. For instance, the current predicate linking biolink:Gene to biolink:ChemicalEntity (or biolink:Drug, Small Molecule) in Paths A and B is biolink:affects, which isn't terribly informative. Can we construct a TRAPI query that targets CAM and returns more informative information, e.g., biolink:ChemicalEntity - biolink:up/downregulates - biolink:Gene? The tissue/cell specificity is not an issue in Path A, but in Path B, you could use the output from the first hop to biolink:GrossAnatomicalStructure to anchor the results, if that makes sense.
Gaurav, is this issue worth a short meeting to discuss?
Hi Kara! I think it's okay to wait until we get the other use case (#536) sorted out before we need to dive deeply into this. However, if you'd like to meet to go over what I've been working on, that would be fine! I'm hoping to have the lookup endpoint (#572) done and backend issues (https://github.com/ExposuresProvider/cam-pipeline/issues/80) fixed by early next week, so sometime next week might be a good time to meeting. Let me know!
I agree that this can wait, now that I better understand the plan. Sure, let's meet after the lookup endpoint is active. Thanks!
Given an edge, can CAM-KP provide a graph that replaces that edge with a series of edges and nodes that describes how that edge is defined in one or more pathways.
Benefits: