The idea behind this exercise is to implement the algorithm for global alignment between two sequences in order to: (a) assemble the alignment matrix, (b) return the similarity value between two sequences, and (c) the best alignment between the two sequences.
Algorithm that assembles the alignment matrix and returns the similarity value:
1. |
Similarity Algorithm |
Recursive algorithm that returns the best alignment based on the
alignment matrix assembled in Similarity Algorithm
:
1. |
Alignment Algorithm |