Skip to main content
. 2015 Apr 2;31(15):2489–2496. doi: 10.1093/bioinformatics/btv185

Fig. 3.

Fig. 3.

(A) Example alignment. Due to stacking effects, the probability of a base pair a3 in the loop closed by a2 (loop of single structure) is much higher than its probability in the loop closed by a1 [loop of the consensus structure {(a1,b1),(a3,b2)}]. (B) Computing represented entries in the sparsified algorithm. We show the matrix Mab; the rounded bars left and on top of the matrix symbolize the represented positions for a and b; the gray areas contain the represented entries for Mab. In our example, the entry Mab(i,k) recurses (solid arrows) to unrepresented entries Mab(i1,k1),Mab(i,k1), Mab(i1,k) and Mab(a1L1,b1L1) (white boxes); the latter via matching base pairs; their left ends correspond to the dashed box at (a1L,b1L). The numbers 1-4 at the arrow heads refer to the respective recursion case. The unrepresented entries are computed from represented entries (dashed arrows to black boxes), each in constant time