zietzm / phenotype_standardization

https://github.com/zietzm/phenotype_standardization/wiki
4 stars 0 forks source link

Machine-readable format #2

Closed zietzm closed 4 years ago

zietzm commented 4 years ago

The following regex would parse the phenotype name and SQL code for each defined phenotype in the wiki. Basically just need a CI action to clone the wiki, parse the SQL phenotype definitions, build a delimited tabular file, and push it to this repo.

(?<=[^#]## )([A-Za-z0-9\-\ ]+)(?:.*?```SQL\n)(.+)(?:\n```)

zietzm commented 4 years ago

This has been accomplished. Wiki is now built automatically from source files.