Package org.bdgenomics.adam.io
Class SingleFastqInputFormat
- java.lang.Object
-
- org.apache.hadoop.mapreduce.InputFormat<K,V>
-
- org.apache.hadoop.mapreduce.lib.input.FileInputFormat<Void,org.apache.hadoop.io.Text>
-
- org.bdgenomics.adam.io.FastqInputFormat
-
- org.bdgenomics.adam.io.SingleFastqInputFormat
-
public final class SingleFastqInputFormat extends FastqInputFormat
This class is a Hadoop reader for single read fastq. This reader is based on the FastqInputFormat that's part of Hadoop-BAM, found at https://github.com/HadoopGenomics/Hadoop-BAM/blob/master/src/main/java/org/seqdoop/hadoop_bam/FastqInputFormat.java
-
-
Field Summary
-
Fields inherited from class org.bdgenomics.adam.io.FastqInputFormat
splittable
-
-
Constructor Summary
Constructors Constructor Description SingleFastqInputFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.hadoop.mapreduce.RecordReader<Void,org.apache.hadoop.io.Text>
createRecordReader(org.apache.hadoop.mapreduce.InputSplit genericSplit, org.apache.hadoop.mapreduce.TaskAttemptContext context)
Creates the new record reader that underlies this input format.-
Methods inherited from class org.bdgenomics.adam.io.FastqInputFormat
isSplitable
-
Methods inherited from class org.apache.hadoop.mapreduce.lib.input.FileInputFormat
addInputPath, addInputPathRecursively, addInputPaths, computeSplitSize, getBlockIndex, getFormatMinSplitSize, getInputDirRecursive, getInputPathFilter, getInputPaths, getMaxSplitSize, getMinSplitSize, getSplits, listStatus, makeSplit, makeSplit, setInputDirRecursive, setInputPathFilter, setInputPaths, setInputPaths, setMaxInputSplitSize, setMinInputSplitSize
-
-
-
-
Method Detail
-
createRecordReader
public org.apache.hadoop.mapreduce.RecordReader<Void,org.apache.hadoop.io.Text> createRecordReader(org.apache.hadoop.mapreduce.InputSplit genericSplit, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
Creates the new record reader that underlies this input format.- Specified by:
createRecordReader
in classorg.apache.hadoop.mapreduce.InputFormat<Void,org.apache.hadoop.io.Text>
- Parameters:
genericSplit
- The split that the record reader should read.context
- The Hadoop task context.- Returns:
- Returns the interleaved FASTQ record reader.
- Throws:
IOException
InterruptedException
-
-