Permalink
Newer
Older
100644 83 lines (51 sloc) 2.53 KB
Sep 2, 2014 @cmungall mostly javadocs
1 # owlsim-v3
Aug 25, 2014 @cmungall Create README.md
2
3 Ontology Based Profile Matching
4
Jun 26, 2015 @ccondit Fixes Travis badge
5 [![Build Status](https://travis-ci.org/monarch-initiative/owlsim-v3.svg?branch=master)](https://travis-ci.org/monarch-initiative/owlsim-v3)
Jul 7, 2015 @ccondit Updates coveralls status icon
6 [![Coverage Status](https://coveralls.io/repos/monarch-initiative/owlsim-v3/badge.svg?branch=master&service=github)](https://coveralls.io/github/monarch-initiative/owlsim-v3?branch=master)
Jan 29, 2016 @cmungall fixing tests and adding cosine matcher
7 [![Documentation Status](https://readthedocs.org/projects/owlsim/badge/?version=latest)](http://owlsim.readthedocs.org/en/latest/?badge=latest)
Jun 22, 2015 @ccondit Adds travis and coveralls to README
8
Aug 25, 2014 @cmungall Create README.md
9 This will eventually replace sim2 currently distributed as part of owltools
Sep 2, 2014 @cmungall mostly javadocs
10
11 ## Documentation
12
13 For now you must do this:
14
15 mvn javadoc:javadoc
16
17 And then open target/site/apidocs/index.html in a browser
18
Sep 5, 2014 @cmungall docs
19 ## Running it
20
Oct 30, 2014 @ccondit Updates documentation
21 To become more familiar with the code, please run the junit tests in eclipse.
Sep 5, 2014 @cmungall docs
22
Oct 30, 2014 @ccondit Updates documentation
23 Also try the performance/integration tests in `owlsim.compute.matcher.perf` - these will need extra files downloaded
24 see the Makefile for details.
Sep 5, 2014 @cmungall docs
25
Oct 30, 2014 @ccondit Updates documentation
26 To run the REST services:
Sep 5, 2014 @cmungall docs
27
Oct 30, 2014 @ccondit Updates documentation
28 mvn package
Sep 2, 2014 @cmungall mostly javadocs
29
Oct 30, 2014 @ccondit Updates documentation
30 produces a standalone Dropwizard jar:
31
32 owlsim-services/target/owlsim-services-3.0-SNAPSHOT.jar
33
34 which runs with:
35
Nov 20, 2015 @cmungall improvements to RunEngine, more docs
36 cd owlsim-services
37 java -jar target/owlsim-services-3.0-SNAPSHOT.jar server src/test/resources/test-configuration.yaml
Oct 30, 2014 @ccondit Updates documentation
38
39 where configuration.yaml describes the desired ontologies:
40
41 ontologyUris:
Dec 2, 2016 @cmungall Added parameter to allow comparison of two profiles, fixes #32
42 - owlsim-core/src/test/resources/simple-pheno-with-negation.owl
Oct 30, 2014 @ccondit Updates documentation
43 ontologyDataUris: []
44
45 and then browse the [REST documentation](http://localhost:8080/api/docs/).
46
47 If you prefer to run the REST services from your IDE launch:
48 `org.monarchinitiative.owlsim.services.OwlSimServiceApplication` as a main
49 class with `server` and an appropriate YAML configuration as arguments.
Sep 6, 2016 @cmungall Added TypeFilters
50
51 Paths:
52
53 * http://localhost:8080/api-docs/
54 * http://localhost:8080/match/matchers -- lists matchers
55
56 or for some versions of dropwizard:
57
58 * http://localhost:8080/api/docs/
Mar 3, 2017 @jnguyenx [#58] first draft
59 * http://localhost:8080/api/match/matchers
Sep 6, 2016 @cmungall Added TypeFilters
60
Jan 25, 2017 @jnguyenx [#46] updated README
61 Example query using default config:
Sep 6, 2016 @cmungall Added TypeFilters
62
Jan 25, 2017 @jnguyenx [#46] fixed typo in README
63 http://localhost:8080/api/match/jaccard?id=X:heart-morphology&id=X:brain-morphology
Mar 3, 2017 @jnguyenx [#58] first draft
64
65 ## Build with Docker
66
Mar 10, 2017 @jnguyenx [#58] added species
67 Run those commands from the root directory (with Docker >= 1.9):
Mar 3, 2017 @jnguyenx [#58] first draft
68
69 ```
70 mvn package
Mar 10, 2017 @jnguyenx [#58] added species
71 docker build -t owlsim-all . # by default contains all the species
Apr 18, 2017 @jnguyenx set JAVA_OPTS at start time
72 docker run -e JAVA_OPTS='-Xmx10g' -p 8080:8080 owlsim-all
Mar 10, 2017 @jnguyenx [#58] added species
73 ```
74
75 To restrict to specific species:
76
77 ```
78 docker build --build-arg species=all -t owlsim-all . # default if no args is provided or not matching any species
Apr 7, 2017 @jnguyenx [#58] get data from biolink
79 docker build --build-arg species=Hs -t owlsim-human .
80 docker build --build-arg species=Hs,Mm -t owlsim-multi .
81 # supported species: Hs,Mm,Dr,Dm,Ce
Mar 3, 2017 @jnguyenx [#58] first draft
82 ```