Class ExpressionHadoopModule

All Implemented Interfaces:
Module

public class ExpressionHadoopModule extends AbstractExpressionModule
This class is the main class for the expression program of the reads in hadoop mode.
Since:
1.0
Author:
Laurent Jourdren
  • Constructor Details

    • ExpressionHadoopModule

      public ExpressionHadoopModule()
  • Method Details

    • getInputPorts

      public InputPorts getInputPorts()
      Description copied from interface: Module
      Get the input data format.
      Specified by:
      getInputPorts in interface Module
      Overrides:
      getInputPorts in class AbstractExpressionModule
      Returns:
      a set with DataFormat or null if the module does not any need input format
    • configure

      public void configure(StepConfigurationContext context, Set<Parameter> stepParameters) throws EoulsanException
      Description copied from interface: Module
      Set the parameters of the step to configure the module.
      Specified by:
      configure in interface Module
      Overrides:
      configure in class AbstractExpressionModule
      Parameters:
      context - configuration context. The context can be null for generator steps
      stepParameters - parameters of the step
      Throws:
      EoulsanException - if a parameter is invalid
    • execute

      public TaskResult execute(TaskContext context, TaskStatus status)
      Description copied from interface: Module
      Execute a task step.
      Parameters:
      context - Execution context
      status - of the task
      Returns:
      a TaskResult object
    • isPairedData

      public static boolean isPairedData(InputStream samIs)
      Check if a SAM file contains paired-end data.
      Parameters:
      samIs - the SAM file input stream
      Returns:
      true if the SAM file contains paired-end data