Skip to main content
Figure 11 | BMC Bioinformatics

Figure 11

From: Maximum expected accuracy structural neighbors of an RNA secondary structure

Figure 11

Pseudocode for RNAborMEA algorithm. Given RNA sequence s = s1, .. ., s n of length n, initial secondary structure S0 of s, RNAborMEA computes for all values of 0 ≤ k ≤ n that structure S with base pair distance k from S0, which maximizes the value M ( i , j , k ) = ∑ ( i , j ) ∈ S 2α p i , j + ∑ i unpaired in  s β q i . The pseudocode actually computes only values M(i, j, k) for all i, j, k; the MEA structures are obtained by backtracing. This algorithm clearly runs in O(n3) time with O(n3) space.

Back to article page