Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

28
Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference Ion Mandoiu University of Connecticut CS&E Department

description

Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference. Ion Mandoiu University of Connecticut CS&E Department. Outline. Biological background Maximum likelihood tag SNP selection Maximum likelihood population haplotyping Ongoing and future work. - PowerPoint PPT Presentation

Transcript of Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

Page 1: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

Combinatorial Algorithms for Maximum Likelihood Tag SNP

Selection and Haplotype Inference

Ion Mandoiu

University of Connecticut

CS&E Department

Page 2: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

Outline

• Biological background

• Maximum likelihood tag SNP selection

• Maximum likelihood population haplotyping

• Ongoing and future work

Page 3: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

• Human Genome 3 109 base pairs

• Main form of variation between individual genomes: single nucleotide polymorphisms (SNPs)

– Single base changes in the genome sequence that occurs in a significant proportion (more than 1 percent) of the population

– Most SNPs are bi-allelic

• Total #SNPs 1 107

• Difference b/w any two individuals 3 106 SNPs ( 0.1% of entire genome)

Genomic Variation and SNPs

Page 4: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

• Diploid organisms: cells have two homologous sets of chromosomes

• Haplotype: description of SNP alleles on a chromosome– 0/1 vector, e.g., 00110101 (0 is for major, 1 is for minor allele)

• Genotype: combined description of SNP alleles on pairs of homologous chromosomes– 0/1/2 vector, e.g., 01122110 (0=0+0, 1=1+1, 2=0+1 or 1+0)– Each genotype with k 2’s can be explained by 2k-1 pairs of

haplotypes

Haplotypes and Genotypes

1 1 0 1

0 0 0 1

2 2 0 1

1 0 0 1

0 1 0 1

2 2 0 1

Page 5: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

• Limitations of current technologies: – High cost per (user selected) SNP

Tag SNP selection problem

– Find genotypes, not haplotypes Haplotype inference problem

• Effective solutions require combining accurate probabilistic models with scalable combinatorial optimization techniques!

Computational Challenges

Page 6: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

Outline

• Biological background

• Maximum likelihood tag SNP selection

• Maximum likelihood population haplotyping

• Ongoing and future work

Page 7: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

Two-Stage Sampling Methodology

• Pilot Study– All SNPs of interest are genotyped in a small sample of the

population– Common haplotypes are inferred using statistical methods– A set of tag SNPs is selected

• Population Study– Tag SNPs are genotyped in remaining population– Statistical methods are used to infer haplotypes over the tag SNPs– Haplotypes over the tag SNPs are extrapolated to full haplotypes

Page 8: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

Haplotype pairs (tag SNPs)

Haplotype pairs (all SNPs)

Sample haplotypes (with frequencies)

Remaining PopulationPopulation Sample

Tag SNP Set

Genotypes (tag SNPs)

Extrapolation

PhasingPhasing

Tag SNP Selection

Pilot Study Population Study

Flow 1: Haplotype-Extrapolation

Genotypes (all SNPs)

Page 9: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

Genotypes (all SNPs)

Haplotype pairs (all SNPs)

Sample haplotypes (with frequencies)

Remaining PopulationPopulation Sample

Tag SNP Set

Genotypes (tag SNPs)

Phasing

ExtrapolationPhasing

Tag SNP Selection

Pilot Study Population Study

Flow 2: Genotype-Extrapolation

Genotypes (all SNPs)

Page 10: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

Previous Works on Tag SNP Selection• Statistical correlation based methods

– Poor control over the number of tag SNPs

• [Bafna et al. 03] Informative SNP Set Problem– Find set of k SNPs with maximum “informativeness”

• [Sebastiani et al. 03] Best Enumeration of SNP Tags (BEST) – Finds minimum number of SNPs that distinguishes all given haplotypes

– No control over the number of tag SNPs!

Page 11: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

Fully Informative Tag SNP Set Selection by Integer Programming

• Given: haplotypes h1, h2, …, hm over n SNPs

• Find: minimum number of tag SNPs

• Such that: every two distinct haplotypes differ in at least one tag SNP

Integer Program Formulation• 0/1 variable xj for every SNP

- xj = 1 if SNP j is selected as a tag SNP- xj = 0 otherwise

• Can be solved efficiently using general purpose solvers such as CPLEX - In practice significantly faster than BEST

miixtsjhjhjj

ii

'1,1..)()(: '

n

jjxMin

1

Page 12: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

Extrapolation Approaches• [Halperin et al. 05]

– Each SNP genotype predicted individually

– Only immediate neighbor tag SNPs used in prediction

• [He&Zelikovsky 06] – Each SNP genotype predicted individually

– All tag SNPs used in prediction

• Maximum likelihood– Pick the most likely full genotype compatible with short

genotype over tag SNPs

– Full genotype predicted in a single step

Page 13: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

Tag Selection for Maximum Likelihood Genotype Extrapolation

Idea: Select K tag SNPs maximizing correct prediction probability

h1

h2

hn

h3

Tag SNP 1

Tag SNP 2

Page 14: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

miziy

miiyx

Kx

zp

iii

ii

iijgjgj

j

n

jj

miii

ii

1,)1(

'1,

s.t.

Max

'1',

',)(:

1

1

'

Tag Selection for Maximum Likelihood Genotype Extrapolation

Page 15: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

• Synthetic datasets generated following [Forton et al. 05]- 2 populations (European and West African) + 2 genomic regions (IL8 and 5q31)- For each of the 4 populations, we used haplotypes and frequencies inferred in [Forton et al. 05] from the real data to generate 5 datasets containing between 200 and 1000 individuals- Fixed block size of 10 SNPs- For each dataset we picked 5 random samples with size 50

• Maximum likelihood (ML) flows 1 and 2 were compared to the Multivariate Linear Regression (MLR) algorithm of [He&Zelikovsky 06]

-Genotype frequencies estimated from haplotype frequencies used to generate the datasets (pop), respectively from haplotype frequecies inferred from sample using PHASE (phase)

Experimental Setup

Page 16: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

Haplotype Accuracy

0

20

40

60

80

100

120

1 2 3 4 5 6 7 8 9

ML2-pop

ML2-phase

MLR

Page 17: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

Genotype Accuracy

0

20

40

60

80

100

120

1 2 3 4 5 6 7 8 9

ML2-pop

ML2-phase

MLR

Page 18: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

Outline

• Biological background

• Maximum likelihood tag SNP selection

• Maximum likelihood population haplotyping

• Ongoing and future work

Page 19: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

Population Haplotyping Problem

Given the set G of genotypes observed in a population of individuals, infer a set H of haplotypes explaining G

Numerous approaches: entropy minimization, perfect phylogeny, Bayesian networks, pure parsimony, …

Maximum likelihood approach:

1. Estimate for each haplotype h its probability ph in the population under study

2. Find set H that explains G and has maximum likelihood

Page 20: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

11012201

•Haplotypes graph vertices - Weight of vertex h = -log(ph)

•Genotypes edge colors- Edge (h, h’) with color g iff g can be explained by haplotypes h and h’

Graph Theoretical Reformulation

Minimum Weight Multi-Colored Subgraph Problem (MWMCSP): Find min-weight set of vertices that induce at least one edge of each given color

0001

10012201

0101

1201 2101

Page 21: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

Approximation Algorithms•[Lancia et al. 02]

- Algorithms with approximation factors of (for unweighted version) and q, where n is the number of genotypes and q is the maximum number of haplotype pairs compatible with a genotype

•[Huang et al. 05]

- O(log n) approximation using semidefinite programming, but big O constant hides factor of q

•[Hassin&Segev 05]

- Greedy algorithm with approximation factor of

•[Hajiaghayi et al. 06]

- LP-rounding algorithm with approximation factor of ) log O( nq

Page 22: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

Integer Program Formulation • Extends formulation of [Gusfield 03]

•0/1 variable xu for every vertex u

- xu is set to 1 if u is selected, 0 otherwise

• 0/1 variable ye for every edge e

- ye set to 1 if e is induced by selected vertices, 0 otherwise

Page 23: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

Outline

• Biological background

• Maximum likelihood population haplotyping

• Maximum likelihood tag SNP selection

• Ongoing and future work

Page 24: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

Haplotype Frequency Estimation

• Accurate haplotype frequency estimation becomes key to overall accuracy of likelihood maximization methods

• Important to capture frequencies of haplotypes that may not appear in the sample – phasing and counting gives poor estimates

• Existing high-quality algorithms, e.g., Haplofreq [Halperin&Hazan 05], do not have good scaling runtime

Page 25: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

HMM-Based Frequency Estimation

• Hidden Markov Models (HMMs) are uniquely suited for modeling haplotype frequencies in a population

• Recently used very successfully in haplotype inference [Rastas et al. 05], disease association [Kimmel&Shamir 05]– Main computational bottleneck: HMM training based on genotype data

Page 26: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

HMM-Based Frequency Estimation

• Good compromise in context of two stage experiments– Sample consisting of trios (child, mother, and father)

– Sample phased using fast trio-aware phasing method (e.g., entropy phasing [Pasaniuc&M 06])

– HMM trained on resulting (highly accurate) haplotypes

– Haplotype frequencies computed efficiently using k-shortest paths algorithm

Page 27: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

Other Problems

• Identification of genotyping errors by likelihood maximization [Becker et al. 06]

• Pedigree reconstruction and kinship analysis

• Population structure

• Bicriteria tag SNP selection: likelihood maximization and genotyping cost optimization

Page 28: Combinatorial Algorithms for Maximum Likelihood Tag SNP Selection and Haplotype Inference

Acknowledgments

• J. Jun, B. Pasaniuc (UCONN)

• M.T. Hajiaghayi (CMU), K. Jain (Microsoft Research), L.C. Lau (U. Toronto), A. Russell (UCONN), V.V. Vazirani (Georgia Tech)

• Funding from NSF (CAREER Award IIS-0546457) and UCONN Research Foundation