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

Examples of queries that time out (> 5 mins) #716

Open
andrewsu opened this issue Aug 28, 2023 · 1 comment
Open

Examples of queries that time out (> 5 mins) #716

andrewsu opened this issue Aug 28, 2023 · 1 comment

Comments

@andrewsu
Copy link
Member

Using this issue to catalog queries that time out past the 5 minute threshold set by the ARS.

First example is a creative mode query for "what treats obstructive sleep apnea syndrome (MONDO:0007147)":

{
    "message": {
        "query_graph": {
            "edges": {
                "t_edge": {
                    "knowledge_type": "inferred",
                    "object": "on",
                    "predicates": [
                        "biolink:treats"
                    ],
                    "subject": "sn"
                }
            },
            "nodes": {
                "on": {
                    "categories": [
                        "biolink:Disease"
                    ],
                    "ids": [
                        "MONDO:0007147"
                    ]
                },
                "sn": {
                    "categories": [
                        "biolink:ChemicalEntity"
                    ]
                }
            }
        }
    }
}
@colleenXu
Copy link
Collaborator

Other queries that took > 5 min to run when I was testing templates locally:

"Treats" creative mode

All run the first two templates (direct + through pheno). So the 2nd template (through pheno) is what is taking a while to run. Original comment

DiseaseOrPheno Name ID Time
Noonan syndrome MONDO:0018997 5 min 20 s (will be cut off)
Fabry disease MONDO:0010526 5 min 43 s (will be cut off)
Nephrotic syndrome MONDO:0005377 5 min 45 s (will be cut off)

Chem - affects - Gene

I don't have specific queries. My notes say that some of the chemicals/genes tested in the past and NOT recorded in the recent tests would take > 5 min to run (or would run quickly and return 0 results).

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

No branches or pull requests

2 participants