Package LONI.tree.workflow

Examples of LONI.tree.workflow.Pipeline


  }
 
  public static void LoniToGalaxy(String path, String output){
    System.out.println(path);
    System.out.println("> "+output);
    Pipeline P;
    try {
      LoniToGalaxyConverter glc;
      glc = new LoniToGalaxyConverter();
     
      P = LoniSpecification.getXMLParser().parse(new File(path));
View Full Code Here


  }
 
  public static void LoniToLoni(String path, String output){
    System.out.println(path);
    System.out.println("> "+output);
    Pipeline P;
    try {
      P = LoniSpecification.getXMLParser().parse(new File(path));
     
     
      try {
View Full Code Here

      System.out.println("Before parsing...");
      workflow = TavernaSpecification.getXMLParser().parse(new File(inputPath));
      System.out.println("After parsing...");
      TavernaToLoniConverter tlc = new TavernaToLoniConverter();
      System.out.println("After creating a Tav to Loni converter...");
      Pipeline pipeline = (Pipeline) tlc.visit(workflow);
      System.out.println("After creating the Pipeline object via visit(Workflow)...");
      LoniSpecification.getXMLGenerator().generate(pipeline, outputPath);
      System.out.println("After generating output file...");
   
    } catch (FileNotFoundException e) {
View Full Code Here

    System.out.println("==="+path+"===");
    Workflow G;
    try {
      G = TavernaSpecification.getXMLParser().parse(new File(path));
      TavernaToLoniConverter tlc = new TavernaToLoniConverter();
      Pipeline p = (Pipeline) tlc.visit(G);
      try {
        LoniSpecification.getXMLGenerator().generate(p, output);
      } catch (IOException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
View Full Code Here

public class JohnTestLoniToTaverna {

  public static void TestLoniXML (String path, String output) {
    System.out.println("==="+path + ">" + output+"===");
    Pipeline p;
    try {
      p = LoniSpecification.getXMLParser().parse(new File(path));
     
      try {
        LoniSpecification.getXMLGenerator().generate(p, output);
View Full Code Here

    }
  }
 
  public static void TestLoniToTav (String path, String output) {
    System.out.println("==="+path + ">" + output+"===");
    Pipeline p;
    try {
      p = LoniSpecification.getXMLParser().parse(new File(path));
      LoniToTavernaConverter l2t = new LoniToTavernaConverter();
      Workflow workflow= (Workflow) l2t.visit(p);
      try {
View Full Code Here

    }
  }
 
  public static void TestLoniXML (String path, String output) {
    System.out.println("==="+path + ">" + output+"===");
    Pipeline p;
    try {
      p = LoniSpecification.getXMLParser().parse(new File(path));
     
      try {
        LoniSpecification.getXMLGenerator().generate(p, output);
View Full Code Here

    }
  }
   
  public static void TestLoniToTaverna (String path, String output) {
      System.out.println("==="+path + ">" + output+"===");
      Pipeline p;
      try {
        p = LoniSpecification.getXMLParser().parse(new File(path));
        LoniToTavernaConverter l2t = new LoniToTavernaConverter();
        Workflow workflow= (Workflow) l2t.visit(p);
        try {
View Full Code Here

TOP

Related Classes of LONI.tree.workflow.Pipeline

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.