parallel smith waterman algorithm
play

Parallel Smith-Waterman Algorithm - Local Sequence Alignment - - PowerPoint PPT Presentation

Parallel Smith-Waterman Algorithm - Local Sequence Alignment - myson @ postech.ac.kr CSE700-PL @ POSTECH Programming Language Laboratory p.1/14 Outline Smith-Waterman algorithm How to parallelize? Parallel Smith-Waterman algorithm A


  1. Parallel Smith-Waterman Algorithm - Local Sequence Alignment - myson @ postech.ac.kr CSE700-PL @ POSTECH Programming Language Laboratory – p.1/14

  2. Outline Smith-Waterman algorithm How to parallelize? Parallel Smith-Waterman algorithm A wavefront algorithm A scalable algorithm Variants of a wavefront algorithm Programming Language Laboratory – p.2/14

  3. Smith-Waterman Algorithm Local sequence alignment Sequence similarity comparison ex) S= ATAGCT and T= GATATGCA S = -ATA-GCT T = GATATGCA Programming Language Laboratory – p.3/14

  4. Smith-Waterman Algorithm (cont.) 1. Making a similarity matrix 2. Identifying the optimal alignment G A T A T G C A − − 0 0 0 0 0 0 0 0 0 − 0 0 − 1 0 − 1 0 0 0 − 1 A 0 0 0 − 2 0 − 2 0 0 0 T 0 0 − 1 0 − 3 − 1 − 1 0 − 1 A 0 − 1 0 0 − 1 − 2 − 2 0 0 G 0 0 0 0 0 0 − 1 − 3 − 1 C 0 0 0 − 1 0 − 1 0 − 1 − 2 T Programming Language Laboratory – p.4/14

  5. Similarity Matrix |S| = n, |T| = m Programming Language Laboratory – p.5/14

  6. Similarity Matrix (cont.) #define Match (-1) #define Mismatch 1 #define Gap 2 Score ( i, j ) = ( S[ i ] == T[ j ] ? Match : Mismatch ) A[ i ][ j ] = min (0, A[ i-1 ][ j ] + Gap , A[ i ][ j-1 ] + Gap , A[ i-1 ][ j-1 ] + Score ( i, j )) Programming Language Laboratory – p.6/14

  7. Similarity Matrix (cont.) A[ i ][ j ] = min (0, A[ i-1 ][ j ] + Gap , A[ i ][ j-1 ] + Gap , A[ i-1 ][ j-1 ] + Score ( i, j )) Programming Language Laboratory – p.7/14

  8. How to parallelize? Any idea. . . ? Programming Language Laboratory – p.8/14

  9. Parallel SW - Algorithms A wavefront algorithm Programming Language Laboratory – p.9/14

  10. Parallel SW - Algorithms (cont.) A scalable algorithm Programming Language Laboratory – p.10/14

  11. Parallel SW - Algorithms (cont.) Variants of a wavefront algorithm - 1 Programming Language Laboratory – p.11/14

  12. Parallel SW - Algorithms (cont.) Variants of a wavefront algorithm - 2 Programming Language Laboratory – p.12/14

  13. How to parallelize? Any idea. . . ? Programming Language Laboratory – p.13/14

  14. End Any Questions. . . ? Programming Language Laboratory – p.14/14

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend