-
Notifications
You must be signed in to change notification settings - Fork 0
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
Evaluate ClinVar Test API #6
Comments
For |
On a related note, you are only required to provide the name of the drug. However, in other places such as providing disease/gene it allows you to provide database identifiers (array of items) OR name as a string. I'm curious why they didn't follow a similar approach here. |
That's odd that they didn't apply a consistent approach everywhere. |
It also appears that the spreadsheets allow for more info to be submitted. For instance, in the spreadsheets there's a |
Is this because "Apparently, the NCBI ClinVar server has no tight coupling to the JSON schemas and these schemas are mostly for informative purposes."? |
Ugh |
I was just hoping I was blind |
We should compile a list of questions like this and send along to our ClinVar contacts for clarification. |
@ahwagner sounds good. Wanted to run this by y'all before doing so at least |
By the way, I have not been testing the API directly yet. I was manually creating submission requests for a CIViC EID and VarCat assertion for test fixtures. I sent a request for a service account this morning. Once approved, we'll get our API key and we will be able to test the submission API. |
To be clear, the VCI folks flatten their data structure to accommodate the ClinVar model in this way; they natively encode a rich ev/prov structure similar to VarCat. Here's an example record from ClinGen/VCI in ClinVar: |
How the CIViC team handles this: "We just turn substitutes into separate AIDs" |
As I have been performing dry runs on the test API, I've been testing out validation both on accident and on purpose. Here are some examples of output (I haven't been saving the malformed input data):
|
@ahwagner since the test instance doesn't appear to let you see the data, I just added you as a reviewer for #8 and #9 (@wesleygoar approved both) to review the data we would submit. Once approved, I can submit to the test instance |
GitHub repo: https://github.com/ncbi/clinvar/tree/master/submission_api_schema
Test endpoint: https://submit.ncbi.nlm.nih.gov/apitest/v1/submissions
Submission API documentation: https://www.ncbi.nlm.nih.gov/clinvar/docs/api_http/
@ahwagner said:
Additional notes:
The text was updated successfully, but these errors were encountered: