230 likes | 350 Views
Reference Assisted Nucleic Acid Sequence Reconstruction from Mass Spectrometry Data. Gabriel Ilie 1 , Alex Zelikovsky 2 and Ion M ă ndoiu 1 1 CSE Department, University of Connecticut 2 CS Department, Georgia State University. MassCLEAVE assay for MS-based nucleic acid sequence analysis.
E N D
Reference Assisted Nucleic Acid Sequence Reconstruction from Mass Spectrometry Data Gabriel Ilie1, Alex Zelikovsky2 and Ion Măndoiu1 1CSE Department, University of Connecticut 2CS Department, Georgia State University
MassCLEAVE assay for MS-based nucleic acid sequence analysis
Error model • Signed relative errors assumed to follow a normal distribution with mean 0, standard deviation σ for masses and σ’ for intensities • Two types of error incurred when matching compomer c to peak of mass m and intensity i(m): • Relative mass error • Relative intensity error:
Problem formulation Given: • Mass spectra MS • Reference sequence r including position of PCR primers • Maximum edit distance D • Standard deviations σ and σ’, tolerance parameter Find: • Target sequence t flanked by PCR primers that • is within edit distance D of r, and • yields a matching of compomers of CS(t) to masses of MS with minimum total relative error
Naïve Algorithm • Exhaustive search • Generate all sequences within an edit distance of D of the reference, and • Compute the minimum total relative error for matching the compomers of each of these sequences to the masses in MS. • The number of candidate sequences grows exponentially with D
3-Stage Algorithm • Identify regions of the reference sequence that are unambiguously supported by MS data • High probability to be present in the unknown target sequence • Branch-and-bound approach to fill in remaining gaps • Generates set of candidate sequences with compomers supported by MS data • Compute candidate sequences with minimum total relative error • Min-cost flow problem currently solved as linear program • With or without intensities
First stage: finding strongly supported regions of the reference • Chebyshev’s inequality: • A detectable compomer c ϵ CSσ(s) is strongly matched to mass m ϵ MSσ(s) if: where ε = σ / 0.5 is set based on a user specified tolerance
First stage: finding strongly supported regions of the reference • A strong match between compomer c and mass m is unambiguous if: • c has multiplicity of 1 in reference • c can be strongly matched only to m • m can be strongly matched only to c • The set M of unambiguous matches can be found efficiently by binary search
First stage: finding strongly supported regions of the reference • (c1, m1), . . . , (cn, mn) = unambiguous matches for cut base σ, indexed in non-decreasing order of relative errors • We iteratively apply Chebyshev’s inequality with tolerance to the running means of signed relative errors, • which are normally distributed with mean 0 and standard deviation σ /i0.5 • If Chebyshev’sinequality fails for index i, match(ci, mi) is removed from M
First stage: finding strongly supported regions of the reference • A position in the reference sequence has strong support if • All detectable compomers overlapping it can be strongly matched, and • At least one of these matches is in M (unambiguous + not removed) • Positions in PCR primers automatically marked as having strong support
Second stage: generating candidate targets by branch-and-bound • Reference regions with strong support assumed to be present in target • Gaps filled one base at a time, in left-to-right order, using branch-and-bound • Choice order: reference base, substitutions, deletion, insertions • Chebyshev test with tolerance applied torunning means of signed relative errors of closest matches • Search pruned when test failsor more than D mutations
Third stage: scoring candidates by linear programming • Objective: • Minimize total relative error • Variables: • For each c ϵ CSσ and m ϵ MSσ, xc,m is set to 1 if c is matched to m, 0 otherwise (integrality follows from total unimodularity) • Constraints: • No missing peaks: each detectable compomer c ϵ CSσ(t) must be matched to one mass in MSσ • No extraneous peaks: each mass m ϵ MSσ must be matched to at least one detectable compomer c ϵ CSσ(t)
Simulation setup • Reference length: 100-500 bp • Reference sequences/targets • D=1: 10 random references, all sequences at edit distance 1 used as targets • D=2,3: 100 random reference-target pairs • Error free MS data: σ= σ’ = 0 • Noisy MS data: σ = 0.0001, σ’ =0-1 • Tolerance parameter: = 0.01
Branch-and-bound vs. Naïve(F-measure for D=1, error free data, w/o intensities)
Branch-and-bound speed-up(D=1, error free data, w/o intensities)
Results on noisy data (F-measure, D=1, σ= 0.0001, w/o intensities)
Effect of the number of mutations (F-measure, σ= 0.0001, w/o intensities)
Ongoing Work • Experiments on EPLD clone data • Branch-and-bound relaxation + penalty in LP objective to handle missing/extraneous peaks • Intensity data normalization: correct for mass and base composition effects