Class AbstractFilterAndMapReadsModule

  • All Implemented Interfaces:
    Module
    Direct Known Subclasses:
    FilterAndMapReadsHadoopModule

    public abstract class AbstractFilterAndMapReadsModule
    extends AbstractModule
    This class define an abstract module for read filtering, mapping and alignments filtering.
    Since:
    1.0
    Author:
    Laurent Jourdren
    • Constructor Detail

      • AbstractFilterAndMapReadsModule

        public AbstractFilterAndMapReadsModule()
    • Method Detail

      • getCounterGroup

        protected String getCounterGroup()
        Get the counter group to use for this module.
        Returns:
        the counter group of this module
      • isPairedEnd

        protected boolean isPairedEnd()
        Test if the step works in pair end mode.
        Returns:
        true if the pair end mode is enable
      • getMapperName

        protected String getMapperName()
        Get the name of the mapper to use.
        Returns:
        Returns the mapperName
      • getMapperVersion

        protected String getMapperVersion()
        Get the version of the mapper to use.
        Returns:
        the version of the mapper to use
      • getMapperFlavor

        protected String getMapperFlavor()
        Get the flavor of the mapper to use.
        Returns:
        the flavor of the mapper to use
      • getMapperArguments

        protected String getMapperArguments()
        Get the name of the mapper to use.
        Returns:
        Returns the mapperName
      • getMapperHadoopThreads

        protected int getMapperHadoopThreads()
        Get the name of the mapper to use.
        Returns:
        Returns the mapperName
      • getMapperHadoopMemoryRequired

        protected int getMapperHadoopMemoryRequired()
        Get the amount in MB of memory required to execute the mapper. This value is required by Hadoop scheduler and if the mapper require more memory than declared the mapper process will be killed.
        Returns:
        the amount of memory required by the mapper in MB
      • getMapper

        protected fr.ens.biologie.genomique.kenetre.bio.readmapper.Mapper getMapper()
        Get the mapper.
        Returns:
        the mapper object
      • getReducerTaskCount

        protected int getReducerTaskCount()
        Get the reducer task count.
        Returns:
        the reducer task count
      • getReadFilterParameters

        protected Map<String,​String> getReadFilterParameters()
        Get the parameters of the read filters.
        Returns:
        a map with all the parameters of the filters
      • getAlignmentsFilterParameters

        protected Map<String,​String> getAlignmentsFilterParameters()
        Get the parameters of the read alignments filters.
        Returns:
        a map with all the parameters of the filters
      • getName

        public String getName()
        Description copied from interface: Module
        Get the name of the module.
        Returns:
        the name of the module
      • getVersion

        public fr.ens.biologie.genomique.kenetre.util.Version getVersion()
        Description copied from interface: Module
        Get version of the Module.
        Returns:
        a Version object with the version of the Module