Skip to content

About

A rest-api to supported ontology annotations for hpo.

Resources

Stars

4 stars

Watchers

2 watching

Forks

Repository files navigation

Ontology Annotation Network

A graph to maintain our ontology annotation connections.

Java 21

Micronaut 4.10.24


Modules

Get the latest artifacts

or

Package modules using

    ./mvnw clean package -pl <module> -am

OAN-ETL

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

OAN-REST

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

About

A rest-api to supported ontology annotations for hpo.

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages