phenotips / open-pedigree

A free and open-source pedigree tool by PhenoTips®
GNU Lesser General Public License v2.1
46 stars 25 forks source link

Open Pedigree Save Function JSON Structure #69

Open JBarnett404 opened 1 year ago

JBarnett404 commented 1 year ago

Hi - Is there any documentation describing the Open Pedigree JSON data structure or how Open Pedigree converts from the JSON data structure to a GA4GH pedigree standard? We know that Open Pedigree supports exporting to GA4GH but we are interested in using the file generated by the save function which produces a JSON file describing a data structure that we are unfamiliar with (in particular focusing on the string that encodes family relationships). Any information on this structure or string would be helpful.

dconlan commented 1 year ago

Conversion to and from GA4GH is done in GA4GHFHIRConverter.js. I am not aware of documentation on the internal json format, you may need to just trace through the code.