A T C
A T C 1 First Place a 1 at every match
A T C 1
INDEL -INSERTION OR DELETION (CANNOT TELL WHICH HAPPENED) 1 INDEL -INSERTION OR DELETION (CANNOT TELL WHICH HAPPENED)
SCORING ALIGNMENT
Scoring Alignment Cumulative Score Allows to trace back the best alignment Do this by summing the scores as you go n,j n+1,j+1 n+1,j+2 n+2,j+1 START HERE
Scoring Alignment Cumulative Score Allows to trace back the best alignment Do this by summing the scores as you go n,j n+1,j+1 n+1,j+2 n+2,j+1 START HERE
Scoring Alignment Cumulative Score Score entered in position n, j will be Sn,j + Max score of j [n+1,j+1 OR n+1,j+2 OR n+2,j+1] n,j n+1,j+1 n+1,j+2 n+2,j+1 n
Scoring Alignment Cumulative Score Score will be Sn,j + Max score of j [n+1,j+1 OR n+1,j+2 OR n+2,j+1] n,j n+1,j+1 n+1,j+2 n+2,j+1 n If more sequences aligned cumulative score is derived from continued row or column.
Score value at position n,j The value entered at position is the sum of the value assigned for the match or mismatch at that position and the score derived from the best possible previous alignment. n,j n+1,j+1 n+1,j+2 n+2,j+1
A T C 1
A T C 1 O FILL OUTER ALIGNMENTS
A T C 1
A T C 1 START TO FILL IN CUMULATIVE SCORES
A T C 1 A T
A T C 1 A T +
A T C 1
A T C 1 A
A T C 1 A
A T C 1 A T +
A T C 1 2 A T +
A T C 1 1* 2
A T C 1 1* 2 WHY A 1?
ADDING MAXIMUM VALUE FOR CUMULATIVE SCORE 1 1* 2 ADDING MAXIMUM VALUE FOR CUMULATIVE SCORE
ADDING MAXIMUM VALUE FOR CUMULATIVE SCORE 1 1* 2 ADDING MAXIMUM VALUE FOR CUMULATIVE SCORE
ADDING MAXIMUM VALUE FOR CUMULATIVE SCORE 1 1* 2 CATC A.T ATC A.T ADDING MAXIMUM VALUE FOR CUMULATIVE SCORE
ADDING MAXIMUM VALUE FOR CUMULATIVE SCORE 1 1* 2 INSERTING A GAP GIVES ALIGNMENT SCORE OF 1 CATC A.T ADDING MAXIMUM VALUE FOR CUMULATIVE SCORE
A T C 1 2
A T C 1 2
A T C 1 0+1 2
A T C 1 2
A T C 1 2
A T C 1 2 +
A T C 1 2 +
A T C 1 2
A T C 1 2
A T C 1 2
A T C 1 2
A T C 1 2
A T C 1 2
A T C 1 1+2 2
A T C 1 3 2
A T C 1 3 2
A T C 1 3 2
A T C 1 0+2 3 2
What does this value mean in terms of an alignment? C 1 2 3 What does this value mean in terms of an alignment?
A T C 1 2 3 T C START BY ALIGNING THESE RESIDUES
A T C 1 2 3 T C A C * A Inserting a gap
A T C 1 2 3 T C A T C * A T
A T C 1 2 3 Two matches in this alignment, so it is scored as 2 2 3 Two matches in this alignment, so it is scored as 2 T C A T C * A T
A T C 1 2 3
A T C 1 2 3
A T C 1 2 3
A T C 1 2 3
A T C 1 2 3 +
A T C 1 2 3
A T C 1 2 3
A T C 1 2 3 Only add a single maximum value
A T C 1 2 3
A T C 1 2 3 +
A T C 1 2 3
A T C 1 2 3
A T C 1 2 3
A T C 1 2 3
A T C 1 4 2 3
A T C 1 4 2 3
A T C 1 4 2 3
A T C 1 0+3 4 2 3
A T C 1 3 4 2
A T C 1 3 4 2
A T C 1 3 4 2
A T C 1 3 4 2
A T C 1 3 4 2
A T C 1 3 4 2
A T C 1 3 4 2
A T C 1 3 4 2
A T C 1 3 4 2
A T C 1 0+2 3 4 2
A T C 1 2 3 4
A T C 1 2 3 4
A T C 1 2 3 4
A T C 1 0+3 2 3 4
A T C 1 3 2 4
A T C 1 3 2 4
A T C 1 3 2 4
A T C 1+4 3 2 1 4
A T C 5 3 2 1 4
A T C 5* 3 2 1 4 Trace Back -start with maximum score
A A A T C 5* 3 2 1 4 Trace Back -start with maximum score
A A A T C 5* 3 2 1 4 Next highest in diagonal
A T A T A T C 5* 3 2 1 4 Next highest in diagonal
A T C A T C A T C A T * A T C 5* 3 2 1 4 COMPLETE ALIGNMENT
A G T C 7 5 4 3 2 1 6
A G T C 7 5 4 3 2 1 6 * A A
A G T C 7 5 4 3 2 1 6 A G A G
A G T C 7 5 4 3 2 1 6 A G T A G C
A G T C 7 5 4 3 2 1 6 A G T C A G * C 4 gives higher score than 5
A G T C 7 5 4 3 2 1 6 A G T C A A G * C A
A G T C 7 5 4 3 2 1 6 A G T C A T A G * C A T
A G T C 7 5 4 3 2 1 6 A G T C A T G A G * C A T G
A G T C 7 5 4 3 2 1 6 A G T C A T G G A G * C A T G C
A G T C 7 5 4 3 2 1 6 A G T C A T G G C A G * C A T G C C
A G T C 7 5 4 3 2 1 6 A G T C A T G G C * A G * C A T G C C T
A G T C 7 5 4 3 2 1 6 A G T C A T G A G * C A T G HERE YOU HAVE EQUIVALENT CHOICES
A G T C 7 5 4 3 2 1 6 A G T C A T G A G * C A T G NOTICE THAT NEXT MOVE CAN EITHER GO HERE
A G T C 7 5 4 3 2 1 6 A G T C A T G A G * C A T G NOTICE THAT NEXT MOVE CAN EITHER GO HERE OR HERE
A G T C 7 5 4 3 2 1 6 A G T C A T G G C * * A G * C A T G * C C T
mismatch First alignment A G T C A T G G C * A G * C A T G C C T Second alignment A G T C A T G G C * * A G * C A T G * C C T gap
mismatch First alignment A G T C A T G G C * A G * C A T G C C T Second alignment A G T C A T G G C * * A G * C A T G * C C T gap Address these issues by introducing a gap penalty