Class ExpressionHadoopModule
java.lang.Object
fr.ens.biologie.genomique.eoulsan.modules.AbstractModule
fr.ens.biologie.genomique.eoulsan.modules.expression.AbstractExpressionModule
fr.ens.biologie.genomique.eoulsan.modules.expression.hadoop.ExpressionHadoopModule
- All Implemented Interfaces:
Module
This class is the main class for the expression program of the reads in hadoop mode.
- Since:
- 1.0
- Author:
- Laurent Jourdren
-
Field Summary
Fields inherited from class fr.ens.biologie.genomique.eoulsan.modules.expression.AbstractExpressionModule
COUNTER_PARAMETER_NAME, FEATURES_FILE_FORMAT_PARAMETER_NAME, MODULE_NAME, OUTPUT_FILE_FORMAT_PARAMETER_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(StepConfigurationContext context, Set<Parameter> stepParameters) Set the parameters of the step to configure the module.execute(TaskContext context, TaskStatus status) Execute a task step.Get the input data format.static booleanisPairedData(InputStream samIs) Check if a SAM file contains paired-end data.Methods inherited from class fr.ens.biologie.genomique.eoulsan.modules.expression.AbstractExpressionModule
getDescription, getName, getOutputPorts, getVersionMethods inherited from class fr.ens.biologie.genomique.eoulsan.modules.AbstractModule
getChecker, getParallelizationMode, getRequiredEoulsanVersion, getRequirements
-
Constructor Details
-
ExpressionHadoopModule
public ExpressionHadoopModule()
-
-
Method Details
-
getInputPorts
Description copied from interface:ModuleGet the input data format.- Specified by:
getInputPortsin interfaceModule- Overrides:
getInputPortsin classAbstractExpressionModule- 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:ModuleSet the parameters of the step to configure the module.- Specified by:
configurein interfaceModule- Overrides:
configurein classAbstractExpressionModule- Parameters:
context- configuration context. The context can be null for generator stepsstepParameters- parameters of the step- Throws:
EoulsanException- if a parameter is invalid
-
execute
Description copied from interface:ModuleExecute a task step.- Parameters:
context- Execution contextstatus- of the task- Returns:
- a TaskResult object
-
isPairedData
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
-