1 / 20

Regular Expression Constrained Sequence Alignment

Regular Expression Constrained Sequence Alignment. Abdullah N. Arslan Assistant Professor Computer Science Department. Outline. Sequence alignment Common frame-work DP solution Why constrained ? RE constrained sequence alignment Algorithm Concluding Remarks. Alignment Matrix.

anisa
Download Presentation

Regular Expression Constrained Sequence Alignment

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Regular Expression Constrained Sequence Alignment Abdullah N. Arslan Assistant Professor Computer Science Department

  2. Outline • Sequence alignment • Common frame-work • DP solution • Why constrained ? • RE constrained sequence alignment • Algorithm • Concluding Remarks

  3. Alignment Matrix

  4. Edit Graph

  5. Dynamic Programming Solution Hi,j: maximum score achieved at (i, j) where Hi,j = 0 whenever i=0 or j=0, Hn,m inO(nm) time, O(m) space

  6. DP Solution: Local Alignment Hi,j: similarity score achieved at (i, j) where Si,j = 0 whenever i=0 or j=0, max Hi,j inO(nm) time, O(m) space

  7. Dynamic Programming Formulation Affine gap penalties Penalty for a gap of length k is a+(k-1)b where Si,j = Fi,j = Ei,j = 0 when i=0 or j=0 max Hi,j O(nm) time, O(m) space

  8. The Definition of the Constrained LCS Problem • The contrained LCS (CLCS) problem • Given strings S1,S2, and P • Find lcs of S1 and S2 s.t. P is a subsequence of this lcs • Motivation: • Computing the homology of two biological sequences that have a specific part in common

  9. Constrained Sequence Alignment Problems • Constrained LCS • Tsai 2003, O(n2m2r) time • Chin et. al 2004, Arslan and Egecioglu 2004 • O(nmr) time • Edit-distance constrained sequence alignment • Arslan and Egecioglu 2004, O(dnmr) • Regular-expression constrained sequence alignment • Motivation: • Comet and Henry, 2002 • PROSITE patterns • This paper

  10. PROSITE patterns as constraints • PROSITE patterns are • Regular expressions with no Kleene closure • PROSITE database • e.g. [GA]-X(4)-G-K-[ST] • ATP/GTP-binding site motif A (P-loop) (PS00017) • Comet and Henry reward alignments • Regular expression constrained sequence alignment • Find a maximal alignment that includes a given RE

  11. Example: For [GA]-X(4)-G-K-[ST]

  12. Using Edit Graph: e.g. A(C+G)*(S+T)

  13. Automata for A(C+G)*(S+T)

  14. Some Details of Automata Construction • Equivalent NFA N to a given RE R • Construct from N a new NxN automaton • Moves on edit operations • (or equivalently on alignment columns) • States have weights • Interested in the weights of the final states after the alignment is complete

  15. Weighted Automaton • Initial weights are • Weight of (q0,q0) is initially 0 • Update new maximum scores at reachable states • Weights become in unreachable states • What are the maximum weights at the final states?

  16. Computations on Automata

  17. Complexity • Simulate automata based on DP solution • Each steps requires examining the trasition functions • Maintain a list of active (reachable) states • Update state weights as alignments are formed • Automaton Mi,j has the optimum weights

  18. Generalizations: Local Alignment & Affine gaps

  19. CONCLUSION • Introduced the regular expression constrained sequence alignment problem • Present an algorithm for the problem • Future work • Generalization of the problem for • Multiple sequence alignment • Multiple regular expressions as a constraint

  20. Thank You

More Related