Created
June 5, 2019 21:59
-
-
Save kdaily/b84e60008d059abcf56806711dd0cec3 to your computer and use it in GitHub Desktop.
Validate annotations on files from syn18486863 for MEP-LINCS MDD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Uses https://gist.github.com/kdaily/fea5b0f72fac1264048e39e6c4d04647#file-query_to_json-py | |
query_to_json.py "select assay,Level,CellLine,DataType from syn18486863" > /tmp/syn18486863_file_annotations.json | |
# uses ajv-cli - https://github.com/jessedc/ajv-cli | |
ajv validate -s file_annotations_file_schema.json -r file_annotation.json -d /tmp/syn18486863_file_annotations.json --errors=line |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment