Constructor and Description |
---|
Snp(java.lang.String name,
java.lang.String chrom,
int pos,
byte allele1,
byte allele2,
double maf,
java.util.List<java.lang.String> fingerprintPanels) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Snp that) |
boolean |
equals(java.lang.Object o) |
Snp |
flip()
Returns a new SNP object with the alleles swapped and MAF corrected.
|
byte |
getAllele1() |
byte |
getAllele2() |
java.util.List<htsjdk.variant.variantcontext.Allele> |
getAlleles() |
java.lang.String |
getAlleleString() |
java.lang.String |
getChrom() |
java.util.List<java.lang.String> |
getFingerprintPanels() |
DiploidGenotype |
getHeterogyzousGenotype() |
DiploidGenotype |
getHomozygousAllele1Genotype() |
DiploidGenotype |
getHomozygousAllele2Genotype() |
double |
getMaf() |
java.lang.String |
getName() |
int |
getPos() |
int |
hashCode() |
java.lang.String |
toString() |
public Snp(java.lang.String name, java.lang.String chrom, int pos, byte allele1, byte allele2, double maf, java.util.List<java.lang.String> fingerprintPanels)
public Snp flip()
public java.lang.String getName()
public java.lang.String getChrom()
public int getPos()
public byte getAllele1()
public byte getAllele2()
public java.util.List<htsjdk.variant.variantcontext.Allele> getAlleles()
public double getMaf()
public java.util.List<java.lang.String> getFingerprintPanels()
public DiploidGenotype getHomozygousAllele1Genotype()
public DiploidGenotype getHeterogyzousGenotype()
public DiploidGenotype getHomozygousAllele2Genotype()
public java.lang.String getAlleleString()
public int compareTo(Snp that)
compareTo
in interface java.lang.Comparable<Snp>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object