public class SequenceBaseInformationOutputFormat extends Object implements SequenceVariationOutputFormat
input convention: paired: germline, somatic trio: father, mother, somatic
| Modifier and Type | Field and Description |
|---|---|
static DynamicOptionClient |
doc |
| Constructor and Description |
|---|
SequenceBaseInformationOutputFormat() |
| 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.
|
static DynamicOptionClient |
doc() |
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.
|
public static final DynamicOptionClient doc
public static final DynamicOptionClient doc()
public void defineColumns(OutputInfo statsWriter, DiscoverSequenceVariantsMode mode)
SequenceVariationOutputFormatdefineColumns in interface SequenceVariationOutputFormatstatsWriter - where output will be written.mode - The discover mode provides arguments that the format may need to define columns.public void allocateStorage(int numberOfSamples,
int numberOfGroups)
SequenceVariationOutputFormatallocateStorage in interface SequenceVariationOutputFormatnumberOfSamples - Number of samples in the comparisonnumberOfGroups - Number of groups being compared.public void writeRecord(DiscoverVariantIterateSortedAlignments iterator, SampleCountInfo[] sampleCounts, int referenceIndex, int position, DiscoverVariantPositionData list, int groupIndexA, int groupIndexB)
SequenceVariationOutputFormatwriteRecord in interface SequenceVariationOutputFormatpublic void close()
close in interface SequenceVariationOutputFormatpublic void setGenome(RandomAccessSequenceInterface genome)
SequenceVariationOutputFormatsetGenome in interface SequenceVariationOutputFormatpublic void setGenomeReferenceIndex(int index)
setGenomeReferenceIndex in interface SequenceVariationOutputFormatCopyright © 2017 Campagne Laboratory. All rights reserved.