Package picard.fingerprint
Class Snp
java.lang.Object
picard.fingerprint.Snp
- All Implemented Interfaces:
htsjdk.samtools.util.Locatable,Comparable<Snp>
Class to represent a SNP in context of a haplotype block that is used in fingerprinting.
-
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:
compareToin interfaceComparable<Snp>
-
equals
-
hashCode
public int hashCode() -
toString
-
getContig
- Specified by:
getContigin interfacehtsjdk.samtools.util.Locatable
-
getStart
public int getStart()- Specified by:
getStartin interfacehtsjdk.samtools.util.Locatable
-
getEnd
public int getEnd()- Specified by:
getEndin interfacehtsjdk.samtools.util.Locatable
-