Skip to content

Drug-Target predictions are broken  #58

@CaseyTa

Description

@CaseyTa

Describe the problem

TRAPI queries for drug-target predictions do not return any results. Tested and reproducible in dev and all ITRB environments. Using the example query suggested in the documentation

{
    "message": {
        "query_graph": {
            "edges": {"e01": {"object": "n1", "predicates": ["biolink:interacts_with"], "subject": "n0"}},
            "nodes": {
                "n0": {
                    "categories": ["biolink:Drug"],
                    "ids": ["PUBCHEM.COMPOUND:5329102", "PUBCHEM.COMPOUND:4039", "CHEMBL.COMPOUND:CHEMBL1431"]},
                "n1": {
                    "categories": ["biolink:Protein"],
                    "ids": ["UniProtKB:O75251"]
                }
            }
        }
    },
    "query_options": {"max_score": 1, "min_score": 0.1, "n_results": 10}
}

ITRB cloudwatch logs show the following:

[2024-08-23 22:32:26 +0000] [81] [INFO] 🔮⏳️ Getting predictions for: ['PUBCHEM.COMPOUND:5329102', 'PUBCHEM.COMPOUND:4039', 'CHEMBL.COMPOUND:CHEMBL1431'] | []
[2024-08-23 22:32:26 +0000] [81] [ERROR] Error getting the predictions: [Errno 2] No such file or directory: 'models/drug_target.pkl'

Metadata

Metadata

Assignees

Labels

api-queryIssue querying the APIbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions