Phenopacket-tools is an open-source Java library and command-line interface (CLI) application for construction, conversion, and validation of phenopackets.
The library simplifies construction of phenopackets by providing concise builders, programmatic shortcuts, and predefined building blocks (ontology classes) for commonly used elements such as anatomical organs, age of onset, biospecimen type, and clinical modifiers.
The library validates the basic syntax and semantic requirements of the Phenopacket Schema as well as the adherence to additional user-defined requirements.
A ZIP file with prebuilt CLI application is available for download from the Releases page. Alternatively, the application can be built from source, as described in the library user guide (see the links below).
We provide phenopacket-tools library for use in JVM-based applications. We publish the JAR artifacts to public Maven central repository, and we make the Javadoc API documentation available for the latest release as well as the bleeding edge code.
We provide documentation with a Tutorial showing how to use the CLI, a comprehensive CLI user guide, a Library user guide, and the Javadoc API documentation.
The documentation is published in two documentation branches:
- stable: corresponds to the latest published release, and generally also to the last commit of the
main
Git branch - latest: corresponds to the bleeding edge code that is on the
develop
Git branch
Comments, questions or issues? Feel free to submit a ticket to our GitHub tracker.