NCATSTranslator / minihackathons

MIT License
5 stars 5 forks source link

Workflow B: ARAX not calling MolePro on (gene)-[interacts with]-(chemical entity) #307

Closed CaseyTa closed 2 years ago

CaseyTa commented 2 years ago

MolePro is a potential source of information for the 3rd hop of Workflow B (query below). However, ARAX's expansion results UI says that MolePro doesn't support this edge: https://arax.ncats.io/?r=28066.

MolePro has the following in its MetaKG:

      "object": "biolink:Gene",
      "predicate": "biolink:directly_interacts_with",
      "subject": "biolink:SmallMolecule"

biolink:directly_interacts_with is symmetric, but the inverse edge is not present in MolePro's MetaKG. I'm not sure if this should potentially be resolved on the ARAX or MolePro side. @edeutsch @vdancik

Note, this issue ignores that ARAX is not calling KPs when there are more than 100 input CURIEs in the expansion.

Query:

{
    "message": {
        "query_graph": {
            "nodes": {
                "n0": {
                     "ids": ["MONDO:0005359", "SNOMEDCT:197358007", "MESH:D056487", "SNOMEDCT:197354009", "SNOMEDCT:427399008"],
                     "categories": ["biolink:DiseaseOrPhenotypicFeature"]
                },
                "n1": {
                    "categories": ["biolink:DiseaseOrPhenotypicFeature"]
                },
                "n2": {
                    "categories": ["biolink:Gene"]
                },
                "n3": {
                    "categories": ["biolink:ChemicalEntity"]
                }
            },
            "edges": {
                "e01": {
                    "subject": "n0",
                    "object": "n1",
                    "predicates": ["biolink:has_real_world_evidence_of_association_with"]
                },
                "e02": {
                    "subject": "n2",
                    "object": "n1",
                    "predicates": ["biolink:gene_associated_with_condition"]
                },
                "e03": {
                    "subject": "n2",
                    "object": "n3",
                    "predicates": ["biolink:interacts_with"]
                }
            }
        }
    }
}
vdancik commented 2 years ago

@CaseyTa, indeed we have an issue with our metaKG - MolePro will return results for the following query, yet it does not include Gene-directly_interacts_with-SmallMolecule metaKG entry. We are going to fix that.

{
    "message": {
        "query_graph": {
            "nodes": {
                "n2": {
                    "ids":["NCBIGene:819"],
                    "categories": [
                        "biolink:Gene"
                    ]
                },
                "n3": {
                    "categories": [
                        "biolink:SmallMolecule"
                    ]
                }
            },
            "edges": {
                "e03": {
                    "subject": "n2",
                    "object": "n3",
                    "predicates": [
                        "biolink:directly_interacts_with"
                    ]
                }
            }
        }
    }
}
vdancik commented 2 years ago

MolePro's metaKG now declares both

      "object": "biolink:Gene",
      "predicate": "biolink:directly_interacts_with",
      "subject": "biolink:SmallMolecule"

and

      "object": "biolink:SmallMolecule",
      "predicate": "biolink:directly_interacts_with",
      "subject": "biolink:Gene"
CaseyTa commented 2 years ago

Thanks, @vdancik!