public class MergeGVCFUtils extends Object
| Constructor and Description |
|---|
MergeGVCFUtils() |
| Modifier and Type | Method and Description |
|---|---|
static net.maizegenetics.dna.snp.GenotypeTable |
createGenotypeTableFromGVCFs(ReferenceRange refRange,
com.google.common.collect.Multimap<net.maizegenetics.taxa.Taxon,htsjdk.variant.variantcontext.VariantContext> taxonToVariantListMap,
net.maizegenetics.dna.map.GenomeSequence referenceSequence)
This method takes all the VariantContexts for all of the Taxon we need in our new GenotypeTable and will create a correctly encoded GenotypeTable
|
static net.maizegenetics.dna.snp.GenotypeTable |
createGenotypeTableFromHaplotypeNodes(ReferenceRange refRange,
List<HaplotypeNode> nodesWithVariantContexts,
net.maizegenetics.dna.map.GenomeSequence referenceSequence)
Method to make a genotypeTable from a list of Haplotype Nodes.
|
static boolean |
isRefBlock(htsjdk.variant.variantcontext.VariantContext vc)
Simple method to check to see if the Variant is a reference block
|
static String |
removeHaplotypeCaller(String taxonName)
Simple method to remove the _Haplotype_Caller from the taxon name
|
static net.maizegenetics.dna.snp.GenotypeTable |
removeIndels(net.maizegenetics.dna.snp.GenotypeTable baseAlign)
Method to Remove indels from the GenotypeTable.
|
public static net.maizegenetics.dna.snp.GenotypeTable createGenotypeTableFromHaplotypeNodes(ReferenceRange refRange, List<HaplotypeNode> nodesWithVariantContexts, net.maizegenetics.dna.map.GenomeSequence referenceSequence)
refRange - nodesWithVariantContexts - referenceSequence - public static String removeHaplotypeCaller(String taxonName)
taxonName - public static net.maizegenetics.dna.snp.GenotypeTable createGenotypeTableFromGVCFs(ReferenceRange refRange, com.google.common.collect.Multimap<net.maizegenetics.taxa.Taxon,htsjdk.variant.variantcontext.VariantContext> taxonToVariantListMap, net.maizegenetics.dna.map.GenomeSequence referenceSequence)
refRange - taxonToVariantListMap - referenceSequence - public static boolean isRefBlock(htsjdk.variant.variantcontext.VariantContext vc)
vc - public static net.maizegenetics.dna.snp.GenotypeTable removeIndels(net.maizegenetics.dna.snp.GenotypeTable baseAlign)
baseAlign - Copyright © 2018. All rights reserved.