Phenopackets JSON documents can be converted from V1
to V2 using bentoctl
and
Phenopacket-tools as its backend.
For the bentoctl convert-pheno
command to work, you need to:
- Download a Phenopacket-tools release.
- Unzip its content and place the .jar file somwhere safe.
- Specify the .jar path in
local.env
with thePHENOTOOL_JAR_PATH
variable
You can then convert a file with:
bentoctl convert-pheno <source> <target>
If the target
argument is not provided, bentoctl
will append "_pheno_v2" to the source file's name and save it in its
parent directory.