validate
validate copied to clipboard
Question: YAML schema validation
Example: The GWAS Catalog Summary Statistics Format (GWAS-SSF)
The metadata YAML file of the GWAS-SSF standard obeys a schema standard.
- YAML example: https://github.com/EBISPOT/gwas-summary-statistics-standard/blob/master/examples/0000123.tsv-meta.yaml
- YAML schema: https://github.com/EBISPOT/gwas-summary-statistics-standard/blob/master/schema/metadata-yamale-schema.yaml
Seemingly this validation can be achieved with https://github.com/23andMe/Yamale, a python tool.
How hard would it be to perform this using {validate}?
I've posted the same question in https://github.com/vubiostat/r-yaml/issues/130.
https://data-cleaning.github.io/validate/sect-rulefiles.html#sect-yamlfiles ?