public class GeneralPosition implements Position
Provide information on a site and its annotations. This includes information on position, MAF, coverage. This class is immutable.
The annotations are all set using the builder.
This class has been optimized for memory size compared to the other version. Every annotated position takes about 84 bytes, even with a names and declared variants. Positions with extended annotation take roughly 117 bytes, and as long as the annotation are repeated extensively the take an additional 8 bytes each. So a site with 100 annotation would take <1000 bytes.
public boolean equals(java.lang.Object obj)
public int compareTo(Position o)
public java.lang.String toString()
public float getGlobalMAF()
public float getGlobalSiteCoverage()
public byte getAllele(WHICH_ALLELE alleleType)
public int hashCode()
public Chromosome getChromosome()
public int getPosition()
public short getInsertionPosition()
public byte getStrand()
public java.lang.String getStrandStr()
public java.lang.String getSNPID()
public java.lang.String getActualSNPID()
public boolean isNucleotide()
public boolean isIndel()
public java.lang.String[] getKnownVariants()
public GeneralAnnotation getAnnotation()