monarch-initiative/owlsim-v3

Name: owlsim-v3

Owner: Monarch Initiative

Description: Ontology Based Profile Matching

Created: 2014-08-25 14:57:36.0

Updated: 2017-12-05 00:04:34.0

Pushed: 2017-10-09 19:29:45.0

Homepage: null

Size: 7042

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

owlsim-v3

Ontology Based Profile Matching

Build Status Coverage Status Documentation Status

This will eventually replace sim2 currently distributed as part of owltools

Documentation

For now you must do this:

mvn javadoc:javadoc

And then open target/site/apidocs/index.html in a browser

Running it

To become more familiar with the code, please run the junit tests in eclipse.

Also try the performance/integration tests in owlsim.compute.matcher.perf - these will need extra files downloaded see the Makefile for details.

To run the REST services:

mvn package

produces a standalone Dropwizard jar:

owlsim-services/target/owlsim-services-3.0-SNAPSHOT.jar

which runs with:

cd owlsim-services
java -jar target/owlsim-services-3.0-SNAPSHOT.jar server src/test/resources/test-configuration.yaml

where configuration.yaml describes the desired ontologies:

ontologyUris:
  - owlsim-core/src/test/resources/simple-pheno-with-negation.owl
ontologyDataUris: []

and then browse the REST documentation.

If you prefer to run the REST services from your IDE launch: org.monarchinitiative.owlsim.services.OwlSimServiceApplication as a main class with server and an appropriate YAML configuration as arguments.

Paths:

or for some versions of dropwizard:

Example query using default config:

http://localhost:8080/api/match/jaccard?id=X:heart-morphology&id=X:brain-morphology

Build with Docker

Run those commands from the root directory (with Docker >= 1.9):

package
er build -t owlsim-all . # by default contains all the species
er run -e JAVA_OPTS='-Xmx10g' -p 8080:8080 owlsim-all

To restrict to specific species:

er build --build-arg species=all -t owlsim-all . # default if no args is provided or not matching any species
er build --build-arg species=Hs -t owlsim-human .
er build --build-arg species=Hs,Mm -t owlsim-multi .
pported species: Hs,Mm,Dr,Dm,Ce

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.