-
- All Implemented Interfaces:
-
java.lang.Comparable
public class VariantMappingData implements Comparable<T>
Class created to store Variant mapping data for populating the variants PHG table. It implements Comparable to enable sorting an unordered list of variants by chrom/position
-
-
Field Summary
Fields Modifier and Type Field Description public final boolean
isReference
public final byte
isIndel
-
Constructor Summary
Constructors Constructor Description VariantMappingData(Position pos, int refAlleleID, int altAlleleID, int refDepth, int altDepth, boolean isRef, int refLen, byte indel, int otherData)
-
Method Summary
Modifier and Type Method Description boolean
isReference()
byte
isIndel()
Position
position()
int
refAlleleID()
int
altAlleleID()
int
refDepth()
int
altDepth()
int
refLen()
int
otherData()
int
ancID()
boolean
equals(Object obj)
int
hashCode()
int
compareTo(VariantMappingData other)
-
-
Method Detail
-
isReference
boolean isReference()
-
isIndel
byte isIndel()
-
position
Position position()
-
refAlleleID
int refAlleleID()
-
altAlleleID
int altAlleleID()
-
refDepth
int refDepth()
-
altDepth
int altDepth()
-
refLen
int refLen()
-
otherData
int otherData()
-
ancID
int ancID()
-
hashCode
int hashCode()
-
compareTo
int compareTo(VariantMappingData other)
-
-
-
-