Class AbstractModule
java.lang.Object
fr.ens.biologie.genomique.eoulsan.modules.AbstractModule
- All Implemented Interfaces:
Module
- Direct Known Subclasses:
AbstractBAM2SAMModule,AbstractExpressionModule,AbstractFilterAndMapReadsModule,AbstractReadsFilterModule,AbstractReadsMapperModule,AbstractSAM2BAMModule,AbstractSAM2FASTQModule,AbstractSAMFilterModule,AbstractSplice2BEDModule,BedToolsModule,CheckerModule,CopyDesignAndWorkflowFilesToOutputModule,CopyInputDataModule,CopyOutputDataModule,CountSplicedReadsModule,DeepToolsModule,DefineDataFormatToDownload,DESeq2Module,DesignModule,DiffAnaModule,DiffanaResultsAnnotationModule,DummyGeneratorModule,ExpressionResultsAnnotationModule,ExpressionToMatrixModule,FailModule,FakeModule,FastQCModule,FirstModule,GalaxyToolModule,GenericStorageGeneratorModule,GenomeDescriptionGeneratorModule,GenomeMapperIndexGeneratorModule,GFFFastaGeneratorModule,HDFSDataDownloadModule,IDRModule,ImportModule,MACS2Module,MatrixToCellRangerMatrixModule,MergeInputRepLocalModule,MergePeaksModule,MergerModule,Minimap2IndexGeneratorModule,MultiQCModule,NormalizationModule,RequirementInstallerModule,RmDupLocalModule,RSingleCellExperimentCreatorModule,ShellModule,SplitReadsModule,SplitterModule,STARIndexGeneratorModule,TerminalModule,TrackHubModule,UploadModule
This class define an abstract Module.
- Since:
- 1.0
- Author:
- Laurent Jourdren
-
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 checker for the moduleGet the description of the moduleGet the input data format.Get the output data format.Get the parallelization mode of the module.fr.ens.biologie.genomique.kenetre.util.VersionGet the required Version of the application to run the Module.Get the requirements of the module.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.ens.biologie.genomique.eoulsan.core.Module
execute, getName, getVersion
-
Constructor Details
-
AbstractModule
public AbstractModule()
-
-
Method Details
-
getDescription
Description copied from interface:ModuleGet the description of the module- Specified by:
getDescriptionin interfaceModule- Returns:
- the description of the module
-
getRequiredEoulsanVersion
public fr.ens.biologie.genomique.kenetre.util.Version getRequiredEoulsanVersion()Description copied from interface:ModuleGet the required Version of the application to run the Module.- Specified by:
getRequiredEoulsanVersionin interfaceModule- Returns:
- a Version object with the required version of the Module
-
getInputPorts
Description copied from interface:ModuleGet the input data format.- Specified by:
getInputPortsin interfaceModule- Returns:
- a set with DataFormat or null if the module does not any need input format
-
getOutputPorts
Description copied from interface:ModuleGet the output data format.- Specified by:
getOutputPortsin interfaceModule- Returns:
- an set with DataFormat or null if the module does not produce any output data
-
getRequirements
Description copied from interface:ModuleGet the requirements of the module.- Specified by:
getRequirementsin interfaceModule- Returns:
- a set with the requirements of the module
-
getChecker
Description copied from interface:ModuleGet the checker for the module- Specified by:
getCheckerin interfaceModule- Returns:
- the checker for the module
-
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- Parameters:
context- configuration context. The context can be null for generator stepsstepParameters- parameters of the step- Throws:
EoulsanException- if a parameter is invalid
-
getParallelizationMode
Description copied from interface:ModuleGet the parallelization mode of the module.- Specified by:
getParallelizationModein interfaceModule- Returns:
- a ParallelizationMode enum
-