Class PairedEndFastqToTfq


  • public class PairedEndFastqToTfq
    extends Object
    This class allow to convert two FASTQ file in one TFQ file.
    Since:
    2.0
    Author:
    Laurent Jourdren
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.apache.hadoop.mapreduce.Job convert​(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.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)
      Create the job to convert FASTQ files in a TFQ file.
    • Constructor Detail

      • PairedEndFastqToTfq

        public PairedEndFastqToTfq()
    • Method Detail

      • 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 configuration
        fastqFile1 - Path of the first FASTQ file
        fastqFile2 - Path of the second FASTQ file
        outputFile - Path of the output TFQ file
        reducerTaskCount - 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 configuration
        fastqFile1 - Path of the first FASTQ file
        fastqFile2 - Path of the second FASTQ file
        outputFile - Path of the output TFQ file
        reducerTaskCount - the reducer task count
        Returns:
        an Hadoop Job
        Throws:
        IOException - if an error occurs while creating the Job