48
1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering Department

1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

  • View
    216

  • Download
    0

Embed Size (px)

Citation preview

Page 1: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

1

Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems

Ion MandoiuUniversity of Connecticut

Computer Science & Engineering Department

Page 2: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

2

Motivation Early detection, early response: rapid identification of pathogens causing epidemic outbreaks enables faster containment Emerging large scale systems for infectious agent detection:

- BioWatch [DHS]- Human Virome project [Anderson et al. 03]

Genomic-based assays are becoming the method of choice for early detection and identification

- Sequence data increasingly available - Broad detection spectrum, fast, easy to automate- Reduced deployment and update overhead

Besides resolving numerous technological challenges, novel bioinformatics tools will be needed to assist in assay design and optimization

Page 3: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

3

Can Computer Scientists Really Help?

They’ve done it before: BLAST, Human Genome assembly Computer virus detection

- more than 68,000 viruses detected in real-time- daily updates of computer virus signatures- techniques used by computer anti-virus programs can be used to speed-up genomic-based detection assays

Page 4: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

4

Overview

Generic Detection System Architecture The String Barcoding Problem Primer Set Selection for Multiplex PCR Conclusions

Page 5: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

5

Detection System Requirements• Fast, highly specific pathogen detection and

identification without compromising sensitivity (low false alarm rate)

• Ability to work with trace amounts of genetic material• Fully automated operation -- should require minimal

human intervention• Parallel detection of a large number of pathogens• Discrimination between pathogens and non-pathogenic

organisms• Low operating cost• Easy to upgrade

Page 6: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

6

Key System Components• Selection of distinguishing oligonucleotides based on

available genomic sequences • Selective amplification of distinguishing sequences

from environmental sample• Hybridization-based detection of present distinguishers• Pathogen identification by comparison with stored

signatures/barcodes of known pathogens

Page 7: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

7

Generic System Architecture

Multiplex PCR

PCR Machine

Mixture of (degenerate) primers

Set of (degenerate) primers

Mixture of (degenerate) primers

Single-base extension and hybridization with universal tag array

Amplified DNA sequences from sample

Sample containing minute tracesof pathogen genetic material

Probes obtained by ligating distinguisher

reporters and anti-tags

… …

Barcodes of pathogens present

in sample

Fluorescentnucleotides

Multiplex PCR Mixture of (degenerate) primers

Multiplex PCR

Page 8: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

8

SBE & Hybridization with Universal Tag Arrays

+

Page 9: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

9

Overview

Generic Detection System Architecture The String Barcoding Problem

-Problem Formulation

-Integer Program-Fast heuristics

Primer Set Selection for Multiplex PCR Conclusions

Page 10: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

10

Motivation

• Need for rapid virus detection– Given

• Virus with unknown identity • Database of known viruses

– Problem• Identify unknown virus quickly

– Ideal solution• Have sequence of

– Viruses in database– Unknown virus

• Solution– use BLAST (or any sequence similarity program/algorithm)

Page 11: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

11

Real World

• Only have sequence for pathogens in database– Not possible to quickly sequence an unknown virus

• Can quickly test for presence of short substrings in unknown virus (substring tests) using, e.g., hybridization + SBE

• New Idea (Borneman et al.’01, Rash&Gusfield’02)– String Barcoding: use substring tests to uniquely

identify each virus in the database

Page 12: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

12

Problem Definition

Given:

Genomic sequences g1,…, gn

Find:

Minimum number of distinguisher strings t1,…,tk

Such that:

For every gi gj, there exists a string tl which is the Watson-Crick complement for a substring of gi or gj, but not of both

- At least log2n distinguishers needed

- Fingerprints n distinguishers

- Much fewer than n distinguishers needed in practice (close to log2n)

Page 13: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

13

Small Example

• Given sequences:1. cagtgc

2. cagttc

3. catgga

• Feasible set of distinguishers: {tg, atgga}

tg atgga

cagtgc 1 0

cagttc 0 0

catgga 1 1

0/1 row vectors: unique barcode for each pathogen

Page 14: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

14

Computational Complexity

• [Berman et al.’04] Cannot be approximated within a factor of (1-)ln(n) unless NP=DTIME(nloglog(n))

Page 15: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

15

Integer Program Formulation• Basic Idea (Rash&Gusfield’02)

– Write problem as minimization of a linear function subject to linear constraints

– Variables restricted to take 0/1 values

• For our problem– One variable for each candidate distinguisher

• Value = 1 candidate is selected• Value = 0 candidate is not selected

– One constraint for each pair of strings in S• At least one good distinguisher chosen for each pair

– Objective Function• Minimize sum of variables (#selected candidates)

Page 16: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

16

Practical Implementation

• Key point: runtime needed to solve integer program depends on #variables

• Lots of variables can be removed:– Candidates that appear in all sequences– Sufficient to keep a single candidate among

those that appear in the same set of strings

• How to remove useless variables?– Rash&Gusfield’s method: use suffix trees

Page 17: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

17

Suffix Trees

• Key Properties of the suffix tree built for a set of strings S:– Rooted tree with character sequences labeling edges

– Tree nodes labeled with a subset of the original string IDs

– Every substring of original input set appears as a tree walk from root exactly once

Page 18: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

18

Suffix Tree Example

• Strings:1. cagtgc

2. cagttc

3. catgga

v1 - {1,2,3} v2 - {1,2,3} v3 - {3} v4 - {1} v5 - {3}

v6 - {1,2} v7 - {2} v8 - {1} v9 - {1,2,3} v10 - {1,2,3}

v11 - {1,2} v12 - {1} v13 - {2} v14 - {3} v15 - {1,2,3}

v16 - {2} v17 - {2} v18 - {1,3} v19 - {1} v20 - {3}

v21 - {1,2,3} v22 - {3} v23 - {2} v24 - {1,2} v25 - {1}

Page 19: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

19

Integer Program

MinimizeV18 + V22 + V11 + V17 + V8 #objective functionSuch thatV18 + V17 + V8 >= 1 #constraint to cover pair 1,2V22 + V11 + V8 >= 1 #constraint to cover pair 1,3V18 + V22 + V11 + V17 >= 1 #constraint to cover pair 2,3Binaries #all variables are 0/1V18 V22 V11 V17 V8End

tg (V18) atgga (V22)

cagtgc 1 0

cagttc 0 0

catgga 1 1

Page 20: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

20

Limitations of Integer Program Method

• Works only for moderately sized datasets • 50-150 sequences

• Average length ~1000 characters

• Over 4 hours needed to come within 20% of optimum

• Scalable Heuristics?

Page 21: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

21

Information Content Heuristic

• [Berman et al. 2004]– Keep track of the partition defined by distinguishers

selected so far 1

2

3

n-1n

Distinguisher 1

Distinguisher 2

Page 22: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

22

Information Content Heuristic

• [Berman et al. 2004]– Keep track of the partition defined by distinguishers

selected so far – In every step, choose candidate that reduces partition

entropy by largest amount• Initial entropy = log2(n!) n*log2n

• Final entropy = 0

Page 23: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

23

Information Content Heuristic

• [Berman et al. 2004]– Keep track of the partition defined by distinguishers

selected so far – In every step, choose candidate that reduces partition

entropy by largest amount• Initial entropy = log2(n!) n*log2n

• Final entropy = 0

• Theorem: Information Content Heuristic is always finding a #distinguishers within 1+ln(n) of optimum

Page 24: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

24

Limitations of ICH

• Real genomic data has degenerate nucleotides– Ambiguous sequencing– Single nucleotide polymorphisms

• For sequences with degenerate nucleotides there are three possibilities for distinguisher hybridization– Sure hybridization– Sure mismatch– Uncertain hybridization

No partition to work with!

Page 25: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

25

Simpler Greedy Heuristic• Setcover greedy:

– In every step, choose candidate that distinguishes the largest number of not yet distinguished pairs

• Distinguisher selection as setcover problem:– Elements to be covered are the pairs of sequences

– Each candidate distinguisher defines a set of pairs that it separates

– Problem: find minimum number of sets that cover all elements

• By a classical result, setcover greedy gives 2*ln(n) approximation; in practice as good as ICH

• Runtime is few seconds for Rash&Gusfield datasets

Page 26: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

26

Overview

Generic Detection System Architecture The String Barcoding Problem Primer Set Selection for Multiplex PCR

- Problem formulation

- Greedy and LP-rounding algorithm for primer set selection with uniqueness constraints

- Experimental results Conclusions

Page 27: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

27

The Polymerase Chain Reaction

Target Sequence

Primer 1Primer 25’

3’

5’

5’

3’

5’

3’

3’

PolymerasePrimers

Repeat 20-30 cycles

Page 28: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

28

Primer Pair Selection Problem

• Given:

• Genomic sequence around amplification locus

• Primer length k

• Amplification upperbound L

• Find: Forward and reverse primers of length k that hybridize within a distance of L of each other and optimize amplification efficiency (melting temperatures, secondary structure, cross hybridization, etc.)

L

Forward primer

Reverse primer

amplification locus

3'

3'

5'

5'

Page 29: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

29

Multiplex PCR• Multiplex PCR (MP-PCR)

– Multiple DNA fragments amplified simultaneously

– Boundaries of each amplification fragment still defined by two oligonucleotide primers

– A primer may participate in the amplification of multiple targets

• Primer set selection– Typically done by time-consuming trial and error

– An important objective is to minimize number of primers Reduced assay cost Higher effective concentration of primers higher

amplification efficiency Reduced unintended amplification

Page 30: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

30

Other Applications of Multiplex PCR• Spotted microarray synthesis [Fernandes&Skiena’02]

– Need unique pair of primers for each one of the n amplification products, but primers can be used multiple times

– Potential to reduce #primers from O(n) to O(n1/2)

• SNP Genotyping– Thousands of SNPs that must genotyped using hybridization

based methods (e.g., single-base extension)

– Selective PCR amplification needed to improve accuracy of detection steps (whole-genome amplification less appropriate)

– No need for unique amplification!

– Primer minimization is critical• Reduced cost

• Fewer multiplex PCR reactions, less mispriming

Page 31: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

31

Primer Set Selection Problem

• Given:

• Genomic sequences around each amplification locus

• Primer length k

• Amplification upper bound L

• Find:

• Minimum size set of primers S of length k such that, for each amplification locus, there are two primers in S hybridizing to the forward and reverse sequences within a distance of L of each other

• For applications requiring uniqueness: S should contain a unique pair of primers amplifying each each locus

Page 32: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

32

Previous Work

• Well-studied problem: [Pearson et al. 96], [Linhart & Shamir’02], [Souvenir et al.’03], etc.

• Almost all problem formulations decouple selection of forward and reverse primers– Cannot directly enforce constraints on amplification

product length! – To enforce bound of L on amplification length, select only

primers that hybridize within L/2 bases of desired target– In worst case, this method can increase the number of

primers by a factor of O(n) compared to the optimum

• Greedy set cover algorithm gives O(ln n) approximation factor for the “decoupled” formulation– Cannot find better approximation unless P=NP

Page 33: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

33

Previous Work (contd.)• [Fernandes&Skiena’02] model primer set selection

with uniqueness constraints as a minimum multicolored subgraph problem:– Vertices of the graph correspond to candidate primers– There is an edge colored by color i between primers u and

v if they hybridize within a distance of L of each other around i-th amplification locus

– Goal is to find minimum size set of vertices inducing edges of all colors

• Can be used to model length amplification constraints• [Lancia et al.’02] Trivial approximation algorithm: select 2

primers for each amplification target– O(n1/2) approximation since at least n1/2 primers required by every

feasible solution

Page 34: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

34

Integer Program Formulation• Variable xu for every vertex (candidate primer) u

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

• Variable ye for every edge e

- ye set to 1 if corresponding primer pair selected to amplify corresponding target

• Objective: minimize sum of xu’s

• Constraints:

- for each i, sum of ye’s over all e’s amplifying locus i is at least 1

- ye xu for every e incident to u

Page 35: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

35

Linear Program Relaxation• Integer program hard to solve exactly

• Can still solve efficiently the linear programming relaxation, in which variables are allowed to take fractional values

Page 36: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

36

LP-Rounding Algorithm

Theorem [Konwar et al.’04]: The LP-rounding algorithm finds a feasible solution at most O(m1/2lnn) times larger than the optimum, where m is the maximum color class size, and n is the number of nodes

For primer selection, m L2 approximation factor is O(Llnn)

Better approximation?- Unlikely for minimum multi-colored subgraph problem

(1) Solve linear programming relaxation

(2) Select node u with probability xu

(3) Repeat step 2 O(ln(n)) times and return selected nodes

Page 37: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

37

Selection w/o Uniqueness Constraints• Can be seen as a “simultaneous set covering” problem:

- The ground set is partitioned into n disjoint sets, each with 2L elements

- The goal is to select a minimum number of sets (== primers) that cover at least half of the elements in each partition

• Naïve modifications of the greedy set cover algorithm do not work

• Key idea: use potential function to measure progress towards fasibility. For primer selection, potential function counts the total number of elements that remain to be covered

• Initially, = nL

• For feasible solutions, = 0

Page 38: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

38

Greedy Approximation Algorithm

• Theorem: The greedy algorithm in returns a feasible primer set whose size is at most 1+ln ∆ times larger than the optimum, where ∆ is the maximum potential value decrease caused by a single primer

• For primer selection ∆ is equal to nL in the worst case, and is much smaller in practice– The number of primers selected by the greedy algorithm is at most ln(nL)

larger than the optimum

Potential-Function Driven Greedy Algorithm Select a primer that decreases potential function by the

largest amount (breaking ties arbitrarily) Repeat until feasibility is achieved

Page 39: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

39

Experimental Setting• Datasets

– Extracted from NCBI databases

– Randomly generated using uniform distribution

• Compared algorithms– G-FIX: greedy primer cover algorithm of Pearson et al.

• Primers restricted to be within L/2 bases of amplification locus

– G-VAR: naïve modification of G-FIX

• For each locus, first selected primer can be up to L bases away

• If first selected primer is L1 bases away from amplification locus, opposite sequence is truncated to a length of L- L1

– MIPS-PT: iterative beam-search heuristic of Souvenir et al.

– G-POT: potential function driven greedy algorithm

Page 40: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

40

Experimental Results, NCBI tests

#Targets

k

G-FIX(Pearson et al.)

G-VAR(G-FIX with dynamic

truncation)

MIPS-PT (Souvenir et al.)

G-POT(Potential- function

greedy)

#Primers CPU

sec

#Primers CPU

sec

#Primers CPU

sec

#Primers CPU

sec

20

8 7 0.04 7 0.08 8 10 6 0.10

10 9 0.03 10 0.08 13 15 9 0.08

12 14 0.04 13 0.08 18 26 13 0.11

50

8 13 0.13 15 0.30 21 48 10 0.32

10 23 0.22 24 0.36 30 150 18 0.33

12 31 0.14 32 0.30 41 246 29 0.28

100

8 17 0.49 20 0.89 32 226 14 0.58

10 37 0.37 37 0.72 50 844 31 0.75

12 53 0.59 48 0.84 75 2601 42 0.61

Page 41: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

41

#primers, as percentage of 2n (l=8)

n

Page 42: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

42

#primers, as percentage of 2n (l=10)

n

Page 43: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

43

#primers, as percentage of 2n (l=12)

n

Page 44: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

44

CPU Seconds (l=10)

n

Page 45: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

45

Overview

Generic Detection System Architecture The String Barcoding Problem Primer Set Selection for Multiplex PCR Conclusions

Page 46: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

46

Conclusions• Building the next-generation of pathogen detection systems will

require novel bioinformatics tools for genomic assay design, built around accurate mathematical models and powerful algorithmic techniques

• We have given improved algorithms for two critical optimizations: distinguisher selection for string barcoding, and primer set selection for multiplex PCR

Page 47: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

47

Ongoing Work• String Barcoding

– Probe mixtures as distinguishers

– Redundancy and error correcting properties

– Simultaneous detection of multiple pathogens

• Primer Set Selection– Improved hybridization models

– Practical validation

– Degenerate primers

• Universal Tag array design– Tag selection (Ben-Dor’00)

– Tag placement and embedding

– Assignment of reporter probes to anti-tags

• Partitioning into multiple multiplexed PCR reactions and multiple Universal Tag array hybridizations (Aumann et al. WABI’03)

Page 48: 1 Combinatorial Optimization Methods for Reliable Genomic-Based Detection Systems Ion Mandoiu University of Connecticut Computer Science & Engineering

48

Acknowledgments

• B. DasGupta, K. Konwar, A. Russell, A. Shvartsman

• UCONN Research Foundation