Package org.gvt.util

Examples of org.gvt.util.BioPAXReader


        merger = new Merger(SimpleEditorMap.get(target.getLevel()));
      }
     
      merger.merge(target, sources.toArray(new Model[sources.size()]));

      BioPAXReader reader = new BioPAXReader(target);
      BioPAXGraph graph = (BioPAXGraph) reader.readXMLFile(null);

      if (createNewPathway)
      {
        List<String> intids = getInteractionIDs(model);
        newPathwayName = graph.createPathway(
View Full Code Here


    }
  }

  private void updateRoot()
  {
    BioPAXGraph root = (BioPAXGraph) new BioPAXReader(main.getOwlModel()).readXMLFile(null);
    main.setRootGraph(root);
  }
View Full Code Here

        merger = new Merger(new JenaEditorMap(BioPAXLevel.L2));
      }
     
      merger.merge(target, sources.toArray(new Model[sources.size()]));

      BioPAXReader reader = new BioPAXReader(target);
      BioPAXGraph graph = (BioPAXGraph) reader.readXMLFile(null);

      if (createNewPathway)
      {
        List<String> intids = getInteractionIDs(model);
        newPathwayName = graph.createPathway(
View Full Code Here

    }
  }

  private void updateRoot()
  {
    BioPAXGraph root = (BioPAXGraph) new BioPAXReader(main.getOwlModel()).readXMLFile(null);
    main.setRootGraph(root);
  }
View Full Code Here

        BioPAXGraph root = this.graph;

        if (root == null)
        {
          File xmlfile = filename == null ? null : new File(filename);
          BioPAXReader reader = model == null ?
            new BioPAXReader(): new BioPAXReader(model);
          root = (BioPAXGraph) reader.readXMLFile(xmlfile);
        }

        if (root != null)
        {
          if (!root.modelConstainsPathway() || pathwayName != null)
View Full Code Here

        BioPAXGraph root = this.graph;

        if (root == null)
        {
          File xmlfile = filename == null ? null : new File(filename);
          BioPAXReader reader = model == null ?
            new BioPAXReader(main.getJenaIOHandler()): new BioPAXReader(model);
          root = (BioPAXGraph) reader.readXMLFile(xmlfile);
        }

        if (root != null)
        {
          if (!root.modelConstainsPathway())
View Full Code Here

    }
  }

  private void updateRoot()
  {
    BioPAXGraph root = (BioPAXGraph) new BioPAXReader(main.getOwlModel()).readXMLFile(null);
    main.setRootGraph(root);
  }
View Full Code Here

TOP

Related Classes of org.gvt.util.BioPAXReader

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.