Presentation is loading. Please wait.

Presentation is loading. Please wait.

Scalable Algorithms for Analysis of Genomic Diversity Data Bogdan Paşaniuc Department of Computer Science & Engineering University of Connecticut.

Similar presentations


Presentation on theme: "Scalable Algorithms for Analysis of Genomic Diversity Data Bogdan Paşaniuc Department of Computer Science & Engineering University of Connecticut."— Presentation transcript:

1 Scalable Algorithms for Analysis of Genomic Diversity Data Bogdan Paşaniuc Department of Computer Science & Engineering University of Connecticut

2 Main form of variation between individual genomes: single nucleotide polymorphisms (SNPs) High density in the human genome:  1x10 7 out of 3  10 9 base pairs Vast majority bi-allelic  0/1 encoding Single Nucleotide Polymorphisms … ataggtcc C tatttcgcgc C gtatacacggg A ctata … … ataggtcc G tatttcgcgc C gtatacacggg T ctata … … ataggtcc C tatttcgcgc C gtatacacggg T ctata …

3 Haplotypes and Genotypes Haplotype: description of SNP alleles on a chromosome  0/1 vector: 0 for major allele, 1 for minor Diploids: two homologous copies of each autosomal chromosome  One inherited from mother and one from father Genotype: description of alleles on both chromosomes  0/1/2 vector: 0 (1) - both chromosomes contain the major (minor) allele; 2 - the chromosomes contain different alleles 021200210 011000110 001100010 + two haplotypes per individual genotype

4 Introduction Haplotype data  exact DNA sequence  function Haplotypes  increased power of association Directly determining haplotype data is expensive and time consuming Cost effective high-throughput technologies to determine genotype data Need for computational methods for inferring haplotypes from genotype data: genotype phasing problem

5 Outline Background on genomic diversity The genotype phasing problem Hidden Markov Model of Haplotype Diversity Genotype Imputation DNA Barcoding Conclusions

6 Genotype Phasing For a genotype with k 2’s there are 2 k-1 possible pairs of haplotypes explaining it g: 0010212 ? h1:0010111 h2:0010010 h3:0010011 h4:0010110 Computational approaches to genotype phasing  Statistical methods: PHASE, Phamily, PL, GERBIL …  Combinatorial methods: Parsimony, HAP, 2SNP, ENT …

7 Minimum Entropy Genotype Phasing Phasing – function f that assigns to each genotype g a pair of haplotypes (h,h’) that explains g Coverage of h in f – number of times h appears in the image of f Entropy of a phasing: Minimum Entropy Genotype Phasing [Halperin&Karp 04]: Given a set of genotypes, find a phasing with minimum entropy

8 ENT Algorithm Initialization Start with random phasing Iterative improvement step While there exists a genotype whose re-phasing decreases the entropy, find the genotype that yields the highest decrease in entropy and re-phase it Min Entropy Objective is uninformative for long genotypes  each haplotype compatible with 1 genotype  all haplotypes have coverage of 1  entropy of all phasings = -log(1/2G)

9 Overlapping Window approach Entropy is computed over short windows of size l+f  l “locked” SNPs previously phased  f “free” SNPs are currently phased locked free …4321g1gn…4321g1gn … … Only phasings consistent with the l locked SNPs are considered

10 Effect of Window Size

11 Experimental setup (1) International HapMap Project, Phase II datasets  3.7 million SNP loci  3 populations:  CEU, YRI: 30 trios  JPT+CHB: 90 unrelated individuals  Reference haplotypes obtained using PHASE Accuracy  Relative Genotype Error (RGE): percentage of missing genotypes inferred differently as reference method  Relative Switching Error (RSE): number of switches needed to convert inferred haplotype pairs into the reference haplotype pairs

12 Experimental setup (2) Compared algorithms  ENT  2SNP [Brinza&Zelikovsky 05]  Pure Parsimony Trio Phasing (ILP) [Brinza et al. 05]  PHASE [Stephens et al 01]  HAP [Halperin&Eskin 04]  FastPhase [Scheet&Stephens 06]

13 Results on HapMap Phase II Panels Averages over the 22 chromosomes Runtime:  ENT  few hours  PHASE  months of CPU time on cluster of 238 nodes

14 Results on [Orzack et al 03] dataset [Orzack et al. 03]  80 unrelated genotypes over 9 SNPs  Haplotypes determined experimentally Ranking of algorithms remains the same Slight underestimation of true error rate

15 Effect of pedigree information

16 Outline Background on genomic diversity The genotype phasing problem Hidden Markov Model of Haplotype Diversity Genotype Imputation DNA Barcoding Conclusions

17 Founder Haplotypes Haplotypes in the current population arose from small number of founder haplotypes by mutation and recombination events Obtained using HaploVisual www.cs.helsinki.fi/u/prastas/haplovisual/

18 HMM Model Similar to models proposed by [Schwartz 04, Rastas et al. 05, Kimmel&Shamir 05, Scheet&Stephens 06] Models the ancestral haplotype population  Paths with high transition probability  “founder” haplotypes  Transitions from one founder to other founder  recombination events  Emissions  mutation events

19 HMM Training Previous works use EM training of HMM based on unrelated genotype data 2-step procedure: 1. Infer haplotypes using ENT  Uses all available pedigree information 2. Baum-Welch training on inferred haplotypes  Maximizes the likelihood of the haplotypes

20 Maximum Probability Genotype Phasing Phase G as pair (h 1,h 2 ) = argmax P(h 1 )P(h 2 ) Maximum phasing probability: How hard is to compute maximum phasing probability in the HMM?  Conjectured to be NP-hard [Rastas et al 07] Theorem  Cannot approximate P(G) within O(n 1/2 -  ), unless ZPP=NP, where n is the number of SNP loci

21 Complexity of Computing Maximum Phasing Probability Reduction from Max Clique  Transitions  1,1/2  Initial transition 2 deg(v)+1(2) /α  All haps  prob 1/α

22 Complexity of Computing Maximum Phasing Probability H  representing clique of size k will be emitted along k paths  P(H) = k/α By construction H’ (complement of H) can be emitted along second block G = 22…22  P(G)=max(P(H)) 2 G has a clique of size k or more iff P(G) ≥ (k/α) 2 Maximum probability genotype phasing is NP- hard

23 Heuristic Decoding Algorithms Viterbi Decoding  Maximum probability of emitting a haplotype pair that explain G along two HMM paths  Efficiently computed using Viterbi’s algorithm Posterior Decoding  For each SNP choose the states that are most likely at that locus given the genotype G  Find most likely emissions at each SNP to explain G  Efficiently computed using forward and backward algorithm Sampling from the HMM posterior distribution  generate pairs of haplotypes that explain G conditional on the haplotype distribution represented by the HMM  Combine the sample into a single phasing

24 Greedy Likelihood Decoding Uses forward values computed by forward algorithm  f h (i,q) = the total probability of emitting the first i alleles of the haplotype h and ending up at state q at level i.  P(H|M)= ∑ f h (n,q) Constructs (h, h’) with (x,y) at SNP i, s.t. the probability of the phasing up to locus i, given the already determined phasing for the first i, is maximized 2 variants: left-to-right or right-to-left

25 Combined Greedy Likelihood decoding Left to right phasingRight to left phasing Combined phasing SNP i P(Comb. phasing at SNP i) = ∑ f h (i,q)b h (i,q) x ∑ f h’ (i,q)b h’ (i,q) SNP i that gives best improvement found in O(Kn) time given forward and backward values for the 4 haplotypes h h’ h h’

26 Tweaking a Phasing by Local Switching New phasing obtained by switching at SNP i P (new phasing) = ∑ f h (i,q) b h (i,q) x ∑ f h’ (i,q) b h’ (i,q) SNP i that gives best improvement found in O(Kn) time given forward and backward values for the 2 haplotypes Iterative 1-OPT procedure  While there exists a SNP that improves the likelihood of the phasing obtained by switching at that SNP, find the SNP that yields the highest increase and perform switching SNP i

27 Experimental Setup ADHD dataset  Chromosome X genotype data from the Genetic Association Information Network (GAIN) study on Attention Deficit Hyperactivity Disorder (ADHD)  958 parent-child trios from the International Multi-site ADHD Genetics (IMAGE) project  Phased the children as unrelated on a 50 SNP window Decoding alg. Tweaking Viterbi11.81411.571 Posterior26.73611.940 HMM Sampling15.32311.826 Greedy left to right12.15411.693 Greedy right to left13.28312.057 Greedy combined11.83811.510 Random phasing50.55914.764 Method Tweaking ENT13.51311.705 fastPHASE12.03511.231 PHASE v 2.110.39311.219 2SNP14.49711.729 BEAGLE r=111.86211.705 BEAGLE r=410.44211.304

28 Outline Background on genomic diversity The genotype phasing problem Hidden Markov Model of Haplotype Diversity Genotype Imputation DNA Barcoding Conclusions

29 Genome-wide case-control association studies Preferred method for finding the genetic basis of human diseases 1. Large number of markers (SNPs) typed in cases and controls 2. Statistical test of association  disease-correlated locus Disease causal SNPs unlikely to be typed directly  Limited coverage of current genotyping platforms  Vast number of SNPs present across the human genome

30 Genotype Imputation Imputation of genotypes at un-typed SNP loci  Powerful technique for increasing the power of association studies  Typed markers in conjunction with catalogs of SNP variation (e.g. HapMap)  predictors for SNP not present on the array Challenge: Optimally combining the multi-locus information from current + multi-locus variation from HapMap

31 HMM Based Genotype Imputation 1. Integrate the HapMap variation information into the HMM Train HMM using the haplotypes from the panel related to the studied population (e.g. CEU panel: Utah residents with ancestry from northern and western Europe) 2. Compute probabilities of missing genotypes given the typed genotype data g i is imputed as x, where

32 Related Problems Missing Data Recovery  Fill in the genotypes uncalled by the genotyping algorithm Genotype Error Detection and Correction  If g i is present, then the increase in likelihood obtained by replacing g i with x is:

33 Likelihood Computation P(G|M) = probability with which M emits any two haplotypes that explain G along any pair of paths. Computed in O(nK 3 ) by a 2-path extension of the forward algorithm followed by a factor K speed-up [Rastas07]

34 Experimental Setup WTCCC Dataset  Genotype data of the 1958 birth cohort from the The Welcome Trust Consortium genome-association study  1,444 individuals from this cohort were typed using both the Affymetrix 500k platform and a custom Illumina 15k platform Affymetrix data + CEU HapMap haplotypes used to impute genotypes at the SNP loci present of the Illumina chip and not on the Affymetrix chip The actual Illumina genotypes were then used to estimate the imputation accuracy

35 Results Estimates of the allele 0 frequencies based on Imputation vs. Illumina 15k

36 Results Accuracy and missing data rate for imputed genotypes for different thresholds. Dashed line = missing data rate Solid line = discordance rate

37 Effect of Errors and Missing Data Added additional 1% genotyping errors and 1% missing genotypes TP Rate = correctly flagged errors out of total errors inserted FP Rate = incorrectly flagged genotype out of total correct genotypes Error Correction Accuracy = correctly recovered out of flagged ones Error DetectionError CorrectionMissing Data RecoveryImputation TP Rate(%) FP Rate(%)Accuracy(%)Error Rate(%) EDC+MDR+IMP 69.460.2097.167.626.49 MDR+IMP ---7.726.63 IMP ----6.64

38 Outline Background on genomic diversity The genotype phasing problem Hidden Markov Model of Haplotype Diversity Genotype Imputation DNA Barcoding Conclusions

39 DNA barcoding Recently(2003) proposed by taxonomists as a tool for rapid species identification Use short DNA region as “fingerprint” for species Region of choice: cytochrome c oxidase subunit 1 mitochondrial gene ("COI", 648 base pairs long). Key assumption:  Existence of “barcoding gap”  Inter-species variability >> than intra-species variability

40 BOLD: The Barcode of Life Data Systems [Ratnasingham&Hebert07] http://www.barcodinglife.org Currently: 38,539 species, 388,582 barcodes

41 DNA barcoding challenges Efficient algorithms for species identification  Millions of species Meaningful confidence measures  BOLD identification system showed to have unclear confidence measures [Ekrem et al.07]: New species discovery Sample size optimization  #barcodes per species required  Barcode length  Barcode quality Number of regions required

42 Species identification problem Several methods proposed for assigning specimens to species  TaxI (Steinke et al.05), Likelihood ratio test (Matz&Nielsen06), BOLD-IDS(Ratnasingham&Hebert 07)… No direct comparisons on standardized benchmarks This work:  Direct comparison of methods from three main classes  Distance-based, tree-based, and statistical model-based  Explore the effect of repository size  #barcodes/species, #species Given repository containing barcodes from known species and a new barcode find its species

43 Methods Distance-based  Hamming distance, Aminoacid Similarity, Convex Score similarity, Tri-nucleotide frequency distance, Combined method Tree-based  Exemplar NJ [Meyer&Paulay05]  Profile NJ [Muller et al 04]  Phylogenetic transversal Statistical model-based  Likelihood ratio test [Matz&Nielsen06]  PWMs  Inhomogeneous Markov Chains

44 Inhomogeneous Markov Chain (IMC) Takes into account dependencies between consecutive loci  start A C T G A C T G A C T G A C T G … locus 1locus 2locus 3locus 4

45 Comparison of representative methods ACGBirdsBats GuyanaFish AustraliaCowries MIN-HD98.81%97.59%100.00%99.30%88.80% IMC95.27%97.23%100.00%99.58%89.83% Phylo93.29%92.33%98.55%99.30%81.00% Leave one out experiment Hesperidia of the ACG 1 [Hajibabaei M. et al, 05]: 4267 barcodes, 561 species Birds of North America [Kerr K.C.R. et al, 07]: 2589 barcodes, 656 species Bats of Guyana [Clare E.L. et al, 06]: 840 barcodes, 96 species Fishes of Australia Container Part [Ward et. al, 05]: 754 barcodes, 211 species Cowries [Meyer and Paulay, 05]: 2036 barcodes, 263 species

46 Accuracy vs Species size MIN-HD IMC Phylo

47 Accuracy vs. #Species

48 Conclusions Highly scalable method for genotype phasing  Several orders of magnitude faster than current methods  Phasing accuracy close to the best methods  Exploits all pedigree information available HMM model of haplotype diversity  Hardness result for genotype phasing  Improved decoding algorithms for phasing  Imputation of genotypes at un-typed SNPs DNA-barcoding  Introduced new methods for species identification  Comprehensive comparison to existing methods

49 Acknowledgments Prof. Ion Mandoiu Profs. Sanguthevar Rajasekaran, Alex Russell Sasha Gusev (Entropy phasing, DNA barcoding) Justin Kennedy (HMM Imputation and Error detection) James Lindsay, Sotiris Kentros (DNA barcoding)

50 References Genotype phasing:  B. Pasaniuc and I.I. Mandoiu. Highly scalable genotype phasing by entropy minimization. In Proc. 28th Annual International Conference of the IEEE Engineering in Medicine and Biology Society, pages 3482-3486, 2006.  A. Gusev, I.I. Mandoiu, and B. Pasaniuc. Highly scalable genotype phasing by entropy minimization. IEEE/ACM Trans. on Computational Biology and Bioinformatics 5, pp. 252- 261, 2008. HMM model, genotype imputation and error detection:  J. Kennedy, I.I. Mandoiu, and B. Pasaniuc. Genotype error detection using hidden Markov models of haplotype diversity. In Proc. 7th Workshop on Algorithms in Bioinformatics(WABI07) LNBI, pp 73-84, 2007.  J. Kennedy, I.I. Mandoiu, and B. Pasaniuc. GEDI: Genotype Error Detection and Imputation using Hidden Markov Models of Haplotype Diversity. (in preparation). DNA-barcoding:  B. Pasaniuc, S. Kentros and I.I. Mandoiu. DNA Barcode Data Analysis: Boosting Assignment Accuracy by Combining Distance- and Character-Based Classifiers, The DNA Barcode Data Analysis Initiative (DBDAI): Developing Tools for a New Generation of Biodiversity Data Workshop, 2006.  B. Pasaniuc, S. Kentros and I.I. Mandoiu. Model-based species identification using DNA barcodes, 39th Symposium on the Interface: Computing Science and Statistics, 2007.  B. Pasaniuc, A. Gusev, S. Kentros, J. Lindsay and I.I. Mandoiu. A Comparison of Algorithms for Species Identification Based on DNA Barcodes. 2nd International Barcode of Life Conference, Academia Sinica, Taipei, Taiwan, Sept. 17-21, 2007


Download ppt "Scalable Algorithms for Analysis of Genomic Diversity Data Bogdan Paşaniuc Department of Computer Science & Engineering University of Connecticut."

Similar presentations


Ads by Google