public class KeyIgnoringBAMRecordWriter<K> extends BAMRecordWriter<K>
The write function ignores the key, just outputting the SAMRecord.
| Constructor and Description |
|---|
KeyIgnoringBAMRecordWriter(OutputStream output,
htsjdk.samtools.SAMFileHeader header,
boolean writeHeader) |
KeyIgnoringBAMRecordWriter(org.apache.hadoop.fs.Path output,
org.apache.hadoop.fs.Path input,
boolean writeHeader,
org.apache.hadoop.mapreduce.TaskAttemptContext ctx) |
KeyIgnoringBAMRecordWriter(org.apache.hadoop.fs.Path output,
htsjdk.samtools.SAMFileHeader header,
boolean writeHeader,
org.apache.hadoop.mapreduce.TaskAttemptContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(K ignored,
SAMRecordWritable rec) |
close, writeAlignmentpublic KeyIgnoringBAMRecordWriter(org.apache.hadoop.fs.Path output,
org.apache.hadoop.fs.Path input,
boolean writeHeader,
org.apache.hadoop.mapreduce.TaskAttemptContext ctx)
throws IOException
IOExceptionpublic KeyIgnoringBAMRecordWriter(org.apache.hadoop.fs.Path output,
htsjdk.samtools.SAMFileHeader header,
boolean writeHeader,
org.apache.hadoop.mapreduce.TaskAttemptContext ctx)
throws IOException
IOExceptionpublic KeyIgnoringBAMRecordWriter(OutputStream output, htsjdk.samtools.SAMFileHeader header, boolean writeHeader) throws IOException
IOExceptionpublic void write(K ignored, SAMRecordWritable rec) throws IOException
write in class org.apache.hadoop.mapreduce.RecordWriter<K,SAMRecordWritable>IOExceptionCopyright © 2017. All rights reserved.