Skip to content

Commit

Permalink
Use code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
egonw committed Apr 12, 2020
1 parent d1608d4 commit 40fb584
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,18 @@ and in https://enanomapper.github.io/tutorials/Added%20ontology%20terms/README.h

For example:

owl=http://www.bioassayontology.org/bao/bao_complete.owl
iris=bao.iris
slimmed=http://purl.enanomapper.org/onto/external/bao-slim.owl
```
owl=http://www.bioassayontology.org/bao/bao_complete.owl
iris=bao.iris
slimmed=http://purl.enanomapper.org/onto/external/bao-slim.owl
The second, .iris file configures the slicing of the ontology:
+D(http://purl.bioontology.org/ontology/npo#NPO_1436):http://www.bioassayontology.org/bao#BAO_0000697 detection instrument
+D(http://purl.obolibrary.org/obo/IAO_0000030):http://www.bioassayontology.org/bao#BAO_0000179 endpoint
+D(http://purl.obolibrary.org/obo/OBI_0000070):http://www.bioassayontology.org/bao#BAO_0000015 bioassay
```
+D(http://purl.bioontology.org/ontology/npo#NPO_1436):http://www.bioassayontology.org/bao#BAO_0000697 detection instrument
+D(http://purl.obolibrary.org/obo/IAO_0000030):http://www.bioassayontology.org/bao#BAO_0000179 endpoint
+D(http://purl.obolibrary.org/obo/OBI_0000070):http://www.bioassayontology.org/bao#BAO_0000015 bioassay
```
This configuration file uses a custom syntax which is briefly explained here. By default it removes all content.
Expand All @@ -36,9 +39,13 @@ possibly from other ontologies.
Compile
-------
$ mvn clean compile assembly:single
```shell
mvn clean compile assembly:single
```

Run
---

$ java -cp target/slimmer-0.0.1-SNAPSHOT-jar-with-dependencies.jar com.github.enanomapper.Slimmer src/main/resources
```shell
java -cp target/slimmer-1.0.0-SNAPSHOT-jar-with-dependencies.jar com.github.enanomapper.Slimmer src/main/resources
```

0 comments on commit 40fb584

Please sign in to comment.