public class AnnotationAveragingWriter extends VCFWriter implements RegionWriter
| Modifier and Type | Field and Description |
|---|---|
static DynamicOptionClient |
doc |
chromosomeColumnIndex, COLUMN_NOT_DEFINED, formatTypeToFormatFieldIndex, positionColumnIndex| Constructor and Description |
|---|
AnnotationAveragingWriter(OutputInfo outputInfo,
MethylCountProvider provider) |
AnnotationAveragingWriter(OutputInfo outputInfo,
RandomAccessSequenceInterface genome,
MethylCountProvider provider) |
AnnotationAveragingWriter(Writer writer,
RandomAccessSequenceInterface genome,
MethylCountProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the writer.
|
static DynamicOptionClient |
doc() |
void |
setAggregateAllContexts(boolean aggregateAllContexts)
Indicate that the writer should combine all contexts (True) or write output where contexts are
separately described (False).
|
void |
setAnnotationFilename(String annotationFilename)
Set the annotation filename.
|
void |
setContexts(String[] strings) |
void |
setGenome(RandomAccessSequenceInterface genome)
Set the genome.
|
void |
setGroupComparisons(ArrayList<GroupComparison> groupComparisons)
Set the group comparisons.
|
void |
setSampleIndexToGroupIndex(int[] readerIndexToGroupIndex)
Set the sample index to group index array
|
void |
setWriteCounts(boolean b) |
void |
setWriteNumSites(boolean b) |
void |
writeRecord()
Append a record.
|
addAlternateAllele, altAlleles, clear, clearAlternateAlleles, codeGenotype, codeGenotype, codeGenotype, defineField, defineField, defineSamples, defineSchema, getChromosome, getNumAltAlleles, getNumFormatFields, getNumInfoFields, getPosition, getSamples, getSampleValue, hasAlternateAllele, refAlleles, setAlternateAllele, setChromosome, setFilter, setFlag, setFlag, setGenotypesPhased, setId, setInfo, setInfo, setInfo, setInfo, setPosition, setQual, setReferenceAllele, setSampleValue, setSampleValue, setSampleValue, setSampleValue, setSampleValue, setWriteFieldGroupAssociations, switchSampleValue, writeHeader, writeHeaderpublic static final DynamicOptionClient doc
public AnnotationAveragingWriter(OutputInfo outputInfo, MethylCountProvider provider)
public AnnotationAveragingWriter(Writer writer, RandomAccessSequenceInterface genome, MethylCountProvider provider)
public AnnotationAveragingWriter(OutputInfo outputInfo, RandomAccessSequenceInterface genome, MethylCountProvider provider)
public static final DynamicOptionClient doc()
public void setWriteNumSites(boolean b)
public void setContexts(String[] strings)
public void writeRecord()
VCFWriterwriteRecord in interface RegionWriterwriteRecord in class VCFWriterpublic void close()
VCFWriterclose in interface RegionWriterclose in class VCFWriterpublic void setGroupComparisons(ArrayList<GroupComparison> groupComparisons)
RegionWritersetGroupComparisons in interface RegionWriterpublic void setGenome(RandomAccessSequenceInterface genome)
RegionWritersetGenome in interface RegionWriterpublic void setAnnotationFilename(String annotationFilename)
setAnnotationFilename in interface RegionWriterannotationFilename - public void setSampleIndexToGroupIndex(int[] readerIndexToGroupIndex)
setSampleIndexToGroupIndex in interface RegionWriterreaderIndexToGroupIndex - public void setAggregateAllContexts(boolean aggregateAllContexts)
RegionWritersetAggregateAllContexts in interface RegionWriterpublic void setWriteCounts(boolean b)
Copyright © 2017 Campagne Laboratory. All rights reserved.