Class PedGenotype

java.lang.Object
org.snpeff.ped.PedGenotype

public class PedGenotype extends Object
A Simple genotype implementation for PED files
Author:
pcingola
  • Constructor Details

    • PedGenotype

      public PedGenotype(String[] genotypes)
    • PedGenotype

      public PedGenotype(String[] genotypes, String chrName, int position)
  • Method Details

    • get

      public String get(int idx)
    • getGenotypes

      public String[] getGenotypes()
    • getPosition

      public int getPosition()
    • has

      public boolean has(String genotype)
      Is 'genotype' in this one?
      Parameters:
      genotype -
      Returns:
    • isHomozygous

      public boolean isHomozygous()
      Is this homozygous?
      Returns:
    • isValid

      public boolean isValid()
    • size

      public int size()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toString

      public String toString(boolean wcComplement)