<?xml version='1.0'?>
<!DOCTYPE art SYSTEM 'http://www.biomedcentral.com/xml/article.dtd'>
<art>
   <ui>1471-2105-9-122</ui>
   <ji>1471-2105</ji>
   <fm>
      <dochead>Research article</dochead>
      <bibl>
         <title>
            <p>Strategies for measuring evolutionary conservation of RNA secondary structures</p>
         </title>
         <aug>
            <au id="A1">
               <snm>Gruber</snm>
               <mi>R</mi>
               <fnm>Andreas</fnm>
               <insr iid="I1"/>
               <email>agruber@tbi.univie.ac.at</email>
            </au>
            <au id="A2">
               <snm>Bernhart</snm>
               <mi>H</mi>
               <fnm>Stephan</fnm>
               <insr iid="I1"/>
               <insr iid="I2"/>
               <email>berni@tbi.univie.ac.at</email>
            </au>
            <au id="A3">
               <snm>Hofacker</snm>
               <mi>L</mi>
               <fnm>Ivo</fnm>
               <insr iid="I1"/>
               <email>ivo@tbi.univie.ac.at</email>
            </au>
            <au id="A4" ca="yes">
               <snm>Washietl</snm>
               <fnm>Stefan</fnm>
               <insr iid="I1"/>
               <insr iid="I3"/>
               <email>wash@tbi.univie.ac.at</email>
            </au>
         </aug>
         <insg>
            <ins id="I1">
               <p>Institute for Theoretical Chemistry, University of Vienna, W&#228;hringerstra&#223;e 17, 1090 Wien, Austria</p>
            </ins>
            <ins id="I2">
               <p>Bioinformatics Group, Department of Computer Science, University of Leipzig, H&#228;rtelstrasse 16-18, D-04109 Leipzig, Germany</p>
            </ins>
            <ins id="I3">
               <p>EMBL-European Bioinformatics Institute, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK</p>
            </ins>
         </insg>
         <source>BMC Bioinformatics</source>
         <issn>1471-2105</issn>
         <pubdate>2008</pubdate>
         <volume>9</volume>
         <issue>1</issue>
         <fpage>122</fpage>
         <url>http://www.biomedcentral.com/1471-2105/9/122</url>
         <xrefbib>
            <pubidlist>
               <pubid idtype="pmpid">18302738</pubid>
               <pubid idtype="doi">10.1186/1471-2105-9-122</pubid>
            </pubidlist>
         </xrefbib>
      </bibl>
      <history>
         <rec>
            <date>
               <day>26</day>
               <month>11</month>
               <year>2007</year>
            </date>
         </rec>
         <acc>
            <date>
               <day>26</day>
               <month>2</month>
               <year>2008</year>
            </date>
         </acc>
         <pub>
            <date>
               <day>26</day>
               <month>2</month>
               <year>2008</year>
            </date>
         </pub>
      </history>
      <cpyrt>
         <year>2008</year>
         <collab>Gruber et al; licensee BioMed Central Ltd.</collab>
         <note>This is an Open Access article distributed under the terms of the Creative Commons Attribution License (<url>http://creativecommons.org/licenses/by/2.0</url>), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</note>
      </cpyrt>
      <abs>
         <sec>
            <st>
               <p>Abstract</p>
            </st>
            <sec>
               <st>
                  <p>Background</p>
               </st>
               <p>Evolutionary conservation of RNA secondary structure is a typical feature of many functional non-coding RNAs. Since almost all of the available methods used for prediction and annotation of non-coding RNA genes rely on this evolutionary signature, accurate measures for structural conservation are essential.</p>
            </sec>
            <sec>
               <st>
                  <p>Results</p>
               </st>
               <p>We systematically assessed the ability of various measures to detect conserved RNA structures in multiple sequence alignments. We tested three existing and eight novel strategies that are based on metrics of folding energies, metrics of single optimal structure predictions, and metrics of structure ensembles. We find that the folding energy based SCI score used in the RNAz program and a simple base-pair distance metric are by far the most accurate. The use of more complex metrics like for example tree editing does not improve performance. A variant of the SCI performed particularly well on highly conserved alignments and is thus a viable alternative when only little evolutionary information is available. Surprisingly, ensemble based methods that, in principle, could benefit from the additional information contained in sub-optimal structures, perform particularly poorly. As a general trend, we observed that methods that include a consensus structure prediction outperformed equivalent methods that only consider pairwise comparisons.</p>
            </sec>
            <sec>
               <st>
                  <p>Conclusion</p>
               </st>
               <p>Structural conservation can be measured accurately with relatively simple and intuitive metrics. They have the potential to form the basis of future RNA gene finders, that face new challenges like finding lineage specific structures or detecting mis-aligned sequences.</p>
            </sec>
         </sec>
      </abs>
   </fm>
   <bdy>
      <sec>
         <st>
            <p>Background</p>
         </st>
         <p>RNA secondary structures serve important functions in many non-coding RNAs and cis-acting regulatory elements of mRNAs <abbrgrp><abbr bid="B1">1</abbr><abbr bid="B2">2</abbr></abbrgrp>. They mediate RNA-protein/RNA-RNA interactions in many different biological pathways and some even show enzymatic activity themselves. Functional constraints lead to evolutionary conservation of the RNA structure that in many cases can exceed the level of sequence conservation. Therefore, conserved structures are characteristic evolutionarily signatures of functional RNAs. Most programs developed for the detection of novel functional RNAs rely on these signatures.</p>
         <p>QRNA <abbrgrp><abbr bid="B3">3</abbr></abbrgrp> was the first program that detects conserved RNAs. It models RNA structure in a pair of sequences using a stochastic context free grammar. Similarly, EvoFold <abbrgrp><abbr bid="B4">4</abbr></abbrgrp> models the structure of a multiple alignment taking into account a phylogenetic tree (phylo-SCGF). AlifoldZ <abbrgrp><abbr bid="B5">5</abbr></abbrgrp> also analyzes multiple alignments. It uses, however, a thermodynamic folding model based on the RNAalifold algorithm <abbrgrp><abbr bid="B6">6</abbr></abbrgrp>. All three programs fold and evaluate the conservation of the potential RNA at the same time. As a consequence, their scores combine contributions of RNA stability and conservation.</p>
         <p>RNAz <abbrgrp><abbr bid="B7">7</abbr></abbrgrp> disentangles both contributions by calculating two separate scores for stability and conservation. The latter, dubbed structure conservation index (SCI), is thus a measure for structural conservation only. Two other programs, MSARi <abbrgrp><abbr bid="B8">8</abbr></abbrgrp> and ddbRNA <abbrgrp><abbr bid="B9">9</abbr></abbrgrp>, are available that also calculate a pure conservation score.</p>
         <p>In this paper, we revisit the problem and propose a series of other possible strategies to measure structural conservation and compare their performance on a large data set of structural RNA families. The main motivation is to explore alternatives and possible improvements to currently applied measures, especially the SCI used in RNAz. This study seems worthwhile, since comparative approaches like RNAz and others are starting to get extensively used to annotate RNA structures on a genome wide scale <abbrgrp><abbr bid="B4">4</abbr><abbr bid="B10">10</abbr><abbr bid="B11">11</abbr><abbr bid="B12">12</abbr><abbr bid="B13">13</abbr><abbr bid="B14">14</abbr><abbr bid="B15">15</abbr><abbr bid="B16">16</abbr><abbr bid="B17">17</abbr><abbr bid="B18">18</abbr><abbr bid="B19">19</abbr><abbr bid="B20">20</abbr><abbr bid="B21">21</abbr></abbrgrp>. At the same time, however, the increasing availability of additional sequence data makes it necessary to already reconsider and adapt these strategies. For example, while for the first prototype-screens in the human genome <abbrgrp><abbr bid="B4">4</abbr><abbr bid="B15">15</abbr></abbrgrp> only 7 vertebrate genomes were available, we now face the challenge of analyzing alignments of up to 28 species <abbrgrp><abbr bid="B22">22</abbr></abbrgrp>. While the signal from RNA stability is important when only few sequences are available, more emphasis has to be put on the evolutionary signature in future screens. This might improve the specificity of the predictions, a major limitation of current algorithms <abbrgrp><abbr bid="B23">23</abbr></abbrgrp>.</p>
         <p>However, the results presented here are not only of relevance for comparative <it>de novo </it>ncRNA prediction. The SCI, for example, has also been used to measure structural similarity in a clustering approach to find new ncRNA families within one species <abbrgrp><abbr bid="B13">13</abbr><abbr bid="B24">24</abbr></abbrgrp>. In principle, conservation measures of that kind could also be useful for general RNA homology search algorithms that combine sequence and structure conservation <abbrgrp><abbr bid="B25">25</abbr></abbrgrp>.</p>
         <p>Moreover, using a structure conservation measure on an alignment of sequences that are known to have a conserved RNA structure can help to assess the quality of the alignment. This idea has been used to benchmark the performance of multiple alignment programs on structural RNAs <abbrgrp><abbr bid="B26">26</abbr><abbr bid="B27">27</abbr></abbrgrp>, and more recently to detect mis-aligned sequences and assist in the semi-automatic improvement of RNA alignments <abbrgrp><abbr bid="B28">28</abbr></abbrgrp>.</p>
         <p>Finally it must be noted that assessing structural conservation, at the same time, means measuring change of RNA structures throughout evolution. Exploring different ways to quantify such structural changes can help inferring structure based phylogenies <abbrgrp><abbr bid="B29">29</abbr><abbr bid="B30">30</abbr></abbrgrp> and might improve our understanding of RNA structure evolution <abbrgrp><abbr bid="B30">30</abbr><abbr bid="B31">31</abbr></abbrgrp>.</p>
      </sec>
      <sec>
         <st>
            <p>Methods for measuring structural conservation</p>
         </st>
         <p>Structural conservation can be measured on different levels. In the following sections we describe 11 different methods that are based on (i) comparison of predicted minimum free energies (i.e. <it>not </it>on their minimum free energy <it>structures</it>), (ii) comparison of single structures, (iii) comparison of ensembles of structures representing the whole folding space, and (iv) the two specialized methods used by ddbRNA and MSARi. A short summary of all methods is given in Table <tblr tid="T1">1</tblr>.</p>
         <tbl id="T1">
            <title>
               <p>Table 1</p>
            </title>
            <caption>
               <p>Overview of methods</p>
            </caption>
            <tblbdy cols="4">
               <r>
                  <c ca="left">
                     <p>Category</p>
                  </c>
                  <c ca="left">
                     <p>Methods</p>
                  </c>
                  <c ca="left">
                     <p>Description</p>
                  </c>
                  <c ca="center">
                     <p>References</p>
                  </c>
               </r>
               <r>
                  <c cspan="4">
                     <hr/>
                  </c>
               </r>
               <r>
                  <c ca="left">
                     <p>Methods based on folding energies</p>
                  </c>
                  <c ca="left">
                     <p>SCI</p>
                  </c>
                  <c ca="left">
                     <p>RNAalifold consensus energy normalized by dividing by the average energy of the single sequences folded independently.</p>
                  </c>
                  <c ca="center">
                     <p>[7]</p>
                  </c>
               </r>
               <r>
                  <c>
                     <p/>
                  </c>
                  <c ca="left">
                     <p>SCI<sub><it>RN Aeval</it></sub></p>
                  </c>
                  <c ca="left">
                     <p>Evaluation of energies of sequences under the constraint of being forced to fold into the structures of the other sequences in comparison to the unconstrained energies.</p>
                  </c>
                  <c ca="center">
                     <p>this work</p>
                  </c>
               </r>
               <r>
                  <c ca="left">
                     <p>Methods based on single structures</p>
                  </c>
                  <c ca="left">
                     <p>Base-pair distance</p>
                  </c>
                  <c ca="left">
                     <p>Number of base-pairs not shared by two structures.</p>
                  </c>
                  <c ca="center">
                     <p>[64]</p>
                  </c>
               </r>
               <r>
                  <c>
                     <p/>
                  </c>
                  <c ca="left">
                     <p>Mountain metric</p>
                  </c>
                  <c ca="left">
                     <p>Distance as the difference of two mountain functions, which give the number of base-pairs enclosing a position.</p>
                  </c>
                  <c ca="center">
                     <p>[40]</p>
                  </c>
               </r>
               <r>
                  <c>
                     <p/>
                  </c>
                  <c ca="left">
                     <p>Tree editing</p>
                  </c>
                  <c ca="left">
                     <p>Based on the representation of RNA secondary structures as trees. A distance is deined as the cost of transforming one tree into the other.</p>
                  </c>
                  <c ca="center">
                     <p>[41-43]</p>
                  </c>
               </r>
               <r>
                  <c ca="left">
                     <p>Methods considering the entire folding space</p>
                  </c>
                  <c ca="left">
                     <p>Ensemble distance</p>
                  </c>
                  <c ca="left">
                     <p>Base-pair distance extended to compare ensembles of structures.</p>
                  </c>
                  <c ca="center">
                     <p>this work</p>
                  </c>
               </r>
               <r>
                  <c>
                     <p/>
                  </c>
                  <c ca="left">
                     <p>Ensemble mountain metric</p>
                  </c>
                  <c ca="left">
                     <p>Distance as the difference of two mountain functions, which give the number of base-pairs that are, on average, expected to enclose a position.</p>
                  </c>
                  <c ca="center">
                     <p>[47]</p>
                  </c>
               </r>
               <r>
                  <c>
                     <p/>
                  </c>
                  <c ca="left">
                     <p>RNApdist like distance</p>
                  </c>
                  <c ca="left">
                     <p>Distance measure based on the comparison of vectors of probabilities of being paired upstream, paired downstream, and unpaired.</p>
                  </c>
                  <c ca="center">
                     <p>[33,48]</p>
                  </c>
               </r>
               <r>
                  <c>
                     <p/>
                  </c>
                  <c ca="left">
                     <p>RNAshapes</p>
                  </c>
                  <c ca="left">
                     <p>Similarity measure based on probabilities of abstract shapes.</p>
                  </c>
                  <c ca="center">
                     <p>[49]</p>
                  </c>
               </r>
               <r>
                  <c ca="left">
                     <p>Other Methods</p>
                  </c>
                  <c ca="left">
                     <p>ddbRNA</p>
                  </c>
                  <c ca="left">
                     <p>Evaluates compensatory mutations in all possible stem loops in all sequences of an alignment.</p>
                  </c>
                  <c ca="center">
                     <p>[9]</p>
                  </c>
               </r>
               <r>
                  <c>
                     <p/>
                  </c>
                  <c ca="left">
                     <p>MSARi</p>
                  </c>
                  <c ca="left">
                     <p>Evaluation of the statistical significance of short, contiguous potential base-pair regions under different distribution models.</p>
                  </c>
                  <c ca="center">
                     <p>[8]</p>
                  </c>
               </r>
            </tblbdy>
         </tbl>
         <sec>
            <st>
               <p>Methods based on folding energies</p>
            </st>
            <p>The idea to evaluate structure similarity indirectly through the minimum free energy (MFE) rather than by direct comparison of the structure itself seems to be counter-intuitive at the first glance. The principle, however, becomes clear when considering the RNAalifold algorithm. RNAalifold implements a consensus folding algorithm for a set of aligned RNA sequences. It extends standard dynamic programming algorithms for RNA secondary prediction <abbrgrp><abbr bid="B32">32</abbr></abbrgrp> by averaging the energy contributions over all sequences and incorporating covariation terms into the energy model to reward compensatory mutations and to penalize non-compatible base-pairs. This procedure results in a "consensus MFE" for the alignment. The absolute value of the consensus MFE is of little value to assess the conservation of structures since it mainly reflects the folding energy that is heavily dependent on the nucleotide composition and the length of the alignment. Therefore, the consensus MFE <it>E</it><sub><it>cons </it></sub>is normalized by the average MFE <inline-formula><m:math name="1471-2105-9-122-i1" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msub><m:mover accent="true"><m:mi>E</m:mi><m:mo>&#175;</m:mo></m:mover><m:mrow><m:mi>s</m:mi><m:mi>i</m:mi><m:mi>n</m:mi><m:mi>g</m:mi><m:mi>l</m:mi><m:mi>e</m:mi></m:mrow></m:msub></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaGafmyrauKbaebadaWgaaWcbaGaem4CamNaemyAaKMaemOBa4Maem4zaCMaemiBaWMaemyzaugabeaaaaa@3564@</m:annotation></m:semantics></m:math></inline-formula> of the single sequences as computed by RNAfold giving the structure conservation index</p>
            <p>
               <display-formula id="M1">
                  <m:math name="1471-2105-9-122-i2" xmlns:m="http://www.w3.org/1998/Math/MathML">
                     <m:semantics>
                        <m:mrow>
                           <m:mi>S</m:mi>
                           <m:mi>C</m:mi>
                           <m:mi>I</m:mi>
                           <m:mo>=</m:mo>
                           <m:msub>
                              <m:mi>E</m:mi>
                              <m:mrow>
                                 <m:mi>c</m:mi>
                                 <m:mi>o</m:mi>
                                 <m:mi>n</m:mi>
                                 <m:mi>s</m:mi>
                              </m:mrow>
                           </m:msub>
                           <m:mo>/</m:mo>
                           <m:msub>
                              <m:mover accent="true">
                                 <m:mi>E</m:mi>
                                 <m:mo>&#175;</m:mo>
                              </m:mover>
                              <m:mrow>
                                 <m:mi>s</m:mi>
                                 <m:mi>i</m:mi>
                                 <m:mi>n</m:mi>
                                 <m:mi>g</m:mi>
                                 <m:mi>l</m:mi>
                                 <m:mi>e</m:mi>
                              </m:mrow>
                           </m:msub>
                        </m:mrow>
                        <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaGaem4uamLaem4qamKaemysaKKaeyypa0Jaemyrau0aaSbaaSqaaiabdogaJjabd+gaVjabd6gaUjabdohaZbqabaGccqGGVaWlcuWGfbqrgaqeamaaBaaaleaacqWGZbWCcqWGPbqAcqWGUbGBcqWGNbWzcqWGSbaBcqWGLbqzaeqaaaaa@41CA@</m:annotation>
                     </m:semantics>
                  </m:math>
               </display-formula>
            </p>
            <p>If the sequences show equally stable folding energies if forced to fold into a common structure compared to being folded independently, this indicates a conserved structure and the SCI is high. The lower bound of the SCI is zero, indicating that RNAalifold is not able to find a consensus structure, while a SCI close to one corresponds to perfect structure conservation. Compensatory mutations adding additional bonus energies to the consensus MFE can even give rise to a SCI higher than one.</p>
            <p>The SCI, as given above, requires the computation of a consensus structure for the whole alignment. Alternatively, one can consider formulating a similar measure based on pairwise comparisons of all sequences. To this end, the folding energy of each sequence is evaluated when forced to fold into the structures of the other sequences. The pairwise SCI for an alignment <inline-formula><m:math name="1471-2105-9-122-i3" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">A</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae8haXheaaa@3747@</m:annotation></m:semantics></m:math></inline-formula> is given by</p>
            <p>
               <display-formula id="M2">
                  <m:math name="1471-2105-9-122-i4" xmlns:m="http://www.w3.org/1998/Math/MathML">
                     <m:semantics>
                        <m:mrow>
                           <m:mi>S</m:mi>
                           <m:mi>C</m:mi>
                           <m:msub>
                              <m:mi>I</m:mi>
                              <m:mrow>
                                 <m:mi>R</m:mi>
                                 <m:mi>N</m:mi>
                                 <m:mtext>&#160;</m:mtext>
                                 <m:mi>A</m:mi>
                                 <m:mi>e</m:mi>
                                 <m:mi>v</m:mi>
                                 <m:mi>a</m:mi>
                                 <m:mi>l</m:mi>
                              </m:mrow>
                           </m:msub>
                           <m:mo stretchy="false">(</m:mo>
                           <m:mi mathvariant="script">A</m:mi>
                           <m:mo stretchy="false">)</m:mo>
                           <m:mo>=</m:mo>
                           <m:mfrac>
                              <m:mrow>
                                 <m:mstyle displaystyle="true">
                                    <m:munder>
                                       <m:mo>&#8721;</m:mo>
                                       <m:mrow>
                                          <m:mtable>
                                             <m:mtr>
                                                <m:mtd>
                                                   <m:mrow>
                                                      <m:mi>x</m:mi>
                                                      <m:mo>,</m:mo>
                                                      <m:mi>y</m:mi>
                                                      <m:mo>&#8712;</m:mo>
                                                      <m:mi mathvariant="script">A</m:mi>
                                                   </m:mrow>
                                                </m:mtd>
                                             </m:mtr>
                                             <m:mtr>
                                                <m:mtd>
                                                   <m:mrow>
                                                      <m:mi>x</m:mi>
                                                      <m:mo>&#8800;</m:mo>
                                                      <m:mi>y</m:mi>
                                                   </m:mrow>
                                                </m:mtd>
                                             </m:mtr>
                                          </m:mtable>
                                       </m:mrow>
                                    </m:munder>
                                    <m:mrow>
                                       <m:mi>E</m:mi>
                                       <m:mo stretchy="false">(</m:mo>
                                       <m:mi>x</m:mi>
                                       <m:mo>|</m:mo>
                                       <m:msub>
                                          <m:mi>S</m:mi>
                                          <m:mi>y</m:mi>
                                       </m:msub>
                                       <m:mo stretchy="false">)</m:mo>
                                    </m:mrow>
                                 </m:mstyle>
                              </m:mrow>
                              <m:mrow>
                                 <m:mo stretchy="false">(</m:mo>
                                 <m:mi>N</m:mi>
                                 <m:mo>&#8722;</m:mo>
                                 <m:mn>1</m:mn>
                                 <m:mo stretchy="false">)</m:mo>
                                 <m:mstyle displaystyle="true">
                                    <m:munder>
                                       <m:mo>&#8721;</m:mo>
                                       <m:mrow>
                                          <m:mi>x</m:mi>
                                          <m:mo>&#8712;</m:mo>
                                          <m:mi mathvariant="script">A</m:mi>
                                       </m:mrow>
                                    </m:munder>
                                    <m:mrow>
                                       <m:mi>E</m:mi>
                                       <m:mo stretchy="false">(</m:mo>
                                       <m:mi>x</m:mi>
                                       <m:mo>|</m:mo>
                                       <m:msub>
                                          <m:mi>S</m:mi>
                                          <m:mi>x</m:mi>
                                       </m:msub>
                                       <m:mo stretchy="false">)</m:mo>
                                    </m:mrow>
                                 </m:mstyle>
                              </m:mrow>
                           </m:mfrac>
                        </m:mrow>
                        <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaGaem4uamLaem4qamKaemysaK0aaSbaaSqaaiabdkfasjabd6eaojabbccaGiabdgeabjabdwgaLjabdAha2jabdggaHjabdYgaSbqabaGccqGGOaakt0uy0HwzTfgDPnwy1egaryqtHrhAL1wy0L2yHvdaiqaacqWFaeFqcqGGPaqkcqGH9aqpjuaGdaWcaaqaamaaqafabaGaemyrauKaeiikaGIaemiEaGNaeiiFaWNaem4uam1aaSbaaeaacqWG5bqEaeqaaiabcMcaPaqaauaabeqaceaaaeaacqWG4baEcqGGSaalcqWG5bqEcqGHiiIZcqWFaeFqaeaacqWG4baEcqGHGjsUcqWG5bqEaaaabeGaeyyeIuoaaeaacqGGOaakcqWGobGtcqGHsislcqaIXaqmcqGGPaqkdaaeqbqaaiabdweafjabcIcaOiabdIha4jabcYha8jabdofatnaaBaaabaGaemiEaGhabeaacqGGPaqkaeaacqWG4baEcqGHiiIZcqWFaeFqaeqacqGHris5aaaaaaa@7277@</m:annotation>
                     </m:semantics>
                  </m:math>
               </display-formula>
            </p>
            <p>where <it>E</it>(<it>x</it>|<it>S</it><sub><it>y</it></sub>) denotes the free energy of sequence <it>x </it>when adopting the minimum free energy structure <it>S</it><sub><it>y </it></sub>of sequence <it>y</it>, and <it>N </it>is the number of sequences in the alignment. The free energies for a given sequence in a given structure can be easily evaluated with the program RNAeval from the <it>Vienna RNA </it>package <abbrgrp><abbr bid="B33">33</abbr></abbrgrp>. Therefore, we refer to this method as the "RNAeval" method.</p>
         </sec>
         <sec>
            <st>
               <p>Methods based on single structures</p>
            </st>
            <p>A more intuitive way to assess structural similarity is by comparing structures themselves rather than comparing the energies associated with these structures. Conservation measures derived from various structure metrics are described in this section. Unlike the energy based methods from the previous section that are inherently linked to thermodynamic folding, the following methods do not depend on the way of how structures are predicted. There are several different ways, like thermodynamic energy minimization <abbrgrp><abbr bid="B34">34</abbr></abbrgrp>, kinetic folding <abbrgrp><abbr bid="B35">35</abbr></abbrgrp> or probabilistic models <abbrgrp><abbr bid="B36">36</abbr><abbr bid="B37">37</abbr><abbr bid="B38">38</abbr></abbrgrp>, but the choice of the method will not influence the underlying concept. However, since the goal of this study is not to compare the accuracy of different folding algorithms, we use here exclusively energy minimization (RNAfold) to ensure comparability between all methods.</p>
            <sec>
               <st>
                  <p>Base-pair distance</p>
               </st>
               <p>The most simple distance measure between two <it>sequences </it>is the Hamming distance, i.e. the number of positions with different nucleotides. For RNA structures, one could think of calculating the Hamming distance of two strings in dot bracket notation with the three characters "(", ".", ")". However, this does not account for the correlations between the opening and closing positions that are characteristic for the structure.</p>
               <p>An alternative to the Hamming distance more suitable for secondary structures is the so-called base-pair distance. The base-pair distance between to RNA secondary structures <it>S</it><sub><it>x </it></sub>and <it>S</it><sub><it>y </it></sub>is defined as the number of base-pairs not shared by the two structures. Formally it can be described in terms of set theory, where the base-pair distance corresponds to the cardinality of the symmetric set difference:</p>
               <p>
                  <display-formula id="M3">
                     <m:math name="1471-2105-9-122-i5" xmlns:m="http://www.w3.org/1998/Math/MathML">
                        <m:semantics>
                           <m:mrow>
                              <m:mtable>
                                 <m:mtr>
                                    <m:mtd>
                                       <m:mrow>
                                          <m:msub>
                                             <m:mi>d</m:mi>
                                             <m:mrow>
                                                <m:mi>B</m:mi>
                                                <m:mi>P</m:mi>
                                             </m:mrow>
                                          </m:msub>
                                          <m:mo stretchy="false">(</m:mo>
                                          <m:msub>
                                             <m:mi>S</m:mi>
                                             <m:mi>x</m:mi>
                                          </m:msub>
                                          <m:mo>,</m:mo>
                                          <m:msub>
                                             <m:mi>S</m:mi>
                                             <m:mi>y</m:mi>
                                          </m:msub>
                                          <m:mo stretchy="false">)</m:mo>
                                          <m:mo>=</m:mo>
                                          <m:mo>|</m:mo>
                                          <m:mo stretchy="false">(</m:mo>
                                          <m:msub>
                                             <m:mi>S</m:mi>
                                             <m:mi>x</m:mi>
                                          </m:msub>
                                          <m:mo>\</m:mo>
                                          <m:msub>
                                             <m:mi>S</m:mi>
                                             <m:mi>y</m:mi>
                                          </m:msub>
                                          <m:mo stretchy="false">)</m:mo>
                                          <m:mo>&#8746;</m:mo>
                                          <m:mo stretchy="false">(</m:mo>
                                          <m:msub>
                                             <m:mi>S</m:mi>
                                             <m:mi>y</m:mi>
                                          </m:msub>
                                          <m:mo>\</m:mo>
                                          <m:msub>
                                             <m:mi>S</m:mi>
                                             <m:mi>x</m:mi>
                                          </m:msub>
                                          <m:mo stretchy="false">)</m:mo>
                                          <m:mo>|</m:mo>
                                          <m:mo>=</m:mo>
                                          <m:mo>|</m:mo>
                                          <m:msub>
                                             <m:mi>S</m:mi>
                                             <m:mi>x</m:mi>
                                          </m:msub>
                                          <m:mo>&#8746;</m:mo>
                                          <m:msub>
                                             <m:mi>S</m:mi>
                                             <m:mi>y</m:mi>
                                          </m:msub>
                                          <m:mo>|</m:mo>
                                          <m:mo>&#8722;</m:mo>
                                          <m:mo>|</m:mo>
                                          <m:msub>
                                             <m:mi>S</m:mi>
                                             <m:mi>x</m:mi>
                                          </m:msub>
                                          <m:mo>&#8745;</m:mo>
                                          <m:msub>
                                             <m:mi>S</m:mi>
                                             <m:mi>y</m:mi>
                                          </m:msub>
                                          <m:mo>|</m:mo>
                                       </m:mrow>
                                    </m:mtd>
                                 </m:mtr>
                                 <m:mtr>
                                    <m:mtd>
                                       <m:mrow>
                                          <m:mo>=</m:mo>
                                          <m:mo>|</m:mo>
                                          <m:msub>
                                             <m:mi>S</m:mi>
                                             <m:mi>x</m:mi>
                                          </m:msub>
                                          <m:mo>|</m:mo>
                                          <m:mo>+</m:mo>
                                          <m:mo>|</m:mo>
                                          <m:msub>
                                             <m:mi>S</m:mi>
                                             <m:mi>y</m:mi>
                                          </m:msub>
                                          <m:mo>|</m:mo>
                                          <m:mo>&#8722;</m:mo>
                                          <m:mn>2</m:mn>
                                          <m:mo>|</m:mo>
                                          <m:msub>
                                             <m:mi>S</m:mi>
                                             <m:mi>x</m:mi>
                                          </m:msub>
                                          <m:mo>&#8745;</m:mo>
                                          <m:msub>
                                             <m:mi>S</m:mi>
                                             <m:mi>y</m:mi>
                                          </m:msub>
                                          <m:mo>|</m:mo>
                                          <m:mo>=</m:mo>
                                          <m:mstyle displaystyle="true">
                                             <m:munder>
                                                <m:mo>&#8721;</m:mo>
                                                <m:mrow>
                                                   <m:mi>i</m:mi>
                                                   <m:mo>&lt;</m:mo>
                                                   <m:mi>j</m:mi>
                                                </m:mrow>
                                             </m:munder>
                                             <m:mrow>
                                                <m:mo stretchy="false">(</m:mo>
                                                <m:msubsup>
                                                   <m:mi>&#948;</m:mi>
                                                   <m:mrow>
                                                      <m:mi>i</m:mi>
                                                      <m:mi>j</m:mi>
                                                   </m:mrow>
                                                   <m:mi>x</m:mi>
                                                </m:msubsup>
                                                <m:mo>+</m:mo>
                                                <m:msubsup>
                                                   <m:mi>&#948;</m:mi>
                                                   <m:mrow>
                                                      <m:mi>i</m:mi>
                                                      <m:mi>j</m:mi>
                                                   </m:mrow>
                                                   <m:mi>y</m:mi>
                                                </m:msubsup>
                                                <m:mo>&#8722;</m:mo>
                                                <m:mn>2</m:mn>
                                                <m:msubsup>
                                                   <m:mi>&#948;</m:mi>
                                                   <m:mrow>
                                                      <m:mi>i</m:mi>
                                                      <m:mi>j</m:mi>
                                                   </m:mrow>
                                                   <m:mi>x</m:mi>
                                                </m:msubsup>
                                                <m:msubsup>
                                                   <m:mi>&#948;</m:mi>
                                                   <m:mrow>
                                                      <m:mi>i</m:mi>
                                                      <m:mi>j</m:mi>
                                                   </m:mrow>
                                                   <m:mi>y</m:mi>
                                                </m:msubsup>
                                                <m:mo stretchy="false">)</m:mo>
                                             </m:mrow>
                                          </m:mstyle>
                                       </m:mrow>
                                    </m:mtd>
                                 </m:mtr>
                              </m:mtable>
                           </m:mrow>
                           <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaqbaeqabiqaaaqaaiabdsgaKnaaBaaaleaacqWGcbGqcqWGqbauaeqaaOGaeiikaGIaem4uam1aaSbaaSqaaiabdIha4bqabaGccqGGSaalcqWGtbWudaWgaaWcbaGaemyEaKhabeaakiabcMcaPiabg2da9iabcYha8jabcIcaOiabdofatnaaBaaaleaacqWG4baEaeqaaOGaeiixaWLaem4uam1aaSbaaSqaaiabdMha5bqabaGccqGGPaqkcqGHQicYcqGGOaakcqWGtbWudaWgaaWcbaGaemyEaKhabeaakiabcYfaCjabdofatnaaBaaaleaacqWG4baEaeqaaOGaeiykaKIaeiiFaWNaeyypa0JaeiiFaWNaem4uam1aaSbaaSqaaiabdIha4bqabaGccqGHQicYcqWGtbWudaWgaaWcbaGaemyEaKhabeaakiabcYha8jabgkHiTiabcYha8jabdofatnaaBaaaleaacqWG4baEaeqaaOGaeyykICSaem4uam1aaSbaaSqaaiabdMha5bqabaGccqGG8baFaeaacqGH9aqpcqGG8baFcqWGtbWudaWgaaWcbaGaemiEaGhabeaakiabcYha8jabgUcaRiabcYha8jabdofatnaaBaaaleaacqWG5bqEaeqaaOGaeiiFaWNaeyOeI0IaeGOmaiJaeiiFaWNaem4uam1aaSbaaSqaaiabdIha4bqabaGccqGHPiYXcqWGtbWudaWgaaWcbaGaemyEaKhabeaakiabcYha8jabg2da9maaqafabaGaeiikaGccciGae8hTdq2aa0baaSqaaiabdMgaPjabdQgaQbqaaiabdIha4baakiabgUcaRiab=r7aKnaaDaaaleaacqWGPbqAcqWGQbGAaeaacqWG5bqEaaGccqGHsislcqaIYaGmcqWF0oazdaqhaaWcbaGaemyAaKMaemOAaOgabaGaemiEaGhaaOGae8hTdq2aa0baaSqaaiabdMgaPjabdQgaQbqaaiabdMha5baakiabcMcaPaWcbaGaemyAaKMaeyipaWJaemOAaOgabeqdcqGHris5aaaaaaa@A357@</m:annotation>
                        </m:semantics>
                     </m:math>
                  </display-formula>
               </p>
               <p>with <inline-formula><m:math name="1471-2105-9-122-i6" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi>&#948;</m:mi><m:mrow><m:mi>i</m:mi><m:mi>j</m:mi></m:mrow><m:mi>x</m:mi></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaacciGae8hTdq2aa0baaSqaaiabdMgaPjabdQgaQbqaaiabdIha4baaaaa@31DD@</m:annotation></m:semantics></m:math></inline-formula> = 1 if (<it>i</it>,<it>j</it>) is a base-pair of structure <it>S</it><sub><it>x</it></sub>, and <inline-formula><m:math name="1471-2105-9-122-i6" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi>&#948;</m:mi><m:mrow><m:mi>i</m:mi><m:mi>j</m:mi></m:mrow><m:mi>x</m:mi></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaacciGae8hTdq2aa0baaSqaaiabdMgaPjabdQgaQbqaaiabdIha4baaaaa@31DD@</m:annotation></m:semantics></m:math></inline-formula> = 0 otherwise. <it>d</it><sub><it>BP </it></sub>itself is not a suitable measure for comparison as long it is not set in relation to the union of the base-pairs in <it>S</it><sub><it>x </it></sub>and <it>S</it><sub><it>y</it></sub>. The normalized base-pair distance scaled to the interval [0, 1] between two structures is given by</p>
               <p>
                  <display-formula id="M4">
                     <m:math name="1471-2105-9-122-i7" xmlns:m="http://www.w3.org/1998/Math/MathML">
                        <m:semantics>
                           <m:mrow>
                              <m:msub>
                                 <m:mi>D</m:mi>
                                 <m:mrow>
                                    <m:mi>B</m:mi>
                                    <m:mi>P</m:mi>
                                 </m:mrow>
                              </m:msub>
                              <m:mo stretchy="false">(</m:mo>
                              <m:msub>
                                 <m:mi>S</m:mi>
                                 <m:mi>x</m:mi>
                              </m:msub>
                              <m:mo>,</m:mo>
                              <m:msub>
                                 <m:mi>S</m:mi>
                                 <m:mi>y</m:mi>
                              </m:msub>
                              <m:mo stretchy="false">)</m:mo>
                              <m:mo>=</m:mo>
                              <m:mfrac>
                                 <m:mrow>
                                    <m:mo>|</m:mo>
                                    <m:msub>
                                       <m:mi>S</m:mi>
                                       <m:mi>x</m:mi>
                                    </m:msub>
                                    <m:mo>&#8746;</m:mo>
                                    <m:msub>
                                       <m:mi>S</m:mi>
                                       <m:mi>y</m:mi>
                                    </m:msub>
                                    <m:mo>|</m:mo>
                                    <m:mo>&#8722;</m:mo>
                                    <m:mo>|</m:mo>
                                    <m:msub>
                                       <m:mi>S</m:mi>
                                       <m:mi>x</m:mi>
                                    </m:msub>
                                    <m:mo>&#8745;</m:mo>
                                    <m:msub>
                                       <m:mi>S</m:mi>
                                       <m:mi>y</m:mi>
                                    </m:msub>
                                    <m:mo>|</m:mo>
                                 </m:mrow>
                                 <m:mrow>
                                    <m:mo>|</m:mo>
                                    <m:msub>
                                       <m:mi>S</m:mi>
                                       <m:mi>x</m:mi>
                                    </m:msub>
                                    <m:mo>&#8746;</m:mo>
                                    <m:msub>
                                       <m:mi>S</m:mi>
                                       <m:mi>y</m:mi>
                                    </m:msub>
                                    <m:mo>|</m:mo>
                                 </m:mrow>
                              </m:mfrac>
                              <m:mo>=</m:mo>
                              <m:mfrac>
                                 <m:mrow>
                                    <m:mstyle displaystyle="true">
                                       <m:munder>
                                          <m:mo>&#8721;</m:mo>
                                          <m:mrow>
                                             <m:mi>i</m:mi>
                                             <m:mo>&lt;</m:mo>
                                             <m:mi>j</m:mi>
                                          </m:mrow>
                                       </m:munder>
                                       <m:mrow>
                                          <m:mo stretchy="false">(</m:mo>
                                          <m:msubsup>
                                             <m:mi>&#948;</m:mi>
                                             <m:mrow>
                                                <m:mi>i</m:mi>
                                                <m:mi>j</m:mi>
                                             </m:mrow>
                                             <m:mi>x</m:mi>
                                          </m:msubsup>
                                          <m:mo>+</m:mo>
                                          <m:msubsup>
                                             <m:mi>&#948;</m:mi>
                                             <m:mrow>
                                                <m:mi>i</m:mi>
                                                <m:mi>j</m:mi>
                                             </m:mrow>
                                             <m:mi>y</m:mi>
                                          </m:msubsup>
                                          <m:mo>&#8722;</m:mo>
                                          <m:mn>2</m:mn>
                                          <m:msubsup>
                                             <m:mi>&#948;</m:mi>
                                             <m:mrow>
                                                <m:mi>i</m:mi>
                                                <m:mi>j</m:mi>
                                             </m:mrow>
                                             <m:mi>x</m:mi>
                                          </m:msubsup>
                                          <m:msubsup>
                                             <m:mi>&#948;</m:mi>
                                             <m:mrow>
                                                <m:mi>i</m:mi>
                                                <m:mi>j</m:mi>
                                             </m:mrow>
                                             <m:mi>y</m:mi>
                                          </m:msubsup>
                                          <m:mo stretchy="false">)</m:mo>
                                       </m:mrow>
                                    </m:mstyle>
                                 </m:mrow>
                                 <m:mrow>
                                    <m:mstyle displaystyle="true">
                                       <m:munder>
                                          <m:mo>&#8721;</m:mo>
                                          <m:mrow>
                                             <m:mi>i</m:mi>
                                             <m:mo>&lt;</m:mo>
                                             <m:mi>j</m:mi>
                                          </m:mrow>
                                       </m:munder>
                                       <m:mrow>
                                          <m:mo stretchy="false">(</m:mo>
                                          <m:msubsup>
                                             <m:mi>&#948;</m:mi>
                                             <m:mrow>
                                                <m:mi>i</m:mi>
                                                <m:mi>j</m:mi>
                                             </m:mrow>
                                             <m:mi>x</m:mi>
                                          </m:msubsup>
                                          <m:mo>+</m:mo>
                                          <m:msubsup>
                                             <m:mi>&#948;</m:mi>
                                             <m:mrow>
                                                <m:mi>i</m:mi>
                                                <m:mi>j</m:mi>
                                             </m:mrow>
                                             <m:mi>y</m:mi>
                                          </m:msubsup>
                                          <m:mo>&#8722;</m:mo>
                                          <m:msubsup>
                                             <m:mi>&#948;</m:mi>
                                             <m:mrow>
                                                <m:mi>i</m:mi>
                                                <m:mi>j</m:mi>
                                             </m:mrow>
                                             <m:mi>x</m:mi>
                                          </m:msubsup>
                                          <m:msubsup>
                                             <m:mi>&#948;</m:mi>
                                             <m:mrow>
                                                <m:mi>i</m:mi>
                                                <m:mi>j</m:mi>
                                             </m:mrow>
                                             <m:mi>y</m:mi>
                                          </m:msubsup>
                                          <m:mo stretchy="false">)</m:mo>
                                       </m:mrow>
                                    </m:mstyle>
                                 </m:mrow>
                              </m:mfrac>
                           </m:mrow>
                           <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaGaemiraq0aaSbaaSqaaiabdkeacjabdcfaqbqabaGccqGGOaakcqWGtbWudaWgaaWcbaGaemiEaGhabeaakiabcYcaSiabdofatnaaBaaaleaacqWG5bqEaeqaaOGaeiykaKIaeyypa0tcfa4aaSaaaeaacqGG8baFcqWGtbWudaWgaaqaaiabdIha4bqabaGaeyOkIGSaem4uam1aaSbaaeaacqWG5bqEaeqaaiabcYha8jabgkHiTiabcYha8jabdofatnaaBaaabaGaemiEaGhabeaacqGHPiYXcqWGtbWudaWgaaqaaiabdMha5bqabaGaeiiFaWhabaGaeiiFaWNaem4uam1aaSbaaeaacqWG4baEaeqaaiabgQIiilabdofatnaaBaaabaGaemyEaKhabeaacqGG8baFaaGccqGH9aqpjuaGdaWcaaqaamaaqafabaGaeiikaGccciGae8hTdq2aa0baaeaacqWGPbqAcqWGQbGAaeaacqWG4baEaaGaey4kaSIae8hTdq2aa0baaeaacqWGPbqAcqWGQbGAaeaacqWG5bqEaaGaeyOeI0IaeGOmaiJae8hTdq2aa0baaeaacqWGPbqAcqWGQbGAaeaacqWG4baEaaGae8hTdq2aa0baaeaacqWGPbqAcqWGQbGAaeaacqWG5bqEaaGaeiykaKcabaGaemyAaKMaeyipaWJaemOAaOgabeGaeyyeIuoaaeaadaaeqbqaaiabcIcaOiab=r7aKnaaDaaabaGaemyAaKMaemOAaOgabaGaemiEaGhaaiabgUcaRiab=r7aKnaaDaaabaGaemyAaKMaemOAaOgabaGaemyEaKhaaiabgkHiTiab=r7aKnaaDaaabaGaemyAaKMaemOAaOgabaGaemiEaGhaaiab=r7aKnaaDaaabaGaemyAaKMaemOAaOgabaGaemyEaKhaaiabcMcaPaqaaiabdMgaPjabgYda8iabdQgaQbqabiabggHiLdaaaaaa@9DF5@</m:annotation>
                        </m:semantics>
                     </m:math>
                  </display-formula>
               </p>
               <p>The overall score for a multiple alignment <inline-formula><m:math name="1471-2105-9-122-i3" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">A</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae8haXheaaa@3747@</m:annotation></m:semantics></m:math></inline-formula> can either be calculated as the average of all pairwise sequence comparisons</p>
               <p>
                  <display-formula id="M5">
                     <m:math name="1471-2105-9-122-i8" xmlns:m="http://www.w3.org/1998/Math/MathML">
                        <m:semantics>
                           <m:mrow>
                              <m:mfrac>
                                 <m:mn>2</m:mn>
                                 <m:mrow>
                                    <m:mo stretchy="false">(</m:mo>
                                    <m:mi>N</m:mi>
                                    <m:mo>&#8722;</m:mo>
                                    <m:mn>1</m:mn>
                                    <m:mo stretchy="false">)</m:mo>
                                    <m:mi>N</m:mi>
                                 </m:mrow>
                              </m:mfrac>
                              <m:mstyle displaystyle="true">
                                 <m:munder>
                                    <m:mo>&#8721;</m:mo>
                                    <m:mrow>
                                       <m:mtable>
                                          <m:mtr>
                                             <m:mtd>
                                                <m:mrow>
                                                   <m:mi>x</m:mi>
                                                   <m:mo>,</m:mo>
                                                   <m:mi>y</m:mi>
                                                   <m:mo>&#8712;</m:mo>
                                                   <m:mi mathvariant="script">A</m:mi>
                                                </m:mrow>
                                             </m:mtd>
                                          </m:mtr>
                                          <m:mtr>
                                             <m:mtd>
                                                <m:mrow>
                                                   <m:mi>x</m:mi>
                                                   <m:mo>></m:mo>
                                                   <m:mi>y</m:mi>
                                                </m:mrow>
                                             </m:mtd>
                                          </m:mtr>
                                       </m:mtable>
                                    </m:mrow>
                                 </m:munder>
                                 <m:mrow>
                                    <m:msub>
                                       <m:mi>D</m:mi>
                                       <m:mrow>
                                          <m:mi>B</m:mi>
                                          <m:mi>P</m:mi>
                                       </m:mrow>
                                    </m:msub>
                                    <m:mo stretchy="false">(</m:mo>
                                    <m:msub>
                                       <m:mi>S</m:mi>
                                       <m:mi>x</m:mi>
                                    </m:msub>
                                    <m:mo>,</m:mo>
                                    <m:msub>
                                       <m:mi>S</m:mi>
                                       <m:mi>y</m:mi>
                                    </m:msub>
                                    <m:mo stretchy="false">)</m:mo>
                                 </m:mrow>
                              </m:mstyle>
                           </m:mrow>
                           <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaqcfa4aaSaaaeaacqaIYaGmaeaacqGGOaakcqWGobGtcqGHsislcqaIXaqmcqGGPaqkcqWGobGtaaGcdaaeqbqaaiabdseaenaaBaaaleaacqWGcbGqcqWGqbauaeqaaOGaeiikaGIaem4uam1aaSbaaSqaaiabdIha4bqabaGccqGGSaalcqWGtbWudaWgaaWcbaGaemyEaKhabeaakiabcMcaPaWcbaqbaeqabiqaaaqaaiabdIha4jabcYcaSiabdMha5jabgIGioprtHrhAL1wy0L2yHvtyaeHbnfgDOvwBHrxAJfwnaGabaiab=bq8bbqaaiabdIha4jabg6da+iabdMha5baaaeqaniabggHiLdaaaa@5659@</m:annotation>
                        </m:semantics>
                     </m:math>
                  </display-formula>
               </p>
               <p>or as the average of all comparisons of each sequence to a consensus structure</p>
               <p>
                  <display-formula id="M6">
                     <m:math name="1471-2105-9-122-i9" xmlns:m="http://www.w3.org/1998/Math/MathML">
                        <m:semantics>
                           <m:mrow>
                              <m:mfrac>
                                 <m:mn>1</m:mn>
                                 <m:mi>N</m:mi>
                              </m:mfrac>
                              <m:mstyle displaystyle="true">
                                 <m:munder>
                                    <m:mo>&#8721;</m:mo>
                                    <m:mrow>
                                       <m:mi>x</m:mi>
                                       <m:mo>&#8712;</m:mo>
                                       <m:mi mathvariant="script">A</m:mi>
                                    </m:mrow>
                                 </m:munder>
                                 <m:mrow>
                                    <m:msub>
                                       <m:mi>D</m:mi>
                                       <m:mrow>
                                          <m:mi>B</m:mi>
                                          <m:mi>P</m:mi>
                                       </m:mrow>
                                    </m:msub>
                                    <m:mo stretchy="false">(</m:mo>
                                    <m:msub>
                                       <m:mi>S</m:mi>
                                       <m:mi>x</m:mi>
                                    </m:msub>
                                    <m:mo>,</m:mo>
                                    <m:msub>
                                       <m:mi>S</m:mi>
                                       <m:mrow>
                                          <m:mi>c</m:mi>
                                          <m:mi>o</m:mi>
                                          <m:mi>n</m:mi>
                                          <m:mi>s</m:mi>
                                          <m:mi>e</m:mi>
                                          <m:mi>n</m:mi>
                                          <m:mi>s</m:mi>
                                          <m:mi>u</m:mi>
                                          <m:mi>s</m:mi>
                                       </m:mrow>
                                    </m:msub>
                                    <m:mo stretchy="false">)</m:mo>
                                 </m:mrow>
                              </m:mstyle>
                           </m:mrow>
                           <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaqcfa4aaSaaaeaacqaIXaqmaeaacqWGobGtaaGcdaaeqbqaaiabdseaenaaBaaaleaacqWGcbGqcqWGqbauaeqaaOGaeiikaGIaem4uam1aaSbaaSqaaiabdIha4bqabaGccqGGSaalcqWGtbWudaWgaaWcbaGaem4yamMaem4Ba8MaemOBa4Maem4CamNaemyzauMaemOBa4Maem4CamNaemyDauNaem4CamhabeaakiabcMcaPaWcbaGaemiEaGNaeyicI48enfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae8haXheabeqdcqGHris5aaaa@5657@</m:annotation>
                        </m:semantics>
                     </m:math>
                  </display-formula>
               </p>
               <p>If not stated otherwise, also all other methods that are based on pairwise comparisons can be calculated either as the average over all (<it>N </it>- 1)<it>N</it>/2 pairwise comparisons, or the average of all <it>N </it>comparisons to the consensus structure.</p>
            </sec>
            <sec>
               <st>
                  <p>Mountain metric</p>
               </st>
               <p>The mountain metric is based on the mountain representation of RNA secondary structures <abbrgrp><abbr bid="B39">39</abbr></abbrgrp> and follows the idea that the distance between two structures <it>S</it><sub><it>x </it></sub>and <it>S</it><sub><it>y </it></sub>can be expressed as the difference of the two mountain graphs. For this purpose, a <it>l</it><sub><it>p</it></sub>-norm can be defined that induces a metric <inline-formula><m:math name="1471-2105-9-122-i10" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi>d</m:mi><m:mi>M</m:mi><m:mi>p</m:mi></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaGaemizaq2aa0baaSqaaiabd2eanbqaaiabdchaWbaaaaa@2FDD@</m:annotation></m:semantics></m:math></inline-formula> on two secondary structures <it>S</it><sub><it>x </it></sub>and <it>S</it><sub><it>y </it></sub>as the difference of the two mountain functions <it>m</it>(<it>S</it><sub><it>x</it></sub>) and <it>m</it>(<it>S</it><sub><it>y</it></sub>) <abbrgrp><abbr bid="B40">40</abbr></abbrgrp>:</p>
               <p>
                  <display-formula id="M7">
                     <m:math name="1471-2105-9-122-i11" xmlns:m="http://www.w3.org/1998/Math/MathML">
                        <m:semantics>
                           <m:mrow>
                              <m:msubsup>
                                 <m:mi>d</m:mi>
                                 <m:mi>M</m:mi>
                                 <m:mi>p</m:mi>
                              </m:msubsup>
                              <m:mo stretchy="false">(</m:mo>
                              <m:msub>
                                 <m:mi>S</m:mi>
                                 <m:mi>x</m:mi>
                              </m:msub>
                              <m:mo>,</m:mo>
                              <m:msub>
                                 <m:mi>S</m:mi>
                                 <m:mi>y</m:mi>
                              </m:msub>
                              <m:mo stretchy="false">)</m:mo>
                              <m:mo>:</m:mo>
                              <m:mo>=</m:mo>
                              <m:mo>|</m:mo>
                              <m:mo>|</m:mo>
                              <m:mi>m</m:mi>
                              <m:mo stretchy="false">(</m:mo>
                              <m:msub>
                                 <m:mi>S</m:mi>
                                 <m:mi>x</m:mi>
                              </m:msub>
                              <m:mo stretchy="false">)</m:mo>
                              <m:mo>&#8722;</m:mo>
                              <m:mi>m</m:mi>
                              <m:mo stretchy="false">(</m:mo>
                              <m:msub>
                                 <m:mi>S</m:mi>
                                 <m:mi>y</m:mi>
                              </m:msub>
                              <m:mo stretchy="false">)</m:mo>
                              <m:mo>|</m:mo>
                              <m:mo>|</m:mo>
                              <m:mo>:</m:mo>
                              <m:mo>=</m:mo>
                              <m:mo stretchy="false">(</m:mo>
                              <m:mstyle displaystyle="true">
                                 <m:munderover>
                                    <m:mo>&#8721;</m:mo>
                                    <m:mrow>
                                       <m:mi>k</m:mi>
                                       <m:mo>=</m:mo>
                                       <m:mn>1</m:mn>
                                    </m:mrow>
                                    <m:mi>n</m:mi>
                                 </m:munderover>
                                 <m:mrow>
                                    <m:mo>|</m:mo>
                                    <m:msub>
                                       <m:mi>m</m:mi>
                                       <m:mi>k</m:mi>
                                    </m:msub>
                                    <m:mo stretchy="false">(</m:mo>
                                    <m:msub>
                                       <m:mi>S</m:mi>
                                       <m:mi>x</m:mi>
                                    </m:msub>
                                    <m:mo stretchy="false">)</m:mo>
                                    <m:mo>&#8722;</m:mo>
                                    <m:msub>
                                       <m:mi>m</m:mi>
                                       <m:mi>k</m:mi>
                                    </m:msub>
                                    <m:mo stretchy="false">(</m:mo>
                                    <m:msub>
                                       <m:mi>S</m:mi>
                                       <m:mi>y</m:mi>
                                    </m:msub>
                                    <m:mo stretchy="false">)</m:mo>
                                    <m:msup>
                                       <m:mo>|</m:mo>
                                       <m:mi>p</m:mi>
                                    </m:msup>
                                    <m:msup>
                                       <m:mo stretchy="false">)</m:mo>
                                       <m:mrow>
                                          <m:mfrac>
                                             <m:mn>1</m:mn>
                                             <m:mi>p</m:mi>
                                          </m:mfrac>
                                       </m:mrow>
                                    </m:msup>
                                 </m:mrow>
                              </m:mstyle>
                           </m:mrow>
                           <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaGaemizaq2aa0baaSqaaiabd2eanbqaaiabdchaWbaakiabcIcaOiabdofatnaaBaaaleaacqWG4baEaeqaaOGaeiilaWIaem4uam1aaSbaaSqaaiabdMha5bqabaGccqGGPaqkcqGG6aGocqGH9aqpcqGG8baFcqGG8baFcqWGTbqBcqGGOaakcqWGtbWudaWgaaWcbaGaemiEaGhabeaakiabcMcaPiabgkHiTiabd2gaTjabcIcaOiabdofatnaaBaaaleaacqWG5bqEaeqaaOGaeiykaKIaeiiFaWNaeiiFaWNaeiOoaOJaeyypa0JaeiikaGYaaabCaeaacqGG8baFcqWGTbqBdaWgaaWcbaGaem4AaSgabeaakiabcIcaOiabdofatnaaBaaaleaacqWG4baEaeqaaOGaeiykaKIaeyOeI0IaemyBa02aaSbaaSqaaiabdUgaRbqabaGccqGGOaakcqWGtbWudaWgaaWcbaGaemyEaKhabeaakiabcMcaPiabcYha8naaCaaaleqabaGaemiCaahaaOGaeiykaKYaaWbaaSqabKqbagaadaWcaaqaaiabigdaXaqaaiabdchaWbaaaaaaleaacqWGRbWAcqGH9aqpcqaIXaqmaeaacqWGUbGBa0GaeyyeIuoaaaa@6FCF@</m:annotation>
                        </m:semantics>
                     </m:math>
                  </display-formula>
               </p>
               <p>The mountain function <it>m</it><sub><it>k</it></sub>(<it>S</it>) is defined as the number of base-pairs enclosing position <it>k</it>. The effect that base-pairs are weighted differently can be overcome by scaling each base-pair to the range it spans.</p>
               <p>
                  <display-formula id="M8">
                     <m:math name="1471-2105-9-122-i12" xmlns:m="http://www.w3.org/1998/Math/MathML">
                        <m:semantics>
                           <m:mrow>
                              <m:msub>
                                 <m:mi>m</m:mi>
                                 <m:mi>k</m:mi>
                              </m:msub>
                              <m:mo stretchy="false">(</m:mo>
                              <m:mi>S</m:mi>
                              <m:mo stretchy="false">)</m:mo>
                              <m:mo>=</m:mo>
                              <m:mstyle displaystyle="true">
                                 <m:munder>
                                    <m:mo>&#8721;</m:mo>
                                    <m:mrow>
                                       <m:mi>i</m:mi>
                                       <m:mo>&lt;</m:mo>
                                       <m:mi>k</m:mi>
                                    </m:mrow>
                                 </m:munder>
                                 <m:mrow>
                                    <m:mstyle displaystyle="true">
                                       <m:munder>
                                          <m:mo>&#8721;</m:mo>
                                          <m:mrow>
                                             <m:mi>k</m:mi>
                                             <m:mo>&lt;</m:mo>
                                             <m:mi>j</m:mi>
                                          </m:mrow>
                                       </m:munder>
                                       <m:mrow>
                                          <m:mfrac>
                                             <m:mn>1</m:mn>
                                             <m:mrow>
                                                <m:mi>j</m:mi>
                                                <m:mo>&#8722;</m:mo>
                                                <m:mi>i</m:mi>
                                                <m:mo>&#8722;</m:mo>
                                                <m:mn>1</m:mn>
                                             </m:mrow>
                                          </m:mfrac>
                                       </m:mrow>
                                    </m:mstyle>
                                 </m:mrow>
                              </m:mstyle>
                           </m:mrow>
                           <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaGaemyBa02aaSbaaSqaaiabdUgaRbqabaGccqGGOaakcqWGtbWucqGGPaqkcqGH9aqpdaaeqbqaamaaqafajuaGbaWaaSaaaeaacqaIXaqmaeaacqWGQbGAcqGHsislcqWGPbqAcqGHsislcqaIXaqmaaaaleaacqWGRbWAcqGH8aapcqWGQbGAaeqaniabggHiLdaaleaacqWGPbqAcqGH8aapcqWGRbWAaeqaniabggHiLdaaaa@45D4@</m:annotation>
                        </m:semantics>
                     </m:math>
                  </display-formula>
               </p>
               <p>As <inline-formula><m:math name="1471-2105-9-122-i10" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi>d</m:mi><m:mi>M</m:mi><m:mi>p</m:mi></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaGaemizaq2aa0baaSqaaiabd2eanbqaaiabdchaWbaaaaa@2FDD@</m:annotation></m:semantics></m:math></inline-formula> is expected to grow with the length of sequences, we are in the need of defining a normalized distance measure to be able to compare distances for sequence pairs of different length. The maximal distance of a secondary structure <it>S</it><sub><it>max </it></sub>on a sequence of length <it>n </it>to the open chain <it>S</it><sub><it>open </it></sub>is obtained if <it>S</it><sub><it>max </it></sub>is a stem of maximal height (&#8970;(<it>n </it>- 3)/2&#8971;), which is a hairpin loop enclosing three unpaired bases. The normalized mountain metric <inline-formula><m:math name="1471-2105-9-122-i13" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi>D</m:mi><m:mi>M</m:mi><m:mi>p</m:mi></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaGaemiraq0aa0baaSqaaiabd2eanbqaaiabdchaWbaaaaa@2F9D@</m:annotation></m:semantics></m:math></inline-formula> is then defined as the ratio of the distance <inline-formula><m:math name="1471-2105-9-122-i10" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi>d</m:mi><m:mi>M</m:mi><m:mi>p</m:mi></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaGaemizaq2aa0baaSqaaiabd2eanbqaaiabdchaWbaaaaa@2FDD@</m:annotation></m:semantics></m:math></inline-formula> (<it>S</it><sub><it>x</it></sub>, <it>S</it><sub><it>y</it></sub>) of two secondary structures with length <it>n </it>to the maximal distance <inline-formula><m:math name="1471-2105-9-122-i10" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi>d</m:mi><m:mi>M</m:mi><m:mi>p</m:mi></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaGaemizaq2aa0baaSqaaiabd2eanbqaaiabdchaWbaaaaa@2FDD@</m:annotation></m:semantics></m:math></inline-formula> (<it>S</it><sub><it>max</it></sub>, <it>S</it><sub><it>open</it></sub>) at length <it>n</it>:</p>
               <p>
                  <display-formula id="M9">
                     <m:math name="1471-2105-9-122-i14" xmlns:m="http://www.w3.org/1998/Math/MathML">
                        <m:semantics>
                           <m:mrow>
                              <m:msubsup>
                                 <m:mi>D</m:mi>
                                 <m:mi>M</m:mi>
                                 <m:mi>p</m:mi>
                              </m:msubsup>
                              <m:mo stretchy="false">(</m:mo>
                              <m:msub>
                                 <m:mi>S</m:mi>
                                 <m:mi>x</m:mi>
                              </m:msub>
                              <m:mo>,</m:mo>
                              <m:msub>
                                 <m:mi>S</m:mi>
                                 <m:mi>y</m:mi>
                              </m:msub>
                              <m:mo stretchy="false">)</m:mo>
                              <m:mo>=</m:mo>
                              <m:mfrac>
                                 <m:mrow>
                                    <m:msubsup>
                                       <m:mi>d</m:mi>
                                       <m:mi>M</m:mi>
                                       <m:mi>p</m:mi>
                                    </m:msubsup>
                                    <m:mo stretchy="false">(</m:mo>
                                    <m:msub>
                                       <m:mi>S</m:mi>
                                       <m:mi>x</m:mi>
                                    </m:msub>
                                    <m:mo>,</m:mo>
                                    <m:msub>
                                       <m:mi>S</m:mi>
                                       <m:mi>y</m:mi>
                                    </m:msub>
                                    <m:mo stretchy="false">)</m:mo>
                                 </m:mrow>
                                 <m:mrow>
                                    <m:msubsup>
                                       <m:mi>d</m:mi>
                                       <m:mi>M</m:mi>
                                       <m:mi>p</m:mi>
                                    </m:msubsup>
                                    <m:mo stretchy="false">(</m:mo>
                                    <m:msub>
                                       <m:mi>S</m:mi>
                                       <m:mrow>
                                          <m:mi>m</m:mi>
                                          <m:mi>a</m:mi>
                                          <m:mi>x</m:mi>
                                       </m:mrow>
                                    </m:msub>
                                    <m:mo>,</m:mo>
                                    <m:msub>
                                       <m:mi>S</m:mi>
                                       <m:mrow>
                                          <m:mi>o</m:mi>
                                          <m:mi>p</m:mi>
                                          <m:mi>e</m:mi>
                                          <m:mi>n</m:mi>
                                       </m:mrow>
                                    </m:msub>
                                    <m:mo stretchy="false">)</m:mo>
                                 </m:mrow>
                              </m:mfrac>
                           </m:mrow>
                           <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaGaemiraq0aa0baaSqaaiabd2eanbqaaiabdchaWbaakiabcIcaOiabdofatnaaBaaaleaacqWG4baEaeqaaOGaeiilaWIaem4uam1aaSbaaSqaaiabdMha5bqabaGccqGGPaqkcqGH9aqpjuaGdaWcaaqaaiabdsgaKnaaDaaabaGaemyta0eabaGaemiCaahaaiabcIcaOiabdofatnaaBaaabaGaemiEaGhabeaacqGGSaalcqWGtbWudaWgaaqaaiabdMha5bqabaGaeiykaKcabaGaemizaq2aa0baaeaacqWGnbqtaeaacqWGWbaCaaGaeiikaGIaem4uam1aaSbaaeaacqWGTbqBcqWGHbqycqWG4baEaeqaaiabcYcaSiabdofatnaaBaaabaGaem4Ba8MaemiCaaNaemyzauMaemOBa4gabeaacqGGPaqkaaaaaa@58EE@</m:annotation>
                        </m:semantics>
                     </m:math>
                  </display-formula>
               </p>
            </sec>
            <sec>
               <st>
                  <p>Tree editing</p>
               </st>
               <p>RNA secondary structures can be represented as ordered, rooted trees <abbrgrp><abbr bid="B41">41</abbr><abbr bid="B42">42</abbr><abbr bid="B43">43</abbr></abbrgrp>. The tree representation can be deduced from the dot-bracket notation (characters "(" and ")" correspond to the 5' base and the 3' base in the base-pair, respectively, while "." denotes an unpaired base), as the brackets clearly imply parent-child relationships. The ordering among the siblings of a node is imposed by the 5' to 3' nature of the RNA molecule. To avoid formation of an unconnected forest of trees, a virtual root has to be introduced.</p>
               <p>The tree representation at full resolution without any loss of information with regard to the dot-bracket notation can be derived by assigning each unpaired base to a leaf node and each base-pair to an internal node. The resulting tree can be rewritten to a <it>homeomorphically irreducible tree </it>(HIT) by collapsing all base-pairs in a stem into a single internal node and adjacent unpaired bases into a single leaf node <abbrgrp><abbr bid="B43">43</abbr></abbrgrp>. Each node is then assigned a weight reflecting the number of nodes or leaves that were combined.</p>
               <p>Shapiro proposed another encoding that retains only a coarse-grained shape of a secondary structure <abbrgrp><abbr bid="B41">41</abbr></abbrgrp>. This is useful in the case of comparison of major structural elements of a RNA molecule but it comes along with a loss of information (cf. section "Abstract shapes"). A secondary structure can be decomposed into stems (S), hairpin loops (H), interior loops (I), multi-loops (M), and external nucleotides (E). While external nucleotides are assigned to a leaf, unpaired bases in a multi-loop are lost. The weighted coarse-grained approach compensates the effect of information reduction at least by assigning to each node or leaf the number of elements that were condensed to it.</p>
               <p>Tree editing induces a metric in the space of trees and hence a metric in the space of RNA secondary structures. An edit script, which is a series of edit operations, namely deletion, insertion and relabeling of a node, each assigned a cost can transform any tree <it>T</it><sub><it>x </it></sub>into any other tree <it>T</it><sub><it>y</it></sub>. The distance between two trees <it>d</it>(<it>T</it><sub><it>x</it></sub>, <it>T</it><sub><it>y</it></sub>) is then defined as the cost of the edit script with minimal cost. Normalization of the tree editing distance is done by comparing the distance of two trees <it>d</it>(<it>T</it><sub><it>x</it></sub>, <it>T</it><sub><it>y</it></sub>) to the sum of the costs of deleting either of the two secondary structures, where &#8226; denotes a tree consisting solely of a root:</p>
               <p>
                  <display-formula id="M10">
                     <m:math name="1471-2105-9-122-i15" xmlns:m="http://www.w3.org/1998/Math/MathML">
                        <m:semantics>
                           <m:mrow>
                              <m:msub>
                                 <m:mi>D</m:mi>
                                 <m:mi>T</m:mi>
                              </m:msub>
                              <m:mo stretchy="false">(</m:mo>
                              <m:msub>
                                 <m:mi>T</m:mi>
                                 <m:mi>x</m:mi>
                              </m:msub>
                              <m:mo>,</m:mo>
                              <m:msub>
                                 <m:mi>T</m:mi>
                                 <m:mi>y</m:mi>
                              </m:msub>
                              <m:mo stretchy="false">)</m:mo>
                              <m:mo>=</m:mo>
                              <m:mfrac>
                                 <m:mrow>
                                    <m:mi>d</m:mi>
                                    <m:mo stretchy="false">(</m:mo>
                                    <m:msub>
                                       <m:mi>T</m:mi>
                                       <m:mi>x</m:mi>
                                    </m:msub>
                                    <m:mo>,</m:mo>
                                    <m:msub>
                                       <m:mi>T</m:mi>
                                       <m:mi>y</m:mi>
                                    </m:msub>
                                    <m:mo stretchy="false">)</m:mo>
                                 </m:mrow>
                                 <m:mrow>
                                    <m:mi>d</m:mi>
                                    <m:mo stretchy="false">(</m:mo>
                                    <m:msub>
                                       <m:mi>T</m:mi>
                                       <m:mi>x</m:mi>
                                    </m:msub>
                                    <m:mo>,</m:mo>
                                    <m:mo>&#8226;</m:mo>
                                    <m:mo stretchy="false">)</m:mo>
                                    <m:mo>+</m:mo>
                                    <m:mi>d</m:mi>
                                    <m:mo stretchy="false">(</m:mo>
                                    <m:mo>&#8226;</m:mo>
                                    <m:mo>,</m:mo>
                                    <m:msub>
                                       <m:mi>T</m:mi>
                                       <m:mi>y</m:mi>
                                    </m:msub>
                                    <m:mo stretchy="false">)</m:mo>
                                 </m:mrow>
                              </m:mfrac>
                           </m:mrow>
                           <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaGaemiraq0aaSbaaSqaaiabdsfaubqabaGccqGGOaakcqWGubavdaWgaaWcbaGaemiEaGhabeaakiabcYcaSiabdsfaunaaBaaaleaacqWG5bqEaeqaaOGaeiykaKIaeyypa0tcfa4aaSaaaeaacqWGKbazcqGGOaakcqWGubavdaWgaaqaaiabdIha4bqabaGaeiilaWIaemivaq1aaSbaaeaacqWG5bqEaeqaaiabcMcaPaqaaiabdsgaKjabcIcaOiabdsfaunaaBaaabaGaemiEaGhabeaacqGGSaalcqGHIaYTcqGGPaqkcqGHRaWkcqWGKbazcqGGOaakcqGHIaYTcqGGSaalcqWGubavdaWgaaqaaiabdMha5bqabaGaeiykaKcaaaaa@5356@</m:annotation>
                        </m:semantics>
                     </m:math>
                  </display-formula>
               </p>
               <p>Among the methods used here, tree editing is the only one that can act on structures of unequal length. In this work we will focus on two different implementations of tree editing. RNAdistance <abbrgrp><abbr bid="B33">33</abbr></abbrgrp> a tool from the <it>Vienna RNA </it>package implements a tree editing algorithm initially proposed by Shapiro <abbrgrp><abbr bid="B41">41</abbr></abbrgrp> and acts on the full representation, HIT representation <abbrgrp><abbr bid="B43">43</abbr></abbrgrp>, coarse-grained and weighted coarse-grained representation <abbrgrp><abbr bid="B41">41</abbr></abbrgrp>. Allali &amp; Sagot <abbrgrp><abbr bid="B44">44</abbr></abbrgrp> pointed out some shortcomings of the classic tree editing operations and introduced novel editing operations called <it>node-fusion </it>and <it>edge-fusion</it>, implemented in the program MiGaL. MiGaL uses a new concept of encoding trees at different levels of abstraction called layers <abbrgrp><abbr bid="B45">45</abbr></abbrgrp>, which are interconnected to each other via vertex coloring operations.</p>
            </sec>
         </sec>
         <sec>
            <st>
               <p>Methods considering the entire folding space</p>
            </st>
            <sec>
               <st>
                  <p>Distance of structure ensembles</p>
               </st>
               <p>Because the stabilizing energies of base-pair formation are in the same energy range as the thermal energy, RNA molecules in physiological conditions are far away from being caged into one rigid secondary structure. Instead, one usually observes an ensemble of RNA structures, which can be represented by an energy weighted Boltzmann distribution. McCaskill proposed a dynamic programming algorithm <abbrgrp><abbr bid="B46">46</abbr></abbrgrp> that allows to efficiently compute the partition function <it>Q</it>, where &#916;<it>G </it>is the conformational Gibb's Free Energy change, <it>R </it>is the gas constant, <it>T </it>is the absolute temperature, and <inline-formula><m:math name="1471-2105-9-122-i16" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="double-struck">S</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaWefv3ySLgznfgDOjdaryqr1ngBPrginfgDObcv39gaiqaacqWFsc=uaaa@37CF@</m:annotation></m:semantics></m:math></inline-formula> is the ensemble of possible secondary structures.</p>
               <p>
                  <display-formula id="M11">
                     <m:math name="1471-2105-9-122-i17" xmlns:m="http://www.w3.org/1998/Math/MathML">
                        <m:semantics>
                           <m:mrow>
                              <m:mi>Q</m:mi>
                              <m:mo>=</m:mo>
                              <m:mstyle displaystyle="true">
                                 <m:munder>
                                    <m:mo>&#8721;</m:mo>
                                    <m:mrow>
                                       <m:mi>S</m:mi>
                                       <m:mo>&#8712;</m:mo>
                                       <m:mi mathvariant="double-struck">S</m:mi>
                                    </m:mrow>
                                 </m:munder>
                                 <m:mrow>
                                    <m:msup>
                                       <m:mi>e</m:mi>
                                       <m:mrow>
                                          <m:mfrac>
                                             <m:mrow>
                                                <m:mo>&#8722;</m:mo>
                                                <m:mi>&#916;</m:mi>
                                                <m:mi>G</m:mi>
                                                <m:mo stretchy="false">(</m:mo>
                                                <m:mi>S</m:mi>
                                                <m:mo stretchy="false">)</m:mo>
                                             </m:mrow>
                                             <m:mrow>
                                                <m:mi>R</m:mi>
                                                <m:mi>T</m:mi>
                                             </m:mrow>
                                          </m:mfrac>
                                       </m:mrow>
                                    </m:msup>
                                 </m:mrow>
                              </m:mstyle>
                           </m:mrow>
                           <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaGaemyuaeLaeyypa0ZaaabuaeaacqWGLbqzdaahaaWcbeqcfayaamaalaaabaGaeyOeI0IaeuiLdqKaem4raCKaeiikaGIaem4uamLaeiykaKcabaGaemOuaiLaemivaqfaaaaaaSqaaiabdofatjabgIGioprr1ngBPrwtHrhAYaqeguuDJXwAKbstHrhAGq1DVbaceaGae8NKWpfabeqdcqGHris5aaaa@49EB@</m:annotation>
                        </m:semantics>
                     </m:math>
                  </display-formula>
               </p>
               <p>The probability of a single structure <it>S </it>is then given by</p>
               <p>
                  <display-formula id="M12">
                     <m:math name="1471-2105-9-122-i18" xmlns:m="http://www.w3.org/1998/Math/MathML">
                        <m:semantics>
                           <m:mrow>
                              <m:mi>P</m:mi>
                              <m:mo stretchy="false">(</m:mo>
                              <m:mi>S</m:mi>
                              <m:mo stretchy="false">)</m:mo>
                              <m:mo>=</m:mo>
                              <m:mfrac>
                                 <m:mrow>
                                    <m:msup>
                                       <m:mi>e</m:mi>
                                       <m:mrow>
                                          <m:mo>&#8722;</m:mo>
                                          <m:mi>&#916;</m:mi>
                                          <m:mi>G</m:mi>
                                          <m:mo stretchy="false">(</m:mo>
                                          <m:mi>S</m:mi>
                                          <m:mo stretchy="false">)</m:mo>
                                          <m:mo>/</m:mo>
                                          <m:mi>R</m:mi>
                                          <m:mi>T</m:mi>
                                       </m:mrow>
                                    </m:msup>
                                 </m:mrow>
                                 <m:mi>Q</m:mi>
                              </m:mfrac>
                           </m:mrow>
                           <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaGaemiuaaLaeiikaGIaem4uamLaeiykaKIaeyypa0tcfa4aaSaaaeaacqWGLbqzdaahaaqabeaacqGHsislcqqHuoarcqWGhbWrcqGGOaakcqWGtbWucqGGPaqkcqGGVaWlcqWGsbGucqWGubavaaaabaGaemyuaefaaaaa@3DFE@</m:annotation>
                        </m:semantics>
                     </m:math>
                  </display-formula>
               </p>
               <p>and hence the probability of a single base-pair (<it>i</it>, <it>j</it>) is</p>
               <p>
                  <display-formula id="M13">
                     <m:math name="1471-2105-9-122-i19" xmlns:m="http://www.w3.org/1998/Math/MathML">
                        <m:semantics>
                           <m:mrow>
                              <m:msub>
                                 <m:mi>p</m:mi>
                                 <m:mrow>
                                    <m:mi>i</m:mi>
                                    <m:mi>j</m:mi>
                                 </m:mrow>
                              </m:msub>
                              <m:mo>=</m:mo>
                              <m:mstyle displaystyle="true">
                                 <m:munder>
                                    <m:mo>&#8721;</m:mo>
                                    <m:mrow>
                                       <m:mi>S</m:mi>
                                       <m:mo>&#8712;</m:mo>
                                       <m:mi mathvariant="double-struck">S</m:mi>
                                    </m:mrow>
                                 </m:munder>
                                 <m:mrow>
                                    <m:mi>P</m:mi>
                                    <m:mo stretchy="false">(</m:mo>
                                    <m:mi>S</m:mi>
                                    <m:mo stretchy="false">)</m:mo>
                                    <m:msubsup>
                                       <m:mi>&#948;</m:mi>
                                       <m:mrow>
                                          <m:mi>i</m:mi>
                                          <m:mi>j</m:mi>
                                       </m:mrow>
                                       <m:mi>S</m:mi>
                                    </m:msubsup>
                                 </m:mrow>
                              </m:mstyle>
                           </m:mrow>
                           <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaGaemiCaa3aaSbaaSqaaiabdMgaPjabdQgaQbqabaGccqGH9aqpdaaeqbqaaiabdcfaqjabcIcaOiabdofatjabcMcaPGGaciab=r7aKnaaDaaaleaacqWGPbqAcqWGQbGAaeaacqWGtbWuaaaabaGaem4uamLaeyicI48efv3ySLgznfgDOjdaryqr1ngBPrginfgDObcv39gaiqaacqGFsc=uaeqaniabggHiLdaaaa@4C0E@</m:annotation>
                        </m:semantics>
                     </m:math>
                  </display-formula>
               </p>
               <p>where <inline-formula><m:math name="1471-2105-9-122-i20" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi>&#948;</m:mi><m:mrow><m:mi>i</m:mi><m:mi>j</m:mi></m:mrow><m:mi>S</m:mi></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaacciGae8hTdq2aa0baaSqaaiabdMgaPjabdQgaQbqaaiabdofatbaaaaa@3193@</m:annotation></m:semantics></m:math></inline-formula> is one if (<it>i</it>, <it>j</it>) is a base-pair of structure <it>S</it>, and zero otherwise. Using these assumptions the equation of the base-pair distance can be remodeled to calculate the average base-pair distance <inline-formula><m:math name="1471-2105-9-122-i21" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:mo>&#9001;</m:mo><m:msub><m:mi>d</m:mi><m:mrow><m:mi>B</m:mi><m:mi>P</m:mi></m:mrow></m:msub><m:mo stretchy="false">(</m:mo><m:msub><m:mi mathvariant="double-struck">S</m:mi><m:mi>y</m:mi></m:msub><m:mo>,</m:mo><m:msub><m:mi mathvariant="double-struck">S</m:mi><m:mi>x</m:mi></m:msub><m:mo stretchy="false">)</m:mo><m:mo>&#9002;</m:mo></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaGaeyykJeUaemizaq2aaSbaaSqaaiabdkeacjabdcfaqbqabaGccqGGOaaktuuDJXwAK1uy0HMmaeHbfv3ySLgzG0uy0HgiuD3BaGabaiab=jj8tnaaBaaaleaacqWG5bqEaeqaaOGaeiilaWIae8NKWp1aaSbaaSqaaiabdIha4bqabaGccqGGPaqkcqGHQms8aaa@475B@</m:annotation></m:semantics></m:math></inline-formula> between all structures of the two ensembles <inline-formula><m:math name="1471-2105-9-122-i22" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msub><m:mi mathvariant="double-struck">S</m:mi><m:mi>x</m:mi></m:msub></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaWefv3ySLgznfgDOjdaryqr1ngBPrginfgDObcv39gaiqaacqWFsc=udaWgaaWcbaGaemiEaGhabeaaaaa@3974@</m:annotation></m:semantics></m:math></inline-formula> and <inline-formula><m:math name="1471-2105-9-122-i23" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msub><m:mi mathvariant="double-struck">S</m:mi><m:mi>y</m:mi></m:msub></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGacaGaaiaabeqaaeqabiWaaaGcbaWefv3ySLgznfgDOjdaryqr1ngBPrginfgDObcv39gaiqaacqWFsc=udaWgaaWcbaGaemyEaKhabeaaaaa@3976@</m:annotation></m:semantics></m:math></inline-formula>.</p>
               <p>
                  <display-formula id="M14">
                     <m:math name="1471-2105-9-122-i24" xmlns:m="http://www.w3.org/1998/Math/MathML">
                        <m:semantics>
                           <m:mrow>
                              <m:mtable columnalign="left">
                                 <m:mtr columnalign="left">
                                    <m:mtd columnalign="left">
                                       <m:mrow>
                                          <m:mo>&#9001;</m:mo>
                                          <m:msub>
                                             <m:mi>d</m:mi>
                                             <m:mrow>
                                                <m:mi>B</m:mi>
                                                <m:mi>P</m:mi>
                                             </m:mrow>
                                          </m:msub>
                                          <m:mo stretchy="false">(</m:mo>
                                          <m:msub>
                                             <m:mi mathvariant="double-struck">S</m:mi>
                                             <m:mi>x</m:mi>
                                          </m:msub>
                                          <m:mo>,</m:mo>
                                          <m:msub>
                                             <m:mi mathvariant="double-struck">S</m:mi>
                                             <m:mi>y</m:mi>
                                          </m:msub>
                                          <m:mo stretchy="false">)</m:mo>
                                          <m:mo>&#9002;</m:mo>
                                       </m:mrow>
                                    </m:mtd>
                                    <m:mtd columnalign="left">
                                       <m:mo>=</m:mo>
                                    </m:mtd>
                                    <m:mtd columnalign="left">
                                       <m:mrow>
                                          <m:mstyle displaystyle="true">
                                             <m:munder>
                                                <m:mo>&#8721;</m:mo>
                                                <m:mrow>
                                                   <m:msub>
                                                      <m:mi>S</m:mi>
                                                      <m:mi>x</m:mi>
                                                   </m:msub>
                                                   <m:mo>&#8712;</m:mo>
                                                   <m:msub>
                                                      <m:mi mathvariant="double-struck">S</m:mi>
                                                      <m:mi>x</m:mi>
                                                   </m:msub>
                                                </m:mrow>
                                             </m:munder>
                                             <m:mrow>
                                                <m:mstyle displaystyle="true">
                                                   <m:munder>
                                                      <m:mo>&#8721;</m:mo>
                                                      <m:mrow>
                                                         <m:msub>
                                                            <m:mi>S</m:mi>
                                                            <m:mi>y</m:mi>
                                                         </m:msub>
                                                         <m:mo>&#8712;</m:mo>
                                                         <m:msub>
                                                            <m:mi mathvariant="double-struck">S</m:mi>
                                                            <m:mi>y</m:mi>
                                                         </m:msub>
                                                      </m:mrow>
                                                   </m:munder>
                                                   <m:mrow>
                                                      <m:mrow>
                                                         <m:mo>[</m:mo>
                                                         <m:mrow>
                                                            <m:mi>P</m:mi>
                                                            <m:mo stretchy="false">(</m:mo>
                                                            <m:msub>
                                                               <m:mi>S</m:mi>
                                                               <m:mi>x</m:mi>
                                                            </m:msub>
                                                            <m:mo stretchy="false">)</m:mo>
                                                            <m:mi>P</m:mi>
                                                            <m:mo stretchy="false">(</m:mo>
                                                            <m:msub>
                                                               <m:mi>S</m:mi>
                                                               <m:mi>y</m:mi>
                                                            </m:msub>
                                                            <m:mo stretchy="false">)</m:mo>
                                                            <m:mstyle displaystyle="true">
                                                               <m:munder>
                                                                  <m:mo>&#8721;</m:mo>
                                                                  <m:mrow>
                                                                     <m:mi>i</m:mi>
                                                                     <m:mo>&lt;</m:mo>
                                                                     <m:mi>j</m:mi>
                                                                  </m:mrow>
                                                               </m:munder>
                                                               <m:mrow>
                                                                  <m:mo stretchy="false">(</m:mo>
                                                                  <m:msubsup>
                                                                     <m:mi>&#948;</m:mi>
                                                                     <m:mrow>
                                                                        <m:mi>i</m:mi>
                                                                        <m:mi>j</m:mi>
                                                                     </m:mrow>
                                                                     <m:mi>x</m:mi>
                                                                  </m:msubsup>
                                                                  <m:mo>+</m:mo>
                                                                  <m:msubsup>
                                                                     <m:mi>&#948;</m:mi>
                                                                     <m:mrow>
                                                                        <m:mi>i</m:mi>
                                                                        <m:mi>j</m:mi>
                                                                     </m:mrow>
                                                                     <m:mi>y</m:mi>
                                                                  </m:msubsup>
                                                                  <m:mo>&#8722;</m:mo>
                                                                  <m:mn>2</m:mn>
                                                                  <m:msubsup>
                                                                     <m:mi>&#948;</m:mi>
                                                                     <m:mrow>
                                                                        <m:mi>i</m:mi>
                                                                        <m:mi>j</m:mi>
                                                                     </m:mrow>
                                                                     <m:mi>x</m:mi>
                                                                  </m:msubsup>
                                                                  <m:msubsup>
                                                                     <m:mi>&#948;</m:mi>
                                                                     <m:mrow>
                                                                        <m:mi>i</m:mi>
                                                                        <m:mi>j</m:mi>
                                                                     </m:mrow>
                                                                     <m:mi>y</m:mi>
                                                                  </m:msubsup>
                                                                  <m:mo stretchy="false">)</m:mo>
                                                               </m:mrow>
                                                            </m:mstyle>
                                                         </m:mrow>
                                                         <m:mo>]</m:mo>
                                                      </m:mrow>
                                                   </m:mrow>
                                                </m:mstyle>
                                             </m:mrow>
                                          </m:mstyle>
                                       </m:mrow>
                                    </m:mtd>
                                 </m:mtr>
                                 <m:mtr columnalign="left">
                                    <m:mtd columnalign="left">
                                       <m:mrow/>
                                    </m:mtd>
                                    <m:mtd columnalign="left">
                                       <m:mo>=</m:mo>
                                    </m:mtd>
                                    <m:mtd columnalign="left">
                                       <m:mrow>
                                          <m:mstyle displaystyle="true">
                                             <m:munder>
                                                <m:mo>&#8721;</m:mo>
                                                <m:mrow>
                                                   <m:mi>i</m:mi>
                                                   <m:mo>&lt;</m:mo>
                                                   <m:mi>j</m:mi>
                                                </m:mrow>
                                             </m:munder>
                                             <m:mrow>
                                                <m:mrow>
                                                   <m:mo>[</m:mo>
                                                   <m:mrow>
                                                      <m:mstyle displaystyle="true">
                                                         <m:munder>
                                                            <m:mo>&#8721;</m:mo>
                                                            <m:mrow>
                                                               <m:msub>
                                                                  <m:mi>S</m:mi>
                                                                  <m:mi>x</m:mi>
                                                               </m:msub>
                                                               <m:mo>&#8712;</m:mo>
                                                               <m:msub>
                                                                  <m:mi mathvariant="double-struck">S</m:mi>
                                                                  <m:mi>x</m:mi>
                                                               </m:msub>
                                                            </m:mrow>
                                                         </m:munder>
                                                         <m:mrow>
                                                            <m:mi>P</m:mi>
                                                            <m:mo stretchy="false">(</m:mo>
                                                            <m:msub>
                                                               <m:mi>S</m:mi>
                                                               <m:mi>x</m:mi>
                                                            </m:msub>
                                                            <m:mo stretchy="false">)</m:mo>
                                                            <m:msubsup>
                                                               <m:mi>&#948;</m:mi>
                                                               <m:mrow>
                                                                  <m:mi>i</m:mi>
                                                                  <m:mi>j</m:mi>
                                                               </m:mrow>
                                                               <m:mi>x</m:mi>
                                                            </m:msubsup>
                                                         </m:mrow>
                                                      </m:mstyle>
                                                      <m:mstyle displaystyle="true">
                                                         <m:munder>
                                                            <m:mo>&#8721;</m:mo>
                                                            <m:mrow>
                                                               <m:msub>
                                                                  <m:mi>S</m:mi>
                                                                  <m:mi>y</m:mi>
                                                               </m:msub>
                                                               <m:mo>&#8712;</m:mo>
                                                               <m:msub>
                                                                  <m:mi mathvariant="double-struck">S</m:mi>
                                                                  <m:mi>y</m:mi>
                                                               </m:msub>
                                                            </m:mrow>
                                                         </m:munder>
                                                         <m:mrow>
                                                            <m:mi>P</m:mi>
                                                            <m:mo stretchy="false">(</m:mo>
                                                            <m:msub>
                                                               <m:mi>S</m:mi>
                                                               <m:mi>y</m:mi>
                                                            </m:msub>
                                                            <m:mo stretchy="false">)</m:mo>
                                                         </m:mrow>
                                                      </m:mstyle>
                                                   </m:mrow>
                                                </m:mrow>
                                             </m:mrow>
                                          </m:mstyle>
                                       </m:mrow>
                                    </m:mtd>
                                 </m:mtr>
                                 <m:mtr columnalign="left">
                                    <m:mtd columnalign="left">
                                       <m:mrow/>
                                    </m:mtd>
                                    <m:mtd columnalign="left">
                                       <m:mrow/>
                                    </m:mtd>
                                    <m:mtd columnalign="left">
                                       <m:mrow>
                                          <m:mo>+</m:mo>
                                          <m:mstyle displaystyle="true">
                                             <m:munder>
                                                <m:mo>&#8721;</m:mo>
                                                <m:mrow>
                                                   <m:msub>
                                                      <m:mi>S</m:mi>
                                                      <m:mi>y</m:mi>
                                                   </m:msub>
                                                   <m:mo>&#8712;</m:mo>
                                                   <m:msub>
                                                      <m:mi mathvariant="double-struck">S</m:mi>
                                                      <m:mi>y</m:mi>
                                                   </m:msub>
                                                </m:mrow>
                                             </m:munder>
                                             <m:mrow>
                                                <m:mi>P</m:mi>
                                                <m:mo stretchy="false">(</m:mo>
                                                <m:msub>
                                                   <m:mi>S</m:mi>
                                                   <m:mi>y</m:mi>
                                                </m:msub>
                                                <m:mo stretchy="false">)</m:mo>
                                                <m:msubsup>
                                                   <m:mi>&#948;</m:mi>
                                                   <m:mrow>
                                                      <m:mi>i</m:mi>
                                                      <m:mi>j</m:mi>
                                                   </m:mrow>
                                                   <m:mi>y</m:mi>
                                                </m:msubsup>
                                             </m:mrow>
                                          </m:mstyle>
                                          <m:mstyle displaystyle="true">
                                             <m:munder>
                                                <m:mo>&#8721;</m:mo>
                                                <m:mrow>
                                                   <m:msub>
                                                      <m:mi>S</m:mi>
                                                      <m:mi>x</m:mi>
                                                   </m:msub>
                                                   <m:mo>&#8712;</m:mo>
                                                   <m:msub>
                                                      <m:mi mathvariant="double-struck">S</m:mi>
                                                      <m:mi>x</m:mi>
                                                   </m:msub>
                                                </m:mrow>
                                             </m:munder>
                                             <m:mrow>
                                                <m:mi>P</m:mi>
                                                <m:mo stretchy="false">(</m:mo>
                                                <m:msub>
                                                   <m:mi>S</m:mi>
                                                   <m:mi>x</m:mi>
                                                </m:msub>
                                                <m:mo stretchy="false">)</m:mo>
                                             </m:mrow>
                                          </m:mstyle>
                                       </m:mrow>
                                    </m:mtd>
                                 </m:mtr>
                                 <m:mtr columnalign="left">
                                    <m:mtd columnalign="left">
                                       <m:mrow/>
                                    </m:mtd>
                                    <m:mtd columnalign="left">
                                       <m:mrow/>
                                    </m:mtd>
                                    <m:mtd columnalign="left">
                                       <m:mrow>
                                          <m:mrow>
                                             <m:mrow>
                                                <m:mo>&#8722;</m:mo>
                                                <m:mn>2</m:mn>
                                                <m:mstyle displaystyle="true">
                                                   <m:munder>
                                                      <m:mo>&#8721;</m:mo>
                                                      <m:mrow>
                                                         <m:msub>
                                                            <m:mi>S</m:mi>
                                                            <m:mi>x</m:mi>
                                                         </m:msub>
                                                         <m:mo>&#8712;</m:mo>
                                                         <m:msub>
                                                            <m:mi mathvariant="double-struck">S</m:mi>
                                                            <m:mi>x</m:mi>
                                                         </m:msub>
                                                      </m:mrow>
                                                   </m:munder>
                                                   <m:mrow>
                                                      <m:mi>P</m:mi>
                                                      <m:mo stretchy="false">(</m:mo>
                                                      <m:msub>
                                                         <m:mi>S</m:mi>
                                                         <m:mi>x</m:mi>
                                                      </m:msub>
                                                      <m:mo stretchy="false">)</m:mo>
                                                      <m:msubsup>
                                                         <m:mi>&#948;</m:mi>
                                                         <m:mrow>
                                                            <m:mi>i</m:mi>
                                                            <m:mi>j</m:mi>
                                                         </m:mrow>
                                                         <m:mi>x</m:mi>
                                                      </m:msubsup>
                                                   </m:mrow>
                                                </m:mstyle>
                                                <m:mstyle displaystyle="true">
                                                   <m:munder>
                                                      <m:mo>&#8721;</m:mo>
                                                      <m:mrow>
                                                         <m:msub>
                                                            <m:mi>S</m:mi>
                                                            <m:mi>y</m:mi>
                                                         </m:msub>
                                                         <m:mo>&#8712;</m:mo>
                                                         <m:msub>
                                                            <m:mi mathvariant="double-struck">S</m:mi>
                                                            <m:mi>y</m:mi>
                                                         </m:msub>
                                                      </m:mrow>
                                                   </m:munder>
                                                   <m:mrow>
                                                      <m:mi>P</m:mi>
                                                      <m:mo stretchy="false">(</m:mo>
                                                      <m:msub>
                                                         <m:mi>S</m:mi>
                                                         <m:mi>y</m:mi>
                                                      </m:msub>
                                                      <m:mo stretchy="false">)</m:mo>
                                                      <m:msubsup>
                                                         <m:mi>&#948;</m:mi>
                                                         <m:mrow>
                                                            <m:mi>i</m:mi>
                                                            <m:mi>j</m:mi>
                                                         </m:mrow>
                                                         <m:mi>x</m:mi>
                                                      </m:msubsup>
                                                   </m:mrow>
                                                