Package imp
package imp
-
ClassDescriptionClass
CodedStepsdivides phased genotype data into non-overlapping intervals (the steps), indexes the unique allele sequences in each interval, and stores a map of haplotype index to allele sequence index for each interval.ClassHaplotypeCoderindexes the observed allele sequences in phased reference and target genotype data in a chromosome interval.ClassImpDatacontains the input data for imputation of ungenotyped markers.ClassImpIbsidentifies haplotypes that share a long IBS segment with a specified haplotype.ClassImpLScomputes HMM state probabilities at genotyped markers in the target haplotypes.ClassImpLSBaumimplements a Baum hidden Markov model forward and backward algorithms for computing HMM state probabilities at genotyped markers using IBS-matched reference haplotypes.ClassImpStatesidentifies a list of pseudo-reference haplotypes for a target haplotype.ClassImputeRecBuildercontains methods for constructing and printing a VCF record in VCF 4.3 format.ClassImputedVcfWriterwrites observed and imputed genotypes to a VCF output file.ClassRefHapHashstores a hash code for each haplotype in a sublist of reference haplotypes.ClassStateProbsstores a subset of Li and Stephens HMM states and associated probabilities for a target haplotype.ClassStateProbsFactorystores HMM state probabilities that that can be used to imputed impute missing HMM state probabilities using linear interpolation.