02.08.2013 Views

Algorithms on Sequences

Algorithms on Sequences

Algorithms on Sequences

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Smith & Waterman algorithm (1)<br />

• local alignments between 2 sequences<br />

ccggttcttcttacaacgtgcataaagccagcacaagaaagt<br />

cgtagtacggtcattagaccccgcagtgagccttacgt<br />

ac.gtgcataa.agccag<br />

|| || ||| | | || |<br />

acggt.cattagaccccg<br />

Smith & Waterman algorithm (2)<br />

• The score S N,M is calculated from the<br />

recurrence equati<strong>on</strong> :<br />

0<br />

S I,J-1 - Gap<br />

S I,J = Max S I-1,J-1 + Sub (X I ,Y J )<br />

S I-1,J - Gap<br />

Dynamic<br />

Programming

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!