Class DoradoONTBasecallingDataProcessor
- java.lang.Object
-
- fr.ens.biologie.genomique.aozan.aozan3.dataprocessor.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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface fr.ens.biologie.genomique.aozan.aozan3.dataprocessor.DataProcessor
DataProcessor.ProcessResult
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROCESSOR_NAME
-
Constructor Summary
Constructors Constructor Description DoradoONTBasecallingDataProcessor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<DataTypeFilter>
getInputRequirements()
Get the input requirements of the processor.String
getName()
Get the name of the processor.void
init(Configuration conf, fr.ens.biologie.genomique.kenetre.log.GenericLogger logger)
Initialize the processor.DataProcessor.ProcessResult
process(InputData inputData, RunConfiguration runConf)
Process data.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)
-
-
-
Field Detail
-
PROCESSOR_NAME
public static final String PROCESSOR_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:DataProcessor
Get the name of the processor.- Specified by:
getName
in interfaceDataProcessor
- 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 interfaceDataProcessor
- Parameters:
conf
- the configuration of the processorlogger
- the logger to use- Throws:
Aozan3Exception
- if an error occurs while initialize the processor
-
getInputRequirements
public Set<DataTypeFilter> getInputRequirements()
Description copied from interface:DataProcessor
Get the input requirements of the processor.- Specified by:
getInputRequirements
in interfaceDataProcessor
- Returns:
- a set with input requirements
-
process
public DataProcessor.ProcessResult process(InputData inputData, RunConfiguration runConf) throws Aozan3Exception
Description copied from interface:DataProcessor
Process data.- Specified by:
process
in interfaceDataProcessor
- Parameters:
inputData
- input run datarunConf
- run configuration- Returns:
- a ProcessResult object
- Throws:
Aozan3Exception
- if an error occurs while processing the data
-
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 fileoutputPath
- output directorymodelsPath
- directory with models for DoradorunId
- run IddoradoVersion
- dorado versiontmpPath
- tempoary directoryflowcellType
- flowcell typekit
- kit typebarcodeKits
- barcode kit usedtrimBarcodes
- true if barcode must be trimmedminQscore
- minimal Q scoremodel
- model to usecudaDevice
- CUDA devicebatchSize
- batch sizechunkSize
- chunk sizekeepTemporaryFiles
- true to keep temporary fileslogger
- logger to use- Throws:
Aozan3Exception
- if an error occurs while executing the basecalling
-
-