# RNA结构预测

RNA结构预测（RNA structure prediction）是从核苷酸序列推断RNA分子折叠结构的计算任务，最常见的是二级结构（碱基对列表），并且越来越多地以全原子三维模型的形式出现。输出形式从点括号字符串，到碱基对概率矩阵，再到三维坐标不等。

| 关键事实 | 详情 |
|---|---|
| 典型二维输出 | 点括号字符串：圆点表示未配对核苷酸，配对的括号表示碱基对，并附有以kcal/mol为单位的折叠自由能<sup>[1](https://www.tbi.univie.ac.at/RNA/ViennaRNA/refman/tutorial/RNAfold.html)</sup> |
| 准确率上限 | 最准确的二级结构方法能正确预测约70%的已知碱基对<sup>[2](https://rnajournal.cshlp.org/content/32/4/428.full)</sup> |
| 基准性能 | 在默认参数下，mfold和RNAfold的精确预测率分别为46%和47%，良好预测率分别为83%和82%（AptaMat距离 ≤ 1.5）<sup>[3](https://link.springer.com/article/10.1186/s12859-023-05532-5)</sup> |
| 核心算法 | 最小自由能折叠、配分函数计算碱基对概率、次优折叠，均为动态规划，全部打包在ViennaRNA软件包中<sup>[4](https://www.tbi.univie.ac.at/RNA/)</sup> |
| 运行时间限制 | 经典动态规划的计算量随序列长度呈三次方增长；LinearFold通过5'到3'动态规划和束搜索实现线性时间<sup>[5](https://doi.org/10.1093/bioinformatics/btz375)</sup> |
| 假结缺口 | 经典MFE工具无法预测假结，而约40%的RNA中存在假结<sup>[6](https://arxiv.org/pdf/2307.10073)</sup> |
| 三维前沿 | RhoFold+是一个在约2370万条序列上预训练的RNA语言模型，在RNA-Puzzles和CASP15靶标的回顾性评估中排名第一<sup>[7](https://www.nature.com/articles/s41592-024-02487-0)</sup>，但在后来的CASP16盲测评估中，包括RhoFold+在内的自动化方法并未超过顶尖人类专家组<sup>[8](https://par.nsf.gov/biblio/10664712)</sup> |

## 工作原理

三种建模传统占据主导地位。热力学方法使用基于环的能量模型和最近邻参数来搜索最小自由能（MFE）结构：相邻碱基对的堆积能以及环的去稳定能，均取自已发表的测量数据。<sup>[9](https://pmc.ncbi.nlm.nih.gov/articles/PMC326673/)</sup>

[统计力学](https://www.edgepedia.org/zh/statistical-mechanics)方法超越了单一最优结构。一个结构的概率服从[玻尔兹曼分布](https://www.edgepedia.org/zh/boltzmann-distribution)，\( p(s) \propto e^{-\beta E(s)} \)，其中 \( \beta = 1/(R \cdot T) \)，\( R \approx 1.987 \cdot 10^{-3} \) kcal/(mol·K)。配分函数 \( Z = \sum e^{-\beta E(s)} \) 通过折叠递推式及其外部递推变体在三次方时间内计算，无需枚举结构，从而得到碱基对概率和系综量。<sup>[10](https://viennarna.readthedocs.io/en/latest/pf_fold.html)</sup>

比较分析利用进化信息：在保持沃森-克里克互补性的同时发生协变的残基表明保守的碱基配对，大多数结构RNA和催化RNA的公认二级结构都是通过这种方式产生的。<sup>[11](https://ar5iv.labs.arxiv.org/html/physics/9807048)</sup>在计算上，比较预测在平均自由能贡献中加入协变伪能项。<sup>[10](https://viennarna.readthedocs.io/en/latest/pf_fold.html)</sup>

[深度学习](https://www.edgepedia.org/zh/deep-learning)方法将问题视为模式学习。架构包括带双向LSTM的残差网络（SPOT-RNA）、概率Transformer、在2300万条序列上训练的RNA基础模型嵌入，以及RNAformer等使用轴向注意力和潜在空间循环来直接预测邻接矩阵的模型。<sup>[6](https://arxiv.org/pdf/2307.10073)</sup>

## 如何操作

典型工作流程如下。使用者将单条RNA序列提供给RNAfold等工具，该工具读取序列，计算MFE结构，并以点括号表示法打印出来，同时附上以kcal/mol为单位的自由能。<sup>[1](https://www.tbi.univie.ac.at/RNA/ViennaRNA/refman/tutorial/RNAfold.html)</sup>添加配分函数选项可计算系综自由能 \( G = -R \cdot T \cdot \ln(Q) \)、MFE结构在系综中的频率、碱基配对概率 \( p_{ij} \) 以及系综多样性；--MEA选项以额外的CPU开销返回最大期望准确率结构。<sup>[1](https://www.tbi.univie.ac.at/RNA/ViennaRNA/refman/tutorial/RNAfold.html)</sup>

工具选择取决于任务：当序列可能含有假结时，使用UFold和SPOT-RNA等能处理假结的机器学习工具。<sup>[3](https://link.springer.com/article/10.1186/s12859-023-05532-5)</sup>实验足迹数据（DMS-MaPseq、icSHAPE、DMS-seq、structure-seq）报告每个核苷酸的配对可能性但不报告相互作用伙伴，可以作为伪能或约束整合到ViennaRNA、RNAsc和DREEM等工具中。<sup>[12](https://academic.oup.com/bib/advance-article/doi/10.1093/bib/bbad210/7190934?guestAccessKey=478ed4cf-b482-4d36-b03b-7f25bc2e1c05)</sup>

验证使用基准和次优解。在一项基准研究中，纳入5到10个次优结构改善了mfold和RNAfold的性能，而这些工具在多螺旋连接、微型哑铃和蛋白质结合结构方面表现不佳。<sup>[3](https://link.springer.com/article/10.1186/s12859-023-05532-5)</sup>对于三维预测，RMSD评估通常使用RNA-Puzzles工具包进行。<sup>[13](https://www.nature.com/articles/s41467-023-42528-4)</sup>

## 起源

该领域从两条脉络发展而来。定义最优RNA结构的热力学规则在1970年代初被设计出来，随后出现了折叠的动态规划公式：1978年《核酸研究》的一篇论文根据已发表的碱基配对能量计算了能量上最有利的二级结构，并在蓝细菌*Anacystis nidulans*的5S rRNA上进行了演示<sup>[14](https://academic.oup.com/nar/article-pdf/5/9/3365/7055800/5-9-3365.pdf)</sup>；后来《核酸研究》的另一篇论文提出了一种动态规划方法，根据已发表的堆积能和去稳定能寻找最小自由能构象，并在一个459个核苷酸的免疫球蛋白γ1重链mRNA片段上进行了演示。<sup>[9](https://pmc.ncbi.nlm.nih.gov/articles/PMC326673/)</sup>

ViennaRNA软件包以传统名称实现了三种经典动态规划算法：MFE算法产生单一最优结构，配分函数算法计算热力学系综中的碱基对概率，次优折叠算法则用于寻找次优解。<sup>[4](https://www.tbi.univie.ac.at/RNA/)</sup>Zuker算法对于长度为 \( N \) 的序列需要 \( O(N^{3}) \) 时间和 \( O(N^{2}) \) 空间。<sup>[11](https://ar5iv.labs.arxiv.org/html/physics/9807048)</sup>LinearFold由Liang Huang及其同事于2019年在《[生物信息学](https://www.edgepedia.org/zh/bioinformatics)》上报道，用5'到3'处理和束搜索取代自底向上的动态规划，实现线性运行时间。<sup>[5](https://doi.org/10.1093/bioinformatics/btz375)</sup>

## 变体

二级结构工具分为热力学模型和学习模型。mfold和RNAfold是MFE动态规划工具；CONTRAfold和MXfold2是基于学习的工具，其中MXfold2通过整合深度神经网络学习的折叠分数和Turner最近邻自由能参数来估计最可能的结构。<sup>[3](https://link.springer.com/article/10.1186/s12859-023-05532-5)</sup>SPOT-RNA使用深度上下文学习，UFold使用类似图像的表示和全卷积网络；两者都能处理假结。<sup>[3](https://link.springer.com/article/10.1186/s12859-023-05532-5)</sup>

三维预测流程组合了多个组件。trRosettaRNA由Wenkai Wang及其同事于2023年在《自然·通讯》上报道，它用rMSA构建多序列比对，用SPOT-RNA构建二级结构，将两者输入名为RNAformer的Transformer网络（类似于AlphaFold2的Evoformer），然后用pyRosetta中的RNA_HelixAssembler生成20个全原子起始结构，并通过L-BFGS能量最小化进行精修。<sup>[13](https://www.nature.com/articles/s41467-023-42528-4)</sup>RhoFold+从语言模型预测三维结构，同时预测二级结构和螺旋间角度作为可验证特征。<sup>[7](https://www.nature.com/articles/s41592-024-02487-0)</sup>NuFold由Yuki Kagaya及其同事于2025年在《自然·通讯》上报道，使用灵活的核碱基中心表示进行端到端三级结构预测<sup>[15](https://doi.org/10.1038/s41467-025-56261-7)</sup>；RNAbpFlow由Sumit Tarafder和Debswapna Bhattacharya于2026年在《[自然·方法](https://www.edgepedia.org/zh/nature-methods)》上报道，通过碱基对增强的SE(3)流匹配生成三维结构。<sup>[16](https://doi.org/10.1038/s41592-026-03128-4)</sup>

## 应用

对于二级结构，最准确的方法能正确预测约70%的已知碱基对。<sup>[2](https://rnajournal.cshlp.org/content/32/4/428.full)</sup>在一项针对单链寡核苷酸的比较基准中，mfold和RNAfold在默认参数下的精确预测率分别为46%和47%，良好预测率分别为83%和82%（AptaMat距离 ≤ 1.5），在参与基准测试的工具中，只有UFold和SPOT-RNA能够预测假结。<sup>[3](https://link.springer.com/article/10.1186/s12859-023-05532-5)</sup>

对于三维结构，在CASP15和RNA-Puzzles的盲测中，trRosettaRNA对天然RNA的自动化预测与顶尖人类预测具有竞争力，并按RMSD Z分数优于其他深度学习方法<sup>[13](https://www.nature.com/articles/s41467-023-42528-4)</sup>；回顾性评估显示RhoFold+优于包括人类专家组在内的现有方法。<sup>[7](https://www.nature.com/articles/s41592-024-02487-0)</sup>

## 局限与替代方案

核心警示是泛化能力。机器学习模型在随机数据划分下优于热力学方法，但在基于家族的划分下明显较差，表明对新RNA家族的泛化能力不足。<sup>[12](https://academic.oup.com/bib/advance-article/doi/10.1093/bib/bbad210/7190934?guestAccessKey=478ed4cf-b482-4d36-b03b-7f25bc2e1c05)</sup>

经典MFE动态规划无法直接预测假结，而约40%的RNA中存在假结<sup>[6](https://arxiv.org/pdf/2307.10073)</sup>；标准的mfold和RNAfold折叠算法不预测假结，也缺乏此类基序的热力学模型，尽管扩展点括号表示法可以表示它们。<sup>[3](https://link.springer.com/article/10.1186/s12859-023-05532-5)</sup>在一项综述所回顾的16种机器学习方法中，只有9种声称能预测假结，只有6种能预测任意非经典相互作用，不过大多数能预测GU摆动配对。<sup>[12](https://academic.oup.com/bib/advance-article/doi/10.1093/bib/bbad210/7190934?guestAccessKey=478ed4cf-b482-4d36-b03b-7f25bc2e1c05)</sup>机器学习输出本身限制了使用：神经网络产生点括号结构、二维接触图或折叠分数，而接触图最为灵活，因为它可以编码非经典碱基对和假结。<sup>[17](https://doi.org/10.1016/j.bpj.2024.01.026)</sup>三次方运行时间限制了全基因组范围的使用，线性时间近似折叠解决了这一问题。<sup>[5](https://doi.org/10.1093/bioinformatics/btz375)</sup>

实验替代方案仍然重要。[X射线晶体学](https://www.edgepedia.org/zh/x-ray-crystallography)和NMR在合适的样品和实验条件下可以提供高分辨率结构信息，但长而灵活的RNA和多种构象带来巨大挑战，且这些方法受限于数据采集时间长、成本高以及需要专业设备和人员。<sup>[18](https://link.springer.com/article/10.1007/s10462-024-10910-3)</sup>[足迹法](https://www.edgepedia.org/zh/footprinting)揭示每个核苷酸的配对可能性但不揭示相互作用伙伴，而邻近连接方法（PARIS、SPLASH、COMRADES、SHARC、hiCLIP、RPL）明确识别相互作用伙伴，且需要较少的计算后处理。<sup>[12](https://academic.oup.com/bib/advance-article/doi/10.1093/bib/bbad210/7190934?guestAccessKey=478ed4cf-b482-4d36-b03b-7f25bc2e1c05)</sup>

## References

1. [The Program RNAfold, ViennaRNA Package](https://www.tbi.univie.ac.at/RNA/ViennaRNA/refman/tutorial/RNAfold.html)
2. [Deep learning for RNA secondary structure determination: gauging generalizability and broadening the scope of traditional methods](https://rnajournal.cshlp.org/content/32/4/428.full)
3. [Comparative Study of Single-stranded Oligonucleotides Secondary Structure Prediction Tools (BMC Bioinformatics)](https://link.springer.com/article/10.1186/s12859-023-05532-5)
4. [TBI - ViennaRNA Package 2](https://www.tbi.univie.ac.at/RNA/)
5. [Liang Huang and colleagues (2019). LinearFold: linear-time approximate RNA folding by 5'-to-3' dynamic programming and beam search. Bioinformatics.](https://doi.org/10.1093/bioinformatics/btz375)
6. [Scalable Deep Learning for RNA Secondary Structure Prediction (RNAformer, ICML 2023 Workshop on Computational Biology)](https://arxiv.org/pdf/2307.10073)
7. [Accurate RNA 3D structure prediction using a language model-based deep learning approach (Nature Methods, 2024)](https://www.nature.com/articles/s41592-024-02487-0)
8. [Assessment of Nucleic Acid Structure Prediction in CASP16 | NSF Public Access Repository](https://par.nsf.gov/biblio/10664712)
9. [Optimal computer folding of large RNA sequences using thermodynamics and auxiliary information](https://pmc.ncbi.nlm.nih.gov/articles/PMC326673/)
10. [Partition function algorithms (ViennaRNA docs)](https://viennarna.readthedocs.io/en/latest/pf_fold.html)
11. [RNA structure prediction review (physics/9807048)](https://ar5iv.labs.arxiv.org/html/physics/9807048)
12. [Machine learning modeling of RNA structures: methods, challenges and future perspectives (Briefings in Bioinformatics)](https://academic.oup.com/bib/advance-article/doi/10.1093/bib/bbad210/7190934?guestAccessKey=478ed4cf-b482-4d36-b03b-7f25bc2e1c05)
13. [trRosettaRNA: automated prediction of RNA 3D structure with transformer network (Nature Communications, 2023)](https://www.nature.com/articles/s41467-023-42528-4)
14. [Computer method for predicting the secondary structure of single-stranded RNA (Nucleic Acids Research, 1978)](https://academic.oup.com/nar/article-pdf/5/9/3365/7055800/5-9-3365.pdf)
15. [Yuki Kagaya and colleagues (2025). NuFold: end-to-end approach for RNA tertiary structure prediction with flexible nucleobase center representation. Nature Communications.](https://doi.org/10.1038/s41467-025-56261-7)
16. [Sumit Tarafder, Debswapna Bhattacharya (2026). RNAbpFlow: base pair-augmented SE(3) flow matching for conditional RNA 3D structure generation. Nature Methods.](https://doi.org/10.1038/s41592-026-03128-4)
17. [Machine learning in RNA structure prediction: Advances and challenges (Biophysical Journal, 2024)](https://doi.org/10.1016/j.bpj.2024.01.026)
18. [Deep dive into RNA: a systematic literature review on RNA structure prediction using machine learning methods (Artificial Intelligence Review)](https://link.springer.com/article/10.1007/s10462-024-10910-3)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 生命与健康 › 生物学基础 › RNA与基因调控 › RNA元件、催化RNA与技术 › RNA方法、数据库与资源

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/rna-structure-prediction

English original: https://www.edgepedia.org/rna-structure-prediction
