-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add a notebook to list GA4GH Registry in easily consumable form #10
Comments
thanks @ianfore , I'm wondering what the destination of the output will be? if we have a notebook that can generate a table, is there somewhere we can host the table? or will this script mainly allow for others to run locally and produce the table? |
To start with I thought it would just be a notebook. Besides listing the Registry it would also serve as example code for how to interact with the GA4GH Registry. But for those who just want to know what's in the registry and might not want (or know how) to run it locally that falls short of the mark. I got a basic example up and running here as RegistryDemo.ipynb. Looking at different ways to flatten out the nested json. Also whether, for the basic purpose of listing services, that we could do so more concisely i.e. without including all columns. To the need you have identified. It would be straightforward to do an html table dump from the data frame in that example. Do you have somewhere in mind that we could write it to for public consumption? I'd rather leave styling (css) it to someone else though. |
Updated to write the table to html. The output is written to this GitHub repository. A static listing is available at this URL To keep the listing current would require someone to run the notebook and check the newly generated file into the repository. Probably not the best approach for sustainability but it gets an interim solution up and running which...
|
And to the third bullet above; having the registry content in an easily consumable form highlighted that to get a comprehensive listing of services we need to look at other registries! The Beacon Network registry seems to have some differences which meant the notebook failed when running it against that registry. |
Registry currently only exists as json returned from https://registry.ga4gh.org/v1/services. That is not very consumable by humans.
GA4GHRegistryClient already provides a python interface to at least some Registry capabilities. It should be fairly straightforward to create an iPython notebook that generates consumable output.
@jb-adams feel free to suggest/contribute as you see fit.
The text was updated successfully, but these errors were encountered: