SlideShare una empresa de Scribd logo
1 de 23
Descargar para leer sin conexión
About optimal sequence alignment
   A short glimpse into bioinformatics




             April 24, 2010




                                         1 / 23
Pairwise sequence alignment

   Assumptions:
       sequences S1 and S2 are homologous, they share a common
       ancestor;
       differences between them are due to only two kinds of events,
       substitutions and insertion-deletions.
   Strategy:
       choose a scoring matrix (reward for match, penalty for
       mismatch and gap);
       compute the editing distance (number of matches,
       mismatches and gaps) to go from one sequence to the other;
       keep the alignment with the highest score.



                                                                      2 / 23
Needleman-Wunsch algorithm


      Aim: find the optimal global alignment of sequences S1 and S2
      Recursion rule:
                     
                     D(i − 1, j − 1) + score(S1 [i], S2 [j])
                     
        D(i, j) = max D(i − 1, j) + gap                          (1)
                     
                      D(i, j − 1) + gap
                     

      Scoring scheme: identity=0 transition=-2 transversion=-5
      gap=-10
      Sequences: S1 =TTGT S2 =CTAGG




                                                                       3 / 23
Fill the matrix


                  C   T   A   G   G




    T

    T

    G

    T




                                      4 / 23
Fill the matrix


                  C   T   A   G   G

        0

    T

    T

    G

    T




                                      5 / 23
Fill the matrix


                  C     T   A   G   G

        0   →     -10

    T

    T

    G

    T




                                        6 / 23
Fill the matrix


                  C         T     A   G   G

        0   →     -10   →   -20

    T

    T

    G

    T




                                              7 / 23
Fill the matrix


                  C         T         A         G         G

        0   →     -10   →   -20   →   -30   →   -40   →   -50

    T

    T

    G

    T




                                                                8 / 23
Fill the matrix


                  C         T         A         G         G

         0    →   -10   →   -20   →   -30   →   -40   →   -50
         ↓
    T   -10
         ↓
    T   -20
         ↓
    G   -30
         ↓
    T   -40




                                                                9 / 23
Fill the matrix


                  C         T         A         G         G

         0    →   -10   →   -20   →   -30   →   -40   →   -50
         ↓         ↓
    T   -10   →
         ↓
    T   -20
         ↓
    G   -30
         ↓
    T   -40




                                                                10 / 23
Fill the matrix


                  C         T         A         G         G

         0    →   -10   →   -20   →   -30   →   -40   →   -50
         ↓         ↓
    T   -10   →    -2
         ↓
    T   -20
         ↓
    G   -30
         ↓
    T   -40




                                                                11 / 23
Fill the matrix


                  C         T         A         G         G

         0    →   -10   →   -20   →   -30   →   -40   →   -50
         ↓         ↓         ↓         ↓         ↓         ↓
    T   -10   →    -2   →   -10   →   -20   →   -30   →   -40
         ↓
    T   -20
         ↓
    G   -30
         ↓
    T   -40




                                                                12 / 23
Fill the matrix


                  C         T         A         G         G

         0    →   -10   →   -20   →   -30   →   -40   →   -50
         ↓         ↓         ↓         ↓         ↓         ↓
    T   -10   →    -2   →   -10   →   -20   →   -30   →   -40
         ↓         ↓         ↓         ↓         ↓         ↓
    T   -20   →         →         →         →         →
         ↓        ↓         ↓         ↓         ↓         ↓
    G   -30   →         →         →         →         →
         ↓        ↓         ↓         ↓         ↓         ↓
    T   -40   →         →         →         →         →




                                                                13 / 23
Fill the matrix


                  C         T         A         G         G

         0    →   -10   →   -20   →   -30   →   -40   →   -50
         ↓         ↓         ↓          ↓         ↓        ↓
    T   -10   →    -2   →   -10   →   -20   →   -30   →   -40
         ↓         ↓         ↓          ↓         ↓        ↓
    T   -20   →   -12   →    -2   →   -12   →   -22   →   -32
         ↓         ↓         ↓          ↓         ↓        ↓
    G   -30   →   -22   →   -12   →    -4   →   -12   →   -22
         ↓         ↓         ↓          ↓         ↓        ↓
    T   -40   →   -32   →   -22   →   -14   →    -9   →   -17




                                                                14 / 23
Traceback


                 C         T         A         G         G

        0    →   -10   →   -20   →   -30   →   -40   →   -50
        ↓         ↓         ↓         ↓         ↓         ↓
   T   -10   →    -2   →   -10   →   -20   →   -30   →   -40
        ↓         ↓         ↓         ↓         ↓         ↓
   T   -20   →   -12   →    -2   →   -12   →   -22   →   -32
        ↓         ↓         ↓         ↓         ↓         ↓
   G   -30   →   -22   →   -12   →    -4   →   -12   →   -22
        ↓         ↓         ↓         ↓         ↓         ↓
   T   -40   →   -32   →   -22   →   -14   →    -9   →   -17




                                                               15 / 23
Traceback


                 C         T         A         G         G

        0    →   -10   →   -20   →   -30   →   -40   →   -50
        ↓         ↓         ↓         ↓         ↓         ↓
   T   -10   →    -2   →   -10   →   -20   →   -30   →   -40
        ↓         ↓         ↓         ↓         ↓         ↓
   T   -20   →   -12   →    -2   →   -12   →   -22   →   -32
        ↓         ↓         ↓         ↓         ↓         ↓
   G   -30   →   -22   →   -12   →    -4   →   -12   →   -22
        ↓         ↓         ↓         ↓         ↓         ↓
   T   -40   →   -32   →   -22   →   -14   →    -9   →   -17




                                                               16 / 23
Traceback


                 C         T         A         G         G

        0    →   -10   →   -20   →   -30   →   -40   →   -50
        ↓         ↓         ↓         ↓         ↓         ↓
   T   -10   →    -2   →   -10   →   -20   →   -30   →   -40
        ↓         ↓         ↓         ↓         ↓         ↓
   T   -20   →   -12   →    -2   →   -12   →   -22   →   -32
        ↓         ↓         ↓         ↓         ↓         ↓
   G   -30   →   -22   →   -12   →    -4   →   -12   →   -22
        ↓         ↓         ↓         ↓         ↓         ↓
   T   -40   →   -32   →   -22   →   -14   →    -9   →   -17




                                                               17 / 23
Traceback


                 C         T         A         G         G

        0    →   -10   →   -20   →   -30   →   -40   →   -50
        ↓         ↓         ↓         ↓         ↓         ↓
   T   -10   →    -2   →   -10   →   -20   →   -30   →   -40
        ↓         ↓         ↓         ↓         ↓         ↓
   T   -20   →   -12   →    -2   →   -12   →   -22   →   -32
        ↓         ↓         ↓         ↓         ↓         ↓
   G   -30   →   -22   →   -12   →    -4   →   -12   →   -22
        ↓         ↓         ↓         ↓         ↓         ↓
   T   -40   →   -32   →   -22   →   -14   →    -9   →   -17




                                                               18 / 23
Traceback


                 C         T         A         G         G

        0    →   -10   →   -20   →   -30   →   -40   →   -50
        ↓         ↓         ↓         ↓         ↓         ↓
   T   -10   →    -2   →   -10   →   -20   →   -30   →   -40
        ↓         ↓         ↓         ↓         ↓         ↓
   T   -20   →   -12   →    -2   →   -12   →   -22   →   -32
        ↓         ↓         ↓         ↓         ↓         ↓
   G   -30   →   -22   →   -12   →    -4   →   -12   →   -22
        ↓         ↓         ↓         ↓         ↓         ↓
   T   -40   →   -32   →   -22   →   -14   →    -9   →   -17




                                                               19 / 23
Traceback


                 C         T         A         G         G

        0    →   -10   →   -20   →   -30   →   -40   →   -50
        ↓         ↓         ↓         ↓         ↓         ↓
   T   -10   →    -2   →   -10   →   -20   →   -30   →   -40
        ↓         ↓         ↓         ↓         ↓         ↓
   T   -20   →   -12   →    -2   →   -12   →   -22   →   -32
        ↓         ↓         ↓         ↓         ↓         ↓
   G   -30   →   -22   →   -12   →    -4   →   -12   →   -22
        ↓         ↓         ↓         ↓         ↓         ↓
   T   -40   →   -32   →   -22   →   -14   →    -9   →   -17




                                                               20 / 23
Traceback


                 C         T         A         G         G

        0    →   -10   →   -20   →   -30   →   -40   →   -50
        ↓         ↓         ↓         ↓         ↓         ↓
   T   -10   →    -2   →   -10   →   -20   →   -30   →   -40
        ↓         ↓         ↓         ↓         ↓         ↓
   T   -20   →   -12   →    -2   →   -12   →   -22   →   -32
        ↓         ↓         ↓         ↓         ↓         ↓
   G   -30   →   -22   →   -12   →    -4   →   -12   →   -22
        ↓         ↓         ↓         ↓         ↓         ↓
   T   -40   →   -32   →   -22   →   -14   →    -9   →   -17




                                                               21 / 23
Output



  Plot the optimal alignment:

  CTAGG
  *| |*
  TT-GT

  Score: -17
  Complexity in time: O(nm)
  Complexity in memory: O(nm)




                                22 / 23
Acknowledgments



  Bellman; Levenstein; Needleman and Wunsch; Sankoff and Sellers;
  Hirschberg; Smith and Waterman; Gotoh; Ukkonen, Myers and
  Fickett; and many others...


  Want to know more? start reading!
  http://lectures.molgen.mpg.de/online_lectures.html




                                                                   23 / 23

Más contenido relacionado

Destacado

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Destacado (20)

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 

Dynamic programming

  • 1. About optimal sequence alignment A short glimpse into bioinformatics April 24, 2010 1 / 23
  • 2. Pairwise sequence alignment Assumptions: sequences S1 and S2 are homologous, they share a common ancestor; differences between them are due to only two kinds of events, substitutions and insertion-deletions. Strategy: choose a scoring matrix (reward for match, penalty for mismatch and gap); compute the editing distance (number of matches, mismatches and gaps) to go from one sequence to the other; keep the alignment with the highest score. 2 / 23
  • 3. Needleman-Wunsch algorithm Aim: find the optimal global alignment of sequences S1 and S2 Recursion rule:  D(i − 1, j − 1) + score(S1 [i], S2 [j])  D(i, j) = max D(i − 1, j) + gap (1)  D(i, j − 1) + gap  Scoring scheme: identity=0 transition=-2 transversion=-5 gap=-10 Sequences: S1 =TTGT S2 =CTAGG 3 / 23
  • 4. Fill the matrix C T A G G T T G T 4 / 23
  • 5. Fill the matrix C T A G G 0 T T G T 5 / 23
  • 6. Fill the matrix C T A G G 0 → -10 T T G T 6 / 23
  • 7. Fill the matrix C T A G G 0 → -10 → -20 T T G T 7 / 23
  • 8. Fill the matrix C T A G G 0 → -10 → -20 → -30 → -40 → -50 T T G T 8 / 23
  • 9. Fill the matrix C T A G G 0 → -10 → -20 → -30 → -40 → -50 ↓ T -10 ↓ T -20 ↓ G -30 ↓ T -40 9 / 23
  • 10. Fill the matrix C T A G G 0 → -10 → -20 → -30 → -40 → -50 ↓ ↓ T -10 → ↓ T -20 ↓ G -30 ↓ T -40 10 / 23
  • 11. Fill the matrix C T A G G 0 → -10 → -20 → -30 → -40 → -50 ↓ ↓ T -10 → -2 ↓ T -20 ↓ G -30 ↓ T -40 11 / 23
  • 12. Fill the matrix C T A G G 0 → -10 → -20 → -30 → -40 → -50 ↓ ↓ ↓ ↓ ↓ ↓ T -10 → -2 → -10 → -20 → -30 → -40 ↓ T -20 ↓ G -30 ↓ T -40 12 / 23
  • 13. Fill the matrix C T A G G 0 → -10 → -20 → -30 → -40 → -50 ↓ ↓ ↓ ↓ ↓ ↓ T -10 → -2 → -10 → -20 → -30 → -40 ↓ ↓ ↓ ↓ ↓ ↓ T -20 → → → → → ↓ ↓ ↓ ↓ ↓ ↓ G -30 → → → → → ↓ ↓ ↓ ↓ ↓ ↓ T -40 → → → → → 13 / 23
  • 14. Fill the matrix C T A G G 0 → -10 → -20 → -30 → -40 → -50 ↓ ↓ ↓ ↓ ↓ ↓ T -10 → -2 → -10 → -20 → -30 → -40 ↓ ↓ ↓ ↓ ↓ ↓ T -20 → -12 → -2 → -12 → -22 → -32 ↓ ↓ ↓ ↓ ↓ ↓ G -30 → -22 → -12 → -4 → -12 → -22 ↓ ↓ ↓ ↓ ↓ ↓ T -40 → -32 → -22 → -14 → -9 → -17 14 / 23
  • 15. Traceback C T A G G 0 → -10 → -20 → -30 → -40 → -50 ↓ ↓ ↓ ↓ ↓ ↓ T -10 → -2 → -10 → -20 → -30 → -40 ↓ ↓ ↓ ↓ ↓ ↓ T -20 → -12 → -2 → -12 → -22 → -32 ↓ ↓ ↓ ↓ ↓ ↓ G -30 → -22 → -12 → -4 → -12 → -22 ↓ ↓ ↓ ↓ ↓ ↓ T -40 → -32 → -22 → -14 → -9 → -17 15 / 23
  • 16. Traceback C T A G G 0 → -10 → -20 → -30 → -40 → -50 ↓ ↓ ↓ ↓ ↓ ↓ T -10 → -2 → -10 → -20 → -30 → -40 ↓ ↓ ↓ ↓ ↓ ↓ T -20 → -12 → -2 → -12 → -22 → -32 ↓ ↓ ↓ ↓ ↓ ↓ G -30 → -22 → -12 → -4 → -12 → -22 ↓ ↓ ↓ ↓ ↓ ↓ T -40 → -32 → -22 → -14 → -9 → -17 16 / 23
  • 17. Traceback C T A G G 0 → -10 → -20 → -30 → -40 → -50 ↓ ↓ ↓ ↓ ↓ ↓ T -10 → -2 → -10 → -20 → -30 → -40 ↓ ↓ ↓ ↓ ↓ ↓ T -20 → -12 → -2 → -12 → -22 → -32 ↓ ↓ ↓ ↓ ↓ ↓ G -30 → -22 → -12 → -4 → -12 → -22 ↓ ↓ ↓ ↓ ↓ ↓ T -40 → -32 → -22 → -14 → -9 → -17 17 / 23
  • 18. Traceback C T A G G 0 → -10 → -20 → -30 → -40 → -50 ↓ ↓ ↓ ↓ ↓ ↓ T -10 → -2 → -10 → -20 → -30 → -40 ↓ ↓ ↓ ↓ ↓ ↓ T -20 → -12 → -2 → -12 → -22 → -32 ↓ ↓ ↓ ↓ ↓ ↓ G -30 → -22 → -12 → -4 → -12 → -22 ↓ ↓ ↓ ↓ ↓ ↓ T -40 → -32 → -22 → -14 → -9 → -17 18 / 23
  • 19. Traceback C T A G G 0 → -10 → -20 → -30 → -40 → -50 ↓ ↓ ↓ ↓ ↓ ↓ T -10 → -2 → -10 → -20 → -30 → -40 ↓ ↓ ↓ ↓ ↓ ↓ T -20 → -12 → -2 → -12 → -22 → -32 ↓ ↓ ↓ ↓ ↓ ↓ G -30 → -22 → -12 → -4 → -12 → -22 ↓ ↓ ↓ ↓ ↓ ↓ T -40 → -32 → -22 → -14 → -9 → -17 19 / 23
  • 20. Traceback C T A G G 0 → -10 → -20 → -30 → -40 → -50 ↓ ↓ ↓ ↓ ↓ ↓ T -10 → -2 → -10 → -20 → -30 → -40 ↓ ↓ ↓ ↓ ↓ ↓ T -20 → -12 → -2 → -12 → -22 → -32 ↓ ↓ ↓ ↓ ↓ ↓ G -30 → -22 → -12 → -4 → -12 → -22 ↓ ↓ ↓ ↓ ↓ ↓ T -40 → -32 → -22 → -14 → -9 → -17 20 / 23
  • 21. Traceback C T A G G 0 → -10 → -20 → -30 → -40 → -50 ↓ ↓ ↓ ↓ ↓ ↓ T -10 → -2 → -10 → -20 → -30 → -40 ↓ ↓ ↓ ↓ ↓ ↓ T -20 → -12 → -2 → -12 → -22 → -32 ↓ ↓ ↓ ↓ ↓ ↓ G -30 → -22 → -12 → -4 → -12 → -22 ↓ ↓ ↓ ↓ ↓ ↓ T -40 → -32 → -22 → -14 → -9 → -17 21 / 23
  • 22. Output Plot the optimal alignment: CTAGG *| |* TT-GT Score: -17 Complexity in time: O(nm) Complexity in memory: O(nm) 22 / 23
  • 23. Acknowledgments Bellman; Levenstein; Needleman and Wunsch; Sankoff and Sellers; Hirschberg; Smith and Waterman; Gotoh; Ukkonen, Myers and Fickett; and many others... Want to know more? start reading! http://lectures.molgen.mpg.de/online_lectures.html 23 / 23