public class KeyIgnoringVCFRecordWriter<K> extends VCFRecordWriter<K>
The write function ignores the key, just outputting the VariantContext.
| Constructor and Description |
|---|
KeyIgnoringVCFRecordWriter(OutputStream output,
htsjdk.variant.vcf.VCFHeader header,
boolean writeHeader) |
KeyIgnoringVCFRecordWriter(org.apache.hadoop.fs.Path output,
org.apache.hadoop.fs.Path input,
boolean writeHeader,
org.apache.hadoop.mapreduce.TaskAttemptContext ctx) |
KeyIgnoringVCFRecordWriter(org.apache.hadoop.fs.Path output,
htsjdk.variant.vcf.VCFHeader header,
boolean writeHeader,
org.apache.hadoop.mapreduce.TaskAttemptContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(K ignored,
VariantContextWritable vc) |
close, setInputHeader, writeRecordpublic KeyIgnoringVCFRecordWriter(org.apache.hadoop.fs.Path output,
org.apache.hadoop.fs.Path input,
boolean writeHeader,
org.apache.hadoop.mapreduce.TaskAttemptContext ctx)
throws IOException
IOExceptionpublic KeyIgnoringVCFRecordWriter(org.apache.hadoop.fs.Path output,
htsjdk.variant.vcf.VCFHeader header,
boolean writeHeader,
org.apache.hadoop.mapreduce.TaskAttemptContext ctx)
throws IOException
IOExceptionpublic KeyIgnoringVCFRecordWriter(OutputStream output, htsjdk.variant.vcf.VCFHeader header, boolean writeHeader) throws IOException
IOExceptionpublic void write(K ignored, VariantContextWritable vc)
write in class org.apache.hadoop.mapreduce.RecordWriter<K,VariantContextWritable>Copyright © 2016. All rights reserved.