Skip to main content
. 2020 Jun 30;18:1811–1818. doi: 10.1016/j.csbj.2020.06.035

Fig. 2.

Fig. 2

An example of the dynamic programming recurrence. (a) The relationships between the dynamic programming matrix elements. (b) The suffixes, c[i;γ], of the coding sequences corresponding to the matrix elements shown in (a); e.g. c[5;3]=y1k2h1. Capital letters (M, D, Y, K, H, and N) indicate amino acid codes, and their corresponding non-capital letters are codons: e.g. Y is tyrosine; y1 and y2 represent UAU and UAC, respectively. Each solid line indicates which matrix element (a set of score vectors) is used as the argument of each vmax operation. Dashed lines indicate the matrix elements that are skipped in the vmax operations due to the occurrence of a forbidden sequence motif C AAG CA (y2k2h1 = UAC AAG CAU and y2k2h2 = UAC AAG CAC). This is an example of k = 3.