-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
15 lines (13 loc) · 1.04 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
##########
How to set up OntoQuery for another ontology?
##########
1. Copy the OWL/OBO file to resources directory.
2. Else you can point it directly to a FTP site. Set the name of the file/ Url pointing to FTP in Ontology.java .
3. Set ID post-processing. If you are using an OBO file, you might need to precess the returned IDs,
if they contain special characters not allowed in URLs. A common example is ":", which the OWL API converts to underscore.
If you use OWL and no changes are made, just remove [.replaceAll("CHEBI_", "CHEBI:")] from DLQueryTool_modified.java or adjust it according to your ontology.
4. Set custom variables in the first part of globalVariables.js as described in the file.
5. Set up memory to at least 2GB and density limit as described "-Xms1024m -Xmx2048m -XX:MaxPermSize=128m -DentityExpansionLimit=1000000".
6. After deploying the webapp call " /adminInput.jsp " and load the ontology.
7. You should see the message about loading the ontology.
Note: without DensityExpansionLimit, the RDFXML parser will fail to parse the file.