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

Schema info not found (404 errors) #268

Closed
ehinderer opened this issue Nov 15, 2021 · 5 comments
Closed

Schema info not found (404 errors) #268

ehinderer opened this issue Nov 15, 2021 · 5 comments

Comments

@ehinderer
Copy link

I'm trying to view the BMEG schema diagram but I'm running into what seem like HTTP 404 errors. From the code described here:

import networkx as nx
import matplotlib.pyplot as plt
import gripql
from networkx.drawing.nx_agraph import graphviz_layout
conn = gripql.Connection("https://bmeg.io/api", credential_file="bmeg_credentials.json")
print(conn.listGraphs())
[]

schema = conn.getSchema("rc5")
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.9/site-packages/gripql/connection.py", line 52, in getSchema
raise_for_status(response)
File "/usr/local/lib/python3.9/site-packages/gripql/util.py", line 162, in raise_for_status
raise requests.HTTPError(http_error_msg, response=response)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: 'https://bmeg.io/api/v1/graph/rc5/schema'esponse: {"code":5,"message":"graph rc5: not found","details":[]}

@kellrott
Copy link
Member

Apologies, the backend mongo database shutdown and needed to be restarted. The system should be available now.

@ehinderer
Copy link
Author

Sorry for the late response. I will give this another shot soon, along with my other posted issue. Are you the appropriate contact person to reach out to regarding questions on the BMEG initiative. My team at Tufts CTSI are interested in learning more about it (the incorporation of pathway commons in particular) and may want to contribute if it's appropriate.

@kellrott
Copy link
Member

Yes, I lead the project.

GRIP is our query engine. It's designed to be a general purpose graph query engine that can plug into external data resources. BMEG is a specific graph build, largely concentrating on cancer related genomic, drug response and knowledge base resources. It is built from the scripts found in https://github.com/bmeg/bmeg-etl

You can read about some of the scientific goals at https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7049249/

@ehinderer
Copy link
Author

Thanks! I haven't seen this article, I will give it a read. My team may reach out in the near future. Is there a preferred line of communication?

@kellrott
Copy link
Member

Email works: ellrott at ohsu dot edu

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

No branches or pull requests

2 participants