Package org.biojava.ontology.obo

Examples of org.biojava.ontology.obo.OboFileParser


   
     try {
       OntologyFactory factory = OntoTools.getDefaultFactory();
       Ontology ontology = factory.createOntology(ontoName, ontoDescription);
      
           OboFileParser parser = new OboFileParser();
          
           OboFileEventListener handler = new OboFileHandler(ontology);
          
           parser.addOboFileEventListener(handler);
           parser.parseOBO(oboFile);
          
           return ontology;
          
      
     } catch (AlreadyExistsException ex) {
View Full Code Here

TOP

Related Classes of org.biojava.ontology.obo.OboFileParser

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.