A graph to maintain our ontology annotation connections.
Java 21
Micronaut 4.10.24
or
Package modules using
./mvnw clean package -pl <module> -am
A CLI module that loads phenotypes, diseases, genes, and assays into a SQLite database -- no database server required.
Running the load
# Fetch input data
bash update.sh data/
# Build the SQLite artifact (-t writes a fresh file, deleting any existing one at
# the output path first)
java -jar <etl-jar> -d data/ -o oan.db -t
Testing
./mvnw clean test -pl oan-etl -am
An ontology module that exposes our graph via a REST-API. Reads from the SQLite artifact produced by OAN-ETL -- no database server required.
Running
java -Dsqlite.path=<path-to-db-file> -jar <rest-jar>
sqlite.path defaults to ./oan.db in the dev environment (the default when run
without -Dmicronaut.environments) and /app/oan.db in prod.
Testing
./mvnw clean test -pl oan-rest -am
Test Reporting
./mvnw jacoco:report