Package picard.fingerprint
Class Snp
java.lang.Object
picard.fingerprint.Snp
- All Implemented Interfaces:
Comparable<Snp>
Class to represent a SNP in context of a haplotype block that is used in fingerprinting.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Snp
-
-
Method Details
-
flip
Returns a new SNP object with the alleles swapped and MAF corrected. -
getName
-
getChrom
-
getPos
public int getPos() -
getAllele1
public byte getAllele1() -
getAllele2
public byte getAllele2() -
getAlleles
-
getMaf
public double getMaf() -
getFingerprintPanels
-
getHomozygousAllele1Genotype
-
getHeterogyzousGenotype
-
getHomozygousAllele2Genotype
-
getAlleleString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Snp>
-
equals
-
hashCode
public int hashCode() -
toString
-