Class PairedEndFastqToTfq
java.lang.Object
fr.ens.biologie.genomique.eoulsan.modules.mapping.hadoop.PairedEndFastqToTfq
This class allow to convert two FASTQ file in one TFQ file.
- Since:
- 2.0
- Author:
- Laurent Jourdren
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThis class define the reducer required to convert FASTQ files into TFQ file. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.mapreduce.Jobconvert(org.apache.hadoop.conf.Configuration parentConf, DataFile fastqFile1, DataFile fastqFile2, DataFile outputFile, int reducerTaskCount) Create the job to convert FASTQ files in a TFQ file.static org.apache.hadoop.mapreduce.Jobconvert(org.apache.hadoop.conf.Configuration parentConf, org.apache.hadoop.fs.Path fastqFile1, org.apache.hadoop.fs.Path fastqFile2, org.apache.hadoop.fs.Path outputFile, int reducerTaskCount) Create the job to convert FASTQ files in a TFQ file.
-
Constructor Details
-
PairedEndFastqToTfq
public PairedEndFastqToTfq()
-
-
Method Details
-
convert
public static org.apache.hadoop.mapreduce.Job convert(org.apache.hadoop.conf.Configuration parentConf, DataFile fastqFile1, DataFile fastqFile2, DataFile outputFile, int reducerTaskCount) throws IOException Create the job to convert FASTQ files in a TFQ file.- Parameters:
parentConf- Hadoop configurationfastqFile1- Path of the first FASTQ filefastqFile2- Path of the second FASTQ fileoutputFile- Path of the output TFQ filereducerTaskCount- the reducer task count- Returns:
- an Hadoop Job
- Throws:
IOException- if an error occurs while creating the Job
-
convert
public static org.apache.hadoop.mapreduce.Job convert(org.apache.hadoop.conf.Configuration parentConf, org.apache.hadoop.fs.Path fastqFile1, org.apache.hadoop.fs.Path fastqFile2, org.apache.hadoop.fs.Path outputFile, int reducerTaskCount) throws IOException Create the job to convert FASTQ files in a TFQ file.- Parameters:
parentConf- Hadoop configurationfastqFile1- Path of the first FASTQ filefastqFile2- Path of the second FASTQ fileoutputFile- Path of the output TFQ filereducerTaskCount- the reducer task count- Returns:
- an Hadoop Job
- Throws:
IOException- if an error occurs while creating the Job
-