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

build UTA REST interface / refactor UTA client packaging #164

Open
reece opened this issue Jun 15, 2014 · 3 comments
Open

build UTA REST interface / refactor UTA client packaging #164

reece opened this issue Jun 15, 2014 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@reece
Copy link
Member

reece commented Jun 15, 2014

Originally reported by Reece Hart (Bitbucket: reece, GitHub: reece) in biocommons/uta #164
Migrated by bitbucket-issue-migration on 2016-09-09 15:15:07


Data in UTA would be more accessible if it were accessible through REST interface.

The REST interface should be rich enough to obviate the psycopg2 dependency in the hgvs package.

Deploy as docker image.

TBC: Unclear whether sequence lookup should be part of UTA -- it's both necessary (e.g., for md5 validation) and difficult/inefficient to store in a database (e.g., genomic NC sequences).

TBC: Package structure could be with uta clients as separate package. If separate, psycopg2/pq dependency should be optional.

@reece reece added minor enhancement New feature or request labels Sep 9, 2016
@reece reece added this to the 0.3.0 milestone Sep 9, 2016
@davmlaw
Copy link

davmlaw commented Feb 3, 2022

Hi, I've written a REST service for cdot - data provider I announced in a HGVS issue

If you ever make your REST service, I'd love to collaborate to agree on a standard for JSON representation (in fact, proposing a GA4GH standard may be worth doing)

Feel free to use any of the code etc I've written (all under MIT)

@davmlaw
Copy link

davmlaw commented Feb 9, 2022

I copied then modified the cdot_rest server to work with UTA as a backend: https://github.com/SACGF/uta_rest

@davmlaw
Copy link

davmlaw commented Feb 28, 2023

Hi @reece - I have made a start on the UTA REST service

https://github.com/SACGF/uta_rest

It's super minimal - it runs SQL on the UTA server and then caches the API call in Redis (ie doesn't have local Postgres)

There are a few API endpoints not done, but it does HGVS resolution and conversion already OK (it has the same JSON as cdot) server

The VM isn't up yet, but I can spin it up again easily, or perhaps just run it on the cdot VM

I am happy for you to take any of this code, or make it a biocommons project etc, then work on it there under your direction

@github-actions github-actions bot removed the minor label Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants