Question 3
Consider the alignment graph based DP table below to find the best global alignment between two strings (represented along the rows and the columns). The DP table shown below has entries i.e., to , where is length of first string and is length of second string. is the score of best global alignment between the length- prefix of the first string and length- prefix of the second string.
Fill the DP table given below and answer the following questions accordingly.
| G | T | A | C | A | |
|---|---|---|---|---|---|
| G | |||||
| A | |||||
| C | |||||
| A | |||||
| T |
Scoring is done as follows:
- For each match between two symbols: point
- For each mismatch between two symbols: point
- For each removal of symbol from any one sequence: point
How many entries in the grid consists of the number 3? Enter the answer as a single integer.