public class OntologyHelper
extends java.lang.Object
Constructor and Description |
---|
OntologyHelper() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.String> |
convertOntologyTo2ColumnLines(CoolMapOntologyImpl ontology)
A function to convert a ontology to parent-child format(simple two column)
|
static java.util.List<java.lang.String> |
convertOntologyToOBOLines(CoolMapOntologyImpl ontology) |
static CoolMapOntologyImpl |
generateOntology2ColumnFormat(java.lang.String ontologyName,
java.lang.String parentChildString) |
static CoolMapOntologyImpl |
generateOntologyFromOBOFormat(java.lang.String ontologyName,
java.lang.String oboString) |
public static java.util.List<java.lang.String> convertOntologyToOBOLines(CoolMapOntologyImpl ontology)
public static java.util.List<java.lang.String> convertOntologyTo2ColumnLines(CoolMapOntologyImpl ontology)
ontology
- the ontology to convertpublic static CoolMapOntologyImpl generateOntology2ColumnFormat(java.lang.String ontologyName, java.lang.String parentChildString) throws java.io.IOException
java.io.IOException
public static CoolMapOntologyImpl generateOntologyFromOBOFormat(java.lang.String ontologyName, java.lang.String oboString) throws java.io.IOException
java.io.IOException