public class HaplotypeNode extends Object implements Comparable<HaplotypeNode>
| Modifier and Type | Class and Description |
|---|---|
class |
HaplotypeNode.VariantInfo
These are instantiated only when requested.
|
| Constructor and Description |
|---|
HaplotypeNode(HaplotypeSequence haplotypeSequence,
net.maizegenetics.taxa.TaxaList taxaList) |
HaplotypeNode(HaplotypeSequence haplotypeSequence,
net.maizegenetics.taxa.TaxaList taxaList,
int id) |
HaplotypeNode(HaplotypeSequence haplotypeSequence,
net.maizegenetics.taxa.TaxaList taxaList,
int id,
byte[] variantContexts) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(HaplotypeNode o) |
HaplotypeSequence |
haplotypeSequence()
HaplotypeSequence object containing the nucleotide sequence and other sequence related information for a given
HaplotypeNode object.
|
int |
id() |
int |
numTaxa()
Number of taxa used when consensus sequence was created or one if this is an original sequence.
|
ReferenceRange |
referenceRange()
Object containing the range of genomic coordinate values associated with a given HaplotypeNode and other details
associated with that range of values.
|
net.maizegenetics.taxa.TaxaList |
taxaList()
List of taxa used when the consensus sequence was created or a single taxon.
|
String |
toString() |
Optional<List<htsjdk.variant.variantcontext.VariantContext>> |
variantContexts()
Returns variant contexts for this node.
|
Optional<List<HaplotypeNode.VariantInfo>> |
variantInfos()
These correspond to the VariantContext but holds less information for memory efficiency.
|
public HaplotypeNode(HaplotypeSequence haplotypeSequence, net.maizegenetics.taxa.TaxaList taxaList, int id, byte[] variantContexts)
public HaplotypeNode(HaplotypeSequence haplotypeSequence, net.maizegenetics.taxa.TaxaList taxaList, int id)
public HaplotypeNode(HaplotypeSequence haplotypeSequence, net.maizegenetics.taxa.TaxaList taxaList)
public HaplotypeSequence haplotypeSequence()
public net.maizegenetics.taxa.TaxaList taxaList()
public int id()
public ReferenceRange referenceRange()
public int numTaxa()
public Optional<List<htsjdk.variant.variantcontext.VariantContext>> variantContexts()
public Optional<List<HaplotypeNode.VariantInfo>> variantInfos()
public int compareTo(HaplotypeNode o)
compareTo in interface Comparable<HaplotypeNode>Copyright © 2018. All rights reserved.