Class GalaxyToolInterpreter

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

public class GalaxyToolInterpreter extends Object
This class create an interpreter to tool xml file from Galaxy.
Since:
2.0
Author:
Sandrine Perrin
  • Constructor Details

  • Method Details

    • configure

      public void configure(Set<Parameter> parameters) throws EoulsanException
      Parse tool file to extract useful data to run tool.
      Parameters:
      parameters - the set step parameters
      Throws:
      EoulsanException - if an data missing
    • execute

      public ToolExecutorResult execute(TaskContext context) throws EoulsanException
      Convert command tag from tool file in string, variable are replace by value.
      Parameters:
      context - the context
      Returns:
      the string
      Throws:
      EoulsanException - the Eoulsan exception
    • getInputs

      public Map<String,ToolElement> getInputs()
      Gets the inputs.
      Returns:
      the inputs
    • getOutputs

      public Map<String,ToolElement> getOutputs()
      Gets the outputs.
      Returns:
      the outputs
    • getInputDataElements

      public Set<DataToolElement> getInputDataElements()
      Gets the in data format expected associated with variable found in command line.
      Returns:
      the in data format expected
    • getOutputDataElements

      public Set<DataToolElement> getOutputDataElements()
      Gets the out data format expected associated with variable found in command line.
      Returns:
      the out data format expected
    • getToolInfo

      public ToolInfo getToolInfo()
      Gets the tool information.
      Returns:
      the tool information
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • removeNamespace

      public static String removeNamespace(String variableName)
      Remove the namespace from the name of a variable.
      Parameters:
      variableName - variable name
      Returns:
      the variable name without the namespace