Class AbstractIlluminaDemuxDataProcessor

    • Constructor Detail

      • AbstractIlluminaDemuxDataProcessor

        public AbstractIlluminaDemuxDataProcessor()
    • Method Detail

      • init

        public void init​(Configuration conf,
                         fr.ens.biologie.genomique.kenetre.log.GenericLogger logger)
                  throws Aozan3Exception
        Description copied from interface: DataProcessor
        Initialize the processor.
        Specified by:
        init in interface DataProcessor
        Parameters:
        conf - the configuration of the processor
        logger - the logger to use
        Throws:
        Aozan3Exception - if an error occurs while initialize the processor
      • getDemuxToolName

        protected abstract String getDemuxToolName()
        Get the demultiplexing tool name.
        Returns:
        the demultiplexing tool name
      • getConfPrefix

        protected abstract String getConfPrefix()
        Get the configuration prefix of the processor.
        Returns:
        the configuration prefix of the processor
      • additionalInit

        protected abstract void additionalInit​(RunConfiguration conf)
        Additional initialization.
        Parameters:
        conf - run configuration
      • parseDemuxToolVersion

        protected abstract String parseDemuxToolVersion​(List<String> line)
        Parse demultiplexing tool version.
        Parameters:
        line - line with the version of tool
        Returns:
        the parsed version
      • isOutputMustExists

        protected abstract boolean isOutputMustExists()
        Test if output directory must exists before launching demultiplexing.
        Returns:
        true if output directory must exists before launching demultiplexing
      • createDemuxCommandLine

        protected abstract List<String> createDemuxCommandLine​(Path inputPath,
                                                               Path outputPath,
                                                               Path samplesheetPath,
                                                               String toolVersion,
                                                               RunConfiguration runConf)
                                                        throws IOException
        Create the command line to execute the demultiplexing.
        Parameters:
        inputPath - input path with BCL files
        outputPath - output path with FASTQ files
        samplesheetPath - path to the samplesheet file
        toolVersion - demultiplexing tool version
        runConf - run configuration
        Returns:
        a list with the command line arguments
        Throws:
        IOException - if an error occurs while creating the command line
      • processSampleSheet

        protected void processSampleSheet​(fr.ens.biologie.genomique.kenetre.illumina.samplesheet.SampleSheet samplesheet)
                                   throws Aozan3Exception
        Process sample sheet.
        Parameters:
        samplesheet - sample sheet to process
        Throws:
        Aozan3Exception