public class KnownIndelSet extends Object
| Modifier and Type | Field and Description |
|---|---|
protected it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap<String,Set<ObservedIndel>> |
indelSet |
protected static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
KnownIndelSet()
Generate a new empty variant map
|
KnownIndelSet(String pathToIndelSet)
Load map from path
|
| Modifier and Type | Method and Description |
|---|---|
void |
addIndel(String chrom,
ObservedIndel knownIndel)
add variant to map with reference and true genotype strings.
|
Set<ObservedIndel> |
getAllIndelsInChrom(String chrom) |
void |
saveSet(String pathToSet)
Save current map to specified file.
|
protected it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap<String,Set<ObservedIndel>> indelSet
protected static final org.slf4j.Logger LOG
public KnownIndelSet(String pathToIndelSet) throws IOException, ClassNotFoundException
pathToIndelSet - IOExceptionClassNotFoundExceptionpublic KnownIndelSet()
public void addIndel(String chrom, ObservedIndel knownIndel)
chrom - knownIndel - public Set<ObservedIndel> getAllIndelsInChrom(String chrom)
public void saveSet(String pathToSet) throws IOException
pathToSet - IOExceptionCopyright © 2018 Campagne Laboratory. All rights reserved.