Closed julesjacobsen closed 1 year ago
@julesjacobsen given the lack of semantics for v1, I wonder if it would be better to suggest to users that they extend the example in the CLI to their needs rather than releasing code that might not be correct for some use cases?
Now we have an option to do this in V1toV2Converter.
The functionality is available in CLI via --convert-variants
option:
cat phenopacket.v1.json | pxf-tools convert --convert-variants > phenopacket.v2.json
Need a way of extracting v1
disease
,gene
andvariant
into a v2interpretation
.Enable this in CLI
convert
will need to implement the interface and assume single gene-disease-variant associations or else die.