Genotype Likelihood based Allele Frequency

From Genome Analysis Wiki
Revision as of 15:54, 3 August 2015 by Atks (talk | contribs) (→‎Derivation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Introduction

Allele frequency is an important statistic in the study of genetic variants. This page details EM algorithms to estimate allele frequencies from genotype likelihoods in NGS data.

Estimation of Genotype Frequencies without assuming HWE

This is an EM algorithm to estimate the genotype frequencies without assuming HWE. The posterior probability of the genotype given the reads for individual k () for the th iteration is given by:

where denotes the genotype composed of alleles and . indexes the individuals from to . The initial genotype probability is given by:

where is the number of alleles. is the number of genotypes possible for alleles. So we are simply starting with equal frequency estimate guesses for each genotype.

The E step equates the expectation of the genotype for individual k as:

The M step estimates the genotype frequency using the individual expected genotype counts:

This is repeated till the appropriate convergence criteria is achieved.

Estimation of Genotype Frequencies assuming HWE

In order to estimate allele frequencies under HWE assumption, the E step estimates the individual expected posterior allele count for each individual.

In the M step, the posterior genotype frequencies are derived from the computed genotype allele frequencies obtained in the E step assuming HWE.

This is repeated till the appropriate convergence criteria is achieved.

Used in

Hardy-Weinberg Likelihood Test statistic and Inbreeding Coefficient

Derivation

Adrian with much help from Hyun.

Implementation

This is implemented in vt.

Maintained by

This page is maintained by Adrian.