public class VariantMapCreator extends VariantMapHelper
| Modifier and Type | Field and Description |
|---|---|
protected RandomAccessSequenceInterface |
genome |
int |
numFromMistmaches |
int |
numIndelsEncountered |
chMap, LOG, numOverlaps| Constructor and Description |
|---|
VariantMapCreator(RandomAccessSequenceInterface genome)
Generate a new empty variant map
|
| Modifier and Type | Method and Description |
|---|---|
Variant |
addVariant(int gobyPos,
String chrom,
char reference,
Set<Variant.FromTo> trueAlleles)
add variant to map with reference and true genotype strings.
|
void |
saveMap(String pathToMap)
Save current map to specified file.
|
void |
showStats() |
getAllChromosomes, getAllVariants, getVariant, sizepublic int numIndelsEncountered
protected RandomAccessSequenceInterface genome
public int numFromMistmaches
public VariantMapCreator(RandomAccessSequenceInterface genome)
public Variant addVariant(int gobyPos, String chrom, char reference, Set<Variant.FromTo> trueAlleles)
chrom - gobyPos - reference - trueAlleles - public void saveMap(String pathToMap) throws IOException
pathToMap - IOExceptionpublic void showStats()
Copyright © 2017 Campagne Laboratory. All rights reserved.