Class 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
    • Constructor Detail

      • 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 Detail

      • 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.