How thejacksonlaboratory/phenomiser works
Project type and purpose
• This is a Java-based, Maven‑managed, command‑line application (“phenomiser-cli”) that wraps a core library (“phenomiser-core”).
• Purpose: implement the Phenomiser algorithm to precompute disease–phenotype similarity distributions, then rank diseases by similarity to HPO queries or perform grid‐search simulations.
File‑structure analysis
• Top‑level pom.xml defines a multi‑module Maven project with two submodules:
• phenomiser-core: the core algorithm, IO, models, services, and utilities
• phenomiser-cli: the CLI entrypoint that depends on phenomiser-core and exposes a set of commands
• Directory patterns:
• src/main/java/org/jax/cmd → command classes (GridSearchCommand, QueryCommand, PreComputeCommand, etc.)
• src/main/java/org/jax → PhenomiserApp (main entrypoint), core classes (Phenomiser, services, parsers)
• src/main/resources → configuration (log4j, properties)
• src/test → unit tests for core components
README insights
• The tool has three primary workflows: precompute, query, and grid search.
• External inputs: HPO ontology file (hp.obo), HPO annotation file (phenotype.hpoa).
• Outputs: serialized “Phenomiser_data” folder for caching precomputed distributions, CLI output matrices or ranked lists.
• Execution environment: Java 8+, high‐memory settings for precomputation.
Final advice
• Be as detailed as possible: break the Core into IO, Model, Services, Util, and show their interactions.
• Long‑running or resource‑intensive steps (e.g., precompute with high memory/threads) so stakeholders see the performance implications.