Class AbstractReadsMapperModule
java.lang.Object
fr.ens.biologie.genomique.eoulsan.modules.AbstractModule
fr.ens.biologie.genomique.eoulsan.modules.mapping.AbstractReadsMapperModule
- All Implemented Interfaces:
Module
- Direct Known Subclasses:
ReadsMapperHadoopModule,ReadsMapperLocalModule
This class define an abstract module for read mapping.
- Since:
- 1.0
- Author:
- Laurent Jourdren
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(StepConfigurationContext context, Set<Parameter> stepParameters) Set the parameters of the step to configure the module.Get the description of the modulegetName()Get the name of the module.Get the output data format.fr.ens.biologie.genomique.kenetre.util.VersionGet version of the Module.Methods inherited from class fr.ens.biologie.genomique.eoulsan.modules.AbstractModule
getChecker, getInputPorts, getParallelizationMode, getRequiredEoulsanVersion, getRequirements
-
Field Details
-
MODULE_NAME
Module name.- See Also:
-
MAPPER_NAME_PARAMETER_NAME
- See Also:
-
MAPPER_VERSION_PARAMETER_NAME
- See Also:
-
MAPPER_FLAVOR_PARAMETER_NAME
- See Also:
-
USE_BUNDLED_BINARIES_PARAMETER_NAME
- See Also:
-
MAPPER_DOCKER_IMAGE_PARAMETER_NAME
- See Also:
-
MAPPER_ARGUMENTS_PARAMETER_NAME
- See Also:
-
HADOOP_THREADS_PARAMETER_NAME
- See Also:
-
LOCAL_THREADS_PARAMETER_NAME
- See Also:
-
MAX_LOCAL_THREADS_PARAMETER_NAME
- See Also:
-
HADOOP_TIMEOUT
public static final int HADOOP_TIMEOUT- See Also:
-
-
Constructor Details
-
AbstractReadsMapperModule
public AbstractReadsMapperModule()
-
-
Method Details
-
getName
Description copied from interface:ModuleGet the name of the module.- Returns:
- the name of the module
-
getDescription
Description copied from interface:ModuleGet the description of the module- Specified by:
getDescriptionin interfaceModule- Overrides:
getDescriptionin classAbstractModule- Returns:
- the description of the module
-
getVersion
public fr.ens.biologie.genomique.kenetre.util.Version getVersion()Description copied from interface:ModuleGet version of the Module.- Returns:
- a Version object with the version of the Module
-
getOutputPorts
Description copied from interface:ModuleGet the output data format.- Specified by:
getOutputPortsin interfaceModule- Overrides:
getOutputPortsin classAbstractModule- Returns:
- an set with DataFormat or null if the module does not produce any output data
-
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 classAbstractModule- Parameters:
context- configuration context. The context can be null for generator stepsstepParameters- parameters of the step- Throws:
EoulsanException- if a parameter is invalid
-