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,SplitterModule,STARIndexGeneratorModule,TerminalModule,TrackHubModule,UploadModule
public abstract class AbstractModule extends Object implements Module
This class define an abstract Module.- Since:
- 1.0
- Author:
- Laurent Jourdren
-
-
Constructor Summary
Constructors Constructor Description AbstractModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(StepConfigurationContext context, Set<Parameter> stepParameters)Set the parameters of the step to configure the module.CheckergetChecker()Get the checker for the moduleStringgetDescription()Get the description of the moduleInputPortsgetInputPorts()Get the input data format.OutputPortsgetOutputPorts()Get the output data format.ParallelizationModegetParallelizationMode()Get the parallelization mode of the module.fr.ens.biologie.genomique.kenetre.util.VersiongetRequiredEoulsanVersion()Get the required Version of the application to run the Module.Set<Requirement>getRequirements()Get the requirements of the module.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface fr.ens.biologie.genomique.eoulsan.core.Module
execute, getName, getVersion
-
-
-
-
Method Detail
-
getDescription
public String 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
public InputPorts 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
public OutputPorts 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
public Set<Requirement> 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
public Checker 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
public ParallelizationMode getParallelizationMode()
Description copied from interface:ModuleGet the parallelization mode of the module.- Specified by:
getParallelizationModein interfaceModule- Returns:
- a ParallelizationMode enum
-
-