-
Notifications
You must be signed in to change notification settings - Fork 19
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
Synchronize Readme specs and test test json files #105
Comments
@jnguyenx Thanks for you comments! For 1. and 2., it's true, Regarding the
|
Hi Orion, thanks for the quick answer. Well I wanted to use these json files to test against my implementation, what I did is to use the Readme specs to do all my implementation, and then added unit tests which consume those files. I ran into a couple of errors due to the 3 points I mentioned above. So in my opinion it would be very nice just to be able to consume those files as they are provided. I think that it is fine to leave extra fields which are not going to be parsed, but I'm a bit more worried about 2., because ageOfOnset is a required field, therefore the test files are not compliant. Same for patient. |
Hi Jeremy, Regarding Regarding
Thoughts? |
Hi, Oh yeah my bad, I didn't see the optional. I think that ID in Feature should have the (mandatory) label as done for GenomicFeatures. That way it'll clearer. The summary specification is fine like that for me, in combination with the detailed specs. Thanks for your help! |
+1 to making the spec and test data consistent |
Since each request includes only a single patient, there's no easy way to make the 50 patient dataset spec-compliant, per se. I could make the test data a list of requests, (so a list of objects, each with a |
Sounds good! And also rename the files so their content is implicit, like set of patients, set of queries, etc... Thanks! |
I don't think the test data file wasn't designed to be used for forming the test queries. Having said that, there's no reason we couldn't provide both an import file and individual files for individual requests. Going down that line of thought, once you split them into individual files, there's I can't see why we would mainatin both. For a one time data import script, I see little difference between opening one file vs 50. Open to discussion though. I'm running acorss issues converting some of the hgvs codes to ref and alt alleles. I've ran into one variant specifically which is causing problems (NM_005559.3(LAMA1):c.2988_2989delA) as this doesn't appear to be a valid notation. I'm discussing this with Orion and François via email currently. Will report back here with any updates. |
Update: we tracked it down to a typo in the original manuscript and committed a fix. I'm going through and verifying all the other variants now. |
I noticed two small inconsistencies:
The text was updated successfully, but these errors were encountered: