Class CheetahInterpreter

java.lang.Object
fr.ens.biologie.genomique.eoulsan.galaxytools.CheetahInterpreter

public class CheetahInterpreter extends Object
This class create a Cheetah interpreter, it can build a command line tool from command tag from Galaxy tool XML file.
Since:
2.0
Author:
Sandrine Perrin
  • Field Details

  • Constructor Details

    • CheetahInterpreter

      public CheetahInterpreter(String cheetahScript, Map<String,String> variables) throws EoulsanException
      Instantiates a new tool Cheetah script interpreter.
      Parameters:
      cheetahScript - the Cheetah script to execute
      variables - the variables of the script
      Throws:
      EoulsanException - if the constructor fails
  • Method Details

    • execute

      public String execute() throws EoulsanException
      Execute script by Python interpreter and replace variable name by value.
      Returns:
      final command line
      Throws:
      EoulsanException - if an error throws by interpretation.