public interface SequenceVariationOutputFormat
| Modifier and Type | Method and Description |
|---|---|
void |
allocateStorage(int numberOfSamples,
int numberOfGroups)
Allocate storate needed to estimate the statistics the format outputs.
|
void |
close() |
void |
defineColumns(OutputInfo statsWriter,
DiscoverSequenceVariantsMode mode)
Define columns needed by this file format in the statsWriter.
|
void |
setGenome(RandomAccessSequenceInterface genome)
Optionally give access to the genome to the file format writer.
|
void |
setGenomeReferenceIndex(int index) |
void |
writeRecord(DiscoverVariantIterateSortedAlignments iterator,
SampleCountInfo[] sampleCounts,
int referenceIndex,
int position,
DiscoverVariantPositionData list,
int groupIndexA,
int groupIndexB)
Write statistics to the statsWriter for each position that should be reported.
|
void defineColumns(OutputInfo statsWriter, DiscoverSequenceVariantsMode mode)
statsWriter - where output will be written.mode - The discover mode provides arguments that the format may need to define columns.void allocateStorage(int numberOfSamples,
int numberOfGroups)
numberOfSamples - Number of samples in the comparisonnumberOfGroups - Number of groups being compared.void writeRecord(DiscoverVariantIterateSortedAlignments iterator, SampleCountInfo[] sampleCounts, int referenceIndex, int position, DiscoverVariantPositionData list, int groupIndexA, int groupIndexB)
iterator - sampleCounts - referenceIndex - position - list - groupIndexA - groupIndexB - void close()
void setGenome(RandomAccessSequenceInterface genome)
genome - void setGenomeReferenceIndex(int index)
Copyright © 2017 Campagne Laboratory. All rights reserved.