public class KeyIgnoringCRAMRecordWriter<K> extends CRAMRecordWriter<K>
The write function ignores the key, just outputting the SAMRecord.
| Constructor and Description |
|---|
KeyIgnoringCRAMRecordWriter(org.apache.hadoop.fs.Path output,
org.apache.hadoop.fs.Path input,
boolean writeHeader,
org.apache.hadoop.mapreduce.TaskAttemptContext ctx) |
KeyIgnoringCRAMRecordWriter(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 KeyIgnoringCRAMRecordWriter(org.apache.hadoop.fs.Path output,
org.apache.hadoop.fs.Path input,
boolean writeHeader,
org.apache.hadoop.mapreduce.TaskAttemptContext ctx)
throws IOException
IOExceptionpublic KeyIgnoringCRAMRecordWriter(org.apache.hadoop.fs.Path output,
htsjdk.samtools.SAMFileHeader header,
boolean writeHeader,
org.apache.hadoop.mapreduce.TaskAttemptContext ctx)
throws IOException
IOExceptionpublic void write(K ignored, SAMRecordWritable rec)
write in class org.apache.hadoop.mapreduce.RecordWriter<K,SAMRecordWritable>Copyright © 2017. All rights reserved.