Examples of convertToOWL()


Examples of org.biopax.paxtools.io.BioPAXIOHandler.convertToOWL()

      }

      BioPAXIOHandler exporter = new SimpleIOHandler(main.getOwlModel().getLevel());

      FileOutputStream stream = new FileOutputStream(filename);
      exporter.convertToOWL(main.getOwlModel(), stream);
      stream.close();

      main.setOwlFileName(filename);
      main.markSaved();
      this.saved = true;
View Full Code Here

Examples of org.biopax.paxtools.io.SimpleIOHandler.convertToOWL()

      }

      BioPAXIOHandler exporter = new SimpleIOHandler(main.getOwlModel().getLevel());

      FileOutputStream stream = new FileOutputStream(filename);
      exporter.convertToOWL(main.getOwlModel(), stream);
      stream.close();

      main.setOwlFileName(filename);
      main.markSaved();
      this.saved = true;
View Full Code Here

Examples of org.biopax.paxtools.io.jena.JenaIOHandler.convertToOWL()

      }

      JenaIOHandler jenaIOHandler = main.getJenaIOHandler();

      FileOutputStream stream = new FileOutputStream(filename);
      jenaIOHandler.convertToOWL(main.getOwlModel(), stream);
      stream.close();

      main.setOwlFileName(filename);
      main.markSaved();
      this.saved = true;
View Full Code Here

Examples of org.biopax.paxtools.io.simpleIO.SimpleExporter.convertToOWL()

      boolean mf = (gamma > 0 && ft) || (gamma < 0 && !ft);
      createModulation(t.M, t.F, t.T, ft, mf, model, map);
    }

    SimpleExporter se = new SimpleExporter(BioPAXLevel.L3);
    se.convertToOWL(model, new FileOutputStream(filename));
  }

  private static void createGene(Gene g, Model model, Map<String, BioPAXElement> map)
  {
    if (map.containsKey(g.geneid)) return;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.