public class VariantMapHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
numOverlaps |
| Constructor and Description |
|---|
VariantMapHelper(RandomAccessSequenceInterface genome)
Generate a new empty variant map
|
VariantMapHelper(String pathToMap)
Load map from path
|
| Modifier and Type | Method and Description |
|---|---|
void |
addVariant(int gobyPos,
String chrom,
String reference,
Set<String> trueAlleles)
add variant to map with reference and true genotype strings.
|
Variant |
getVariant(String chrom,
int pos)
Get variant returns a variant located at the specified chrom and position.
|
void |
saveMap(String pathToMap)
Save current map to specified file.
|
public VariantMapHelper(String pathToMap) throws IOException, ClassNotFoundException
pathToMap - IOExceptionClassNotFoundExceptionpublic VariantMapHelper(RandomAccessSequenceInterface genome)
public void addVariant(int gobyPos,
String chrom,
String reference,
Set<String> trueAlleles)
chrom - gobyPos - reference - trueAlleles - public void saveMap(String pathToMap) throws IOException
pathToMap - IOExceptionCopyright © 2017 Campagne Laboratory. All rights reserved.