Class DoradoONTBasecallingDataProcessor

  • All Implemented Interfaces:
    DataProcessor

    public class DoradoONTBasecallingDataProcessor
    extends Object
    implements DataProcessor
    This class implements a Dorado data processor.
    Since:
    3.1
    Author:
    Laurent Jourdren
    • Constructor Detail

      • DoradoONTBasecallingDataProcessor

        public DoradoONTBasecallingDataProcessor()
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: DataProcessor
        Get the name of the processor.
        Specified by:
        getName in interface DataProcessor
        Returns:
        the name of the processor
      • 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
      • run

        public static void run​(Path inputTar,
                               Path outputPath,
                               Path modelsPath,
                               String runId,
                               String doradoVersion,
                               Path tmpPath,
                               String flowcellType,
                               String kit,
                               String barcodeKits,
                               boolean trimBarcodes,
                               String minQscore,
                               String model,
                               String cudaDevice,
                               int batchSize,
                               int chunkSize,
                               boolean keepTemporaryFiles,
                               fr.ens.biologie.genomique.kenetre.log.GenericLogger logger)
                        throws Aozan3Exception
        Parameters:
        inputTar - input tar file
        outputPath - output directory
        modelsPath - directory with models for Dorado
        runId - run Id
        doradoVersion - dorado version
        tmpPath - tempoary directory
        flowcellType - flowcell type
        kit - kit type
        barcodeKits - barcode kit used
        trimBarcodes - true if barcode must be trimmed
        minQscore - minimal Q score
        model - model to use
        cudaDevice - CUDA device
        batchSize - batch size
        chunkSize - chunk size
        keepTemporaryFiles - true to keep temporary files
        logger - logger to use
        Throws:
        Aozan3Exception - if an error occurs while executing the basecalling