Class RmDupLocalModule
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.modules.AbstractModule
-
- fr.ens.biologie.genomique.eoulsan.modules.chipseq.RmDupLocalModule
-
- All Implemented Interfaces:
Module
public class RmDupLocalModule extends AbstractModule
This class removes PCR duplicates from a SAM file. It uses Picard's MarkDuplicates to either mark or remove PCR duplicates.- Author:
- Celine Hernandez - CSB lab - ENS - Paris
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringCOUNTER_GROUPGroup for hadoop counters.
-
Constructor Summary
Constructors Constructor Description RmDupLocalModule()
-
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 step.TaskResultexecute(TaskContext context, TaskStatus status)Execute a task step.StringgetDescription()A short description of the tool and what is done in the step.InputPortsgetInputPorts()Define input port.StringgetName()Name of the Step.OutputPortsgetOutputPorts()Define output port.fr.ens.biologie.genomique.kenetre.util.VersiongetVersion()Version.-
Methods inherited from class fr.ens.biologie.genomique.eoulsan.modules.AbstractModule
getChecker, getParallelizationMode, getRequiredEoulsanVersion, getRequirements
-
-
-
-
Field Detail
-
COUNTER_GROUP
protected static final String COUNTER_GROUP
Group for hadoop counters.- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
Name of the Step.- Returns:
- the name of the module
-
getDescription
public String getDescription()
A short description of the tool and what is done in the step.- Specified by:
getDescriptionin interfaceModule- Overrides:
getDescriptionin classAbstractModule- Returns:
- the description of the module
-
getVersion
public fr.ens.biologie.genomique.kenetre.util.Version getVersion()
Version.- Returns:
- a Version object with the version of the Module
-
getInputPorts
public InputPorts getInputPorts()
Define input port.- Specified by:
getInputPortsin interfaceModule- Overrides:
getInputPortsin classAbstractModule- Returns:
- a set with DataFormat or null if the module does not any need input format
-
getOutputPorts
public OutputPorts getOutputPorts()
Define output port.- 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
Set the parameters of the step to configure the step.- Specified by:
configurein interfaceModule- Overrides:
configurein classAbstractModule- Parameters:
stepParameters- parameters of the stepcontext- configuration context. The context can be null for generator steps- Throws:
EoulsanException- if a parameter is invalid
-
execute
public TaskResult execute(TaskContext context, TaskStatus status)
Description copied from interface:ModuleExecute a task step.- Parameters:
context- Execution contextstatus- of the task
-
-