# 基因预测

基因预测（基因识别）是在基因组DNA序列中，通过从头（ab initio，仅依据序列本身预测，不借助外部证据）的序列信号统计模型，或借助RNA-seq读段、同源蛋白等外部证据的比对，对蛋白编码基因或RNA基因及其外显子—内含子结构进行计算识别。基因预测程序输出基因结构，通常为GFF3或GTF注释，列出基因、转录本、外显子和编码序列（CDS）的坐标，往往还附带翻译后的蛋白序列。这类注释仍然稀缺：NCBI最新真核组装中仅约24%附有注释，而原核生物为89%。<sup>[1](https://www.nature.com/articles/s41592-025-02939-1)</sup>

| 关键事实 | 数值 |
|---|---|
| 标准输出 | 含CDS和蛋白序列的GFF3/GTF基因模型<sup>[2](https://github.com/Gaius-Augustus/Tiberius)</sup><sup> • </sup><sup>[3](https://hpc.nih.gov/apps/maker.html)</sup> |
| GENSCAN准确率（1997年，单基因人类/脊椎动物测试集） | 75–80%的外显子被精确识别<sup>[4](https://doi.org/10.1006/jmbi.1997.0951)</sup> |
| 解码算法 | 维特比动态规划，耗时随序列长度线性增长<sup>[5](https://compbio.fmph.uniba.sk/papers/08hmmchap.pdf)</sup> |
| RNA-seq证据的效果（BRAKER1对MAKER2） | 基因水平准确率平均提升15个百分点<sup>[6](https://doi.org/10.1093/bioinformatics/btv661)</sup> |
| 当前最佳从头预测结果（ANNEVO，566个物种） | 核苷酸水平CDS的F1均值0.92<sup>[7](https://www.nature.com/articles/s41592-026-03036-7)</sup> |
| 注释缺口 | NCBI最新真核组装约24%有注释，原核生物为89%<sup>[1](https://www.nature.com/articles/s41592-025-02939-1)</sup> |
| 草图组装错误 | 超过40%的基因家族推断出的基因数目有误<sup>[8](https://journals.plos.org/ploscompbiol/article?id=10.1371%2Fjournal.pcbi.1003998)</sup> |

## 工作原理

从头基因识别器结合两类传感器。信号传感器给局部模体打分：剪接供体和受体位点、起始和[终止密码子](https://www.edgepedia.org/zh/stop-codon)，以及细菌中的Shine–Dalgarno模体。内容传感器给较长区域打分：最主要的是编码DNA的三周期马尔可夫模型，其k-mer组成在不同阅读框之间不同，由开创性算法GeneMark引入。<sup>[9](https://doi.org/10.1016/0097-8485%2893%2985004-v)</sup><sup> • </sup><sup>[10](https://pmc.ncbi.nlm.nih.gov/articles/PMC140543/)</sup> 仅凭共有模体远不足以识别剪接：GT二核苷酸约占人类二核苷酸的5%，但其中只有约1.5%是供体位点；AG约占7.5%，只有约1%作为受体发挥作用，因此剪接检测必须将模体与侧翼组成结合起来。<sup>[11](https://papers.nips.cc/paper_files/paper/1993/file/88ae6372cfdc5df69a976e893f4d554b-Paper.pdf)</sup>

现代真核基因识别器把该问题表述为（广义）隐马尔可夫模型：隐状态代表基因间区、编码区和内含子区，外显子和内含子长度有显式的状态持续时间分布，参数在已注释基因组上训练。解码即寻找使输入序列s的联合概率P(φ, s)最大化的基因结构φ，[维特比算法](https://www.edgepedia.org/zh/viterbi-algorithm)可在与序列长度成线性关系的时间内完成。<sup>[5](https://compbio.fmph.uniba.sk/papers/08hmmchap.pdf)</sup><sup> • </sup><sup>[12](https://link.springer.com/article/10.1186/1471-2105-7-62)</sup> 博罗多夫斯基（Borodovsky）等人提出的“影子”状态，使一个模型能同时解析DNA双链。<sup>[13](http://gobics.de/mario/papers/GenePred2003.pdf)</sup>

## 操作流程

一次典型的注释运行以FASTA格式的基因组组装为输入，大致按以下顺序进行：可选的重复序列屏蔽、从头或自训练预测、外部证据整合、导出GFF3/GTF模型。重复序列屏蔽需要小心：把软屏蔽模型用于未屏蔽的基因组会降低预测准确率，而对Tiberius等工具而言，未屏蔽模型是更稳妥的默认选择。<sup>[2](https://github.com/Gaius-Augustus/Tiberius)</sup>

证据整合通过“提示”实现：AUGUSTUS+接受六类提示（翻译起始、终止密码子、供体和受体剪接位点、编码区、外显子），按来源分级，并对无证据支持的外显子施加惩罚。<sup>[12](https://link.springer.com/article/10.1186/1471-2105-7-62)</sup> 流程化工具将这一过程自动化。BRAKER1只需一个基因组文件和一个剪接RNA-seq比对的BAM文件，将GeneMark-ET与AUGUSTUS结合。<sup>[6](https://doi.org/10.1093/bioinformatics/btv661)</sup> BRAKER2通过GeneMark-EP+改用蛋白数据库训练，<sup>[14](https://doi.org/10.1093/nargab/lqaa108)</sup> BRAKER3（2024）则通过GeneMark-ETP同时利用RNA-seq和蛋白，先用HISAT2比对、StringTie2组装转录本，再用ProtHint生成蛋白提示，最后用TSEBRA合并模型。<sup>[15](https://genome.cshlp.org/content/34/5/769)</sup> MAKER根据EST和蛋白同源证据生成GFF3注释，并捆绑RepeatMasker、AUGUSTUS、BLAST和BUSCO。<sup>[3](https://hpc.nih.gov/apps/maker.html)</sup> NCBI的真核流程将同源搜索与从头建模结合：Compart定位目标序列的大致位置，Splign/ProSplign进行剪接比对，Chainer将其串联，Gnomon延伸部分模型；在最终注释中，RefSeq mRNA比对取代Gnomon模型。<sup>[16](https://www.ncbi.nlm.nih.gov/refseq/annotation_euk/gnomon/)</sup>

## 起源

GeneMark基于编码区的三周期马尔可夫模型并解析双链，由马克·博罗多夫斯基（Mark Borodovsky）和詹姆斯·麦金奇（James McIninch）于1993年在《Computers & Chemistry》上报道。<sup>[9](https://doi.org/10.1016/0097-8485%2893%2985004-v)</sup> 第一个HMM基因识别器针对大肠杆菌DNA，由安德斯·克罗（Anders Krogh）、I. 赛拉·米安（I. Saira Mian）和[大卫·豪斯勒](https://www.edgepedia.org/zh/david-haussler)（David Haussler）于1994年开发；它精确识别了约80%的已知大肠杆菌基因，并采用维特比解码。<sup>[17](http://www0.cs.ucl.ac.uk/staff/s.mian/pubs/KroMia94.pdf)</sup> 大约从1990年起，在早期逐外显子方法之后，程序转向用动态规划预测整个基因结构。<sup>[10](https://pmc.ncbi.nlm.nih.gov/articles/PMC140543/)</sup> GENSCAN是预测完整人类基因结构的广义HMM预测器，具有显式状态持续时间和等质区特异性参数，由克里斯·伯奇（Chris Burge）和[塞缪尔·卡林](https://www.edgepedia.org/zh/samuel-karlin)（Samuel Karlin）于1997年在《Journal of Molecular Biology》上提出；在当时的标准测试集上，多数早期程序精确识别的外显子不足50%，而GENSCAN达到75–80%。<sup>[4](https://doi.org/10.1006/jmbi.1997.0951)</sup> GeneMark.hmm（卢卡申（Lukashin）和博罗多夫斯基，1998）将GeneMark模型嵌入HMM框架，使五个大肠杆菌重叠群的精确基因预测率提高到71%，而GeneMark为62%，ECOPARSE为53%。<sup>[18](https://academic.oup.com/nar/article/26/4/1107/2902172)</sup> 随后，针对匿名基因组自训练的方法由GeneMark-Genesis（海斯（Hayes）和博罗多夫斯基，1998）提出。<sup>[19](https://doi.org/10.1101/gr.8.11.1154)</sup>

## 变体

**真核从头工具。** AUGUSTUS（斯坦克（Stanke）和瓦克（Waack），2003）是一种HMM预测器，其内含子子模型能准确处理短内含子；在BAC大小的人类序列上，它精确预测了40%的基因，而GENSCAN为18%，GENEID为17%。<sup>[13](http://gobics.de/mario/papers/GenePred2003.pdf)</sup> GeneMark家族从GeneMark-ES（无监督自训练）发展到GeneMark-ET（RNA读段内含子提示），再到GeneMark-EP/EP+（通过ProtHint利用蛋白提示）；这些算法预测互不重叠的基因，不预测可变剪接异构体。<sup>[20](https://academic.oup.com/nargab/article-pdf/2/2/lqaa026/34054524/lqaa026.pdf)</sup>

**原核工具。** Glimmer使用插值马尔可夫模型（IMM），将零阶到通常\( k = 8 \)阶的[马尔可夫模型](https://www.edgepedia.org/zh/markov-model)统计量结合起来；IMM也用于面向真核的GlimmerM。<sup>[10](https://pmc.ncbi.nlm.nih.gov/articles/PMC140543/)</sup>

**深度学习识别器。** Helixer（施蒂勒（Stiehler）等人，2020）用CNN和LSTM层对基因区域类别和编码相位进行逐碱基预测；2025年版加入了HMM后处理器HelixerPost，可组装主基因模型并输出GFF3，无需外部数据或物种特异性再训练。<sup>[21](https://doi.org/10.1093/bioinformatics/btaa1044)</sup><sup> • </sup><sup>[1](https://www.nature.com/articles/s41592-025-02939-1)</sup> Tiberius（加布里埃尔（Gabriel）等人，2024）将CNN和biLSTM层与可微HMM层整合，并进行端到端训练，使用15个隐状态。<sup>[22](https://doi.org/10.1093/bioinformatics/btae685)</sup> ANNEVO是一个专家混合基因组语言模型，在包含GC-AG、GT-AG和AT-AC内含子模式的基因结构状态上进行维特比解码。<sup>[7](https://www.nature.com/articles/s41592-026-03036-7)</sup>

## 应用

准确率在核苷酸、外显子和基因三个水平上衡量，外显子只有两个边界都与注释一致才算正确。<sup>[23](https://genome.cshlp.org/content/10/10/1631.full)</sup> 结果在很大程度上取决于测试条件。在单基因人类序列上，GENSCAN正确预测了90%的编码核苷酸和70%的外显子，漏掉7%的外显子，产生9%的错误外显子；在模拟基因间DNA的人工序列上，其外显子特异性从0.92降至0.64，错误外显子升至41%。<sup>[23](https://genome.cshlp.org/content/10/10/1631.full)</sup> 在近期涵盖1793个多样化真核测试案例的G3PO基准上，核苷酸水平F1从0.39（Snap）到0.52（Augustus）不等，68.4%的外显子未被五个程序中的任何一个正确预测。<sup>[24](https://link.springer.com/article/10.1186/s12864-020-6707-9)</sup> 证据驱动流程表现更好：BRAKER3在11个物种上平均剪接位点F1超过87%，转录本水平F1比BRAKER1和BRAKER2提高约20个百分点。<sup>[15](https://genome.cshlp.org/content/34/5/769)</sup>

## 局限与替代方法

**失效模式。** 程序针对50–200个核苷酸的中间外显子优化；短于50 nt的短外显子准确率最低，Augustus仅正确识别18%。<sup>[24](https://link.springer.com/article/10.1186/s12864-020-6707-9)</sup> 典型错误包括漏掉外显子、保留非编码序列、基因碎片化以及相邻基因融合。<sup>[24](https://link.springer.com/article/10.1186/s12864-020-6707-9)</sup> 碎片化的草图组装是一大问题：超过40%的基因家族得到错误的基因数目，主要因为跨重叠群断裂的单个基因被判定为多个基因；在模拟的碎片化黑腹果蝇（D. melanogaster）组装中，只要要求有一条RNA-seq读段连接外显子，就删除了近12,000个虚假基因。<sup>[8](https://journals.plos.org/ploscompbiol/article?id=10.1371%2Fjournal.pcbi.1003998)</sup>

**替代方法。** 当相似性强时，基于同源性的方法优于从头预测：在强蛋白支持下，GeneWise总体准确率达到0.97，且与从头识别器不同，基于相似性的程序不受随机基因间序列的显著影响。<sup>[23](https://genome.cshlp.org/content/10/10/1631.full)</sup> miniprot<sup>[25](https://doi.org/10.1093/bioinformatics/btad014)</sup>等蛋白到基因组比对工具和Liftoff<sup>[26](https://doi.org/10.1093/bioinformatics/btaa1016)</sup>注释映射支持证据驱动和基于转移的注释。最新的从头识别器缩小了差距：Tiberius作为纯从头识别器，与BRAKER3（一种使用每个物种十个RNA-seq文库加蛋白数据库的证据驱动流程）持平或更优。<sup>[22](https://doi.org/10.1093/bioinformatics/btae685)</sup> ANNEVO在566个物种上达到核苷酸水平CDS的F1均值0.92，在12个模式物种上，F1比BRAKER3绝对提高4个百分点，比Helixer提高11个百分点。<sup>[7](https://www.nature.com/articles/s41592-026-03036-7)</sup>

## References

1. [Helixer: ab initio prediction of primary eukaryotic gene models combining deep learning and a hidden Markov model (Nature Methods, 2025)](https://www.nature.com/articles/s41592-025-02939-1)
2. [Gaius-Augustus/Tiberius GitHub repository](https://github.com/Gaius-Augustus/Tiberius)
3. [MAKER, NIH HPC documentation](https://hpc.nih.gov/apps/maker.html)
4. [Chris Burge, Samuel Karlin (1997). Prediction of complete gene structures in human genomic DNA. Journal of Molecular Biology.](https://doi.org/10.1006/jmbi.1997.0951)
5. [Advances in Hidden Markov Models for Sequence Annotation (book chapter, Brejová et al.)](https://compbio.fmph.uniba.sk/papers/08hmmchap.pdf)
6. [Katharina J. Hoff and colleagues (2015). BRAKER1: Unsupervised RNA-Seq-Based Genome Annotation with GeneMark-ET and AUGUSTUS. Bioinformatics.](https://doi.org/10.1093/bioinformatics/btv661)
7. [Highly accurate ab initio gene annotation with ANNEVO (Nature Methods, 2026)](https://www.nature.com/articles/s41592-026-03036-7)
8. [Extensive Error in the Number of Genes Inferred from Draft Genome Assemblies (PLOS Computational Biology)](https://journals.plos.org/ploscompbiol/article?id=10.1371%2Fjournal.pcbi.1003998)
9. [GENMARK: Parallel gene recognition for both DNA strands (Computers & Chemistry, 1993)](https://doi.org/10.1016/0097-8485%2893%2985004-v)
10. [SURVEY AND SUMMARY: Current methods of gene prediction, their strengths and weaknesses (Mathé et al., Nucleic Acids Research 2002)](https://pmc.ncbi.nlm.nih.gov/articles/PMC140543/)
11. [Hidden Markov Models for Human Genes (Baldi, Brunak, Krogh et al., NIPS 1993)](https://papers.nips.cc/paper_files/paper/1993/file/88ae6372cfdc5df69a976e893f4d554b-Paper.pdf)
12. [Gene prediction in eukaryotes with a generalized hidden Markov model that uses hints from external sources (AUGUSTUS+, BMC Bioinformatics, 2006)](https://link.springer.com/article/10.1186/1471-2105-7-62)
13. [Gene Prediction with a Hidden Markov Model and a new Intron Submodel (Stanke & Waack, 2003, AUGUSTUS)](http://gobics.de/mario/papers/GenePred2003.pdf)
14. [Tomáš Brůna and colleagues (2021). BRAKER2: automatic eukaryotic genome annotation with GeneMark-EP+ and AUGUSTUS supported by a protein database. NAR Genomics and Bioinformatics.](https://doi.org/10.1093/nargab/lqaa108)
15. [BRAKER3: Fully automated genome annotation using RNA-seq and protein evidence with GeneMark-ETP, AUGUSTUS, and TSEBRA (Genome Research 2024)](https://genome.cshlp.org/content/34/5/769)
16. [Gnomon - the NCBI eukaryotic gene prediction tool (official NCBI documentation)](https://www.ncbi.nlm.nih.gov/refseq/annotation_euk/gnomon/)
17. [A hidden Markov model that finds genes in E.coli DNA (Krogh, Mian & Haussler, Nucleic Acids Research 1994)](http://www0.cs.ucl.ac.uk/staff/s.mian/pubs/KroMia94.pdf)
18. [GeneMark.hmm: New solutions for gene finding (Lukashin & Borodovsky, Nucleic Acids Research 1998)](https://academic.oup.com/nar/article/26/4/1107/2902172)
19. [William S. Hayes, Mark Borodovsky (1998). How to Interpret an Anonymous Bacterial Genome: Machine Learning Approach to Gene Identification. Genome Research.](https://doi.org/10.1101/gr.8.11.1154)
20. [GeneMark-EP+: eukaryotic gene prediction with self-training in the space of genes and proteins (NAR Genomics and Bioinformatics 2020)](https://academic.oup.com/nargab/article-pdf/2/2/lqaa026/34054524/lqaa026.pdf)
21. [Felix Stiehler and colleagues (2020). Helixer: cross-species gene annotation of large eukaryotic genomes using deep learning. Bioinformatics.](https://doi.org/10.1093/bioinformatics/btaa1044)
22. [Lars Gabriel and colleagues (2024). Tiberius: end-to-end deep learning with an HMM for gene prediction. Bioinformatics.](https://doi.org/10.1093/bioinformatics/btae685)
23. [An Assessment of Gene Prediction Accuracy in Large DNA Sequences (Guigó et al., Genome Research 2000)](https://genome.cshlp.org/content/10/10/1631.full)
24. [A benchmark study of ab initio gene prediction methods in diverse eukaryotic organisms (G3PO benchmark, BMC Genomics 2020)](https://link.springer.com/article/10.1186/s12864-020-6707-9)
25. [Heng Li (2023). Protein-to-genome alignment with miniprot. Bioinformatics.](https://doi.org/10.1093/bioinformatics/btad014)
26. [Alaina Shumate, Steven L Salzberg (2020). Liftoff: accurate mapping of gene annotations. Bioinformatics.](https://doi.org/10.1093/bioinformatics/btaa1016)

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

Topic: 生命与健康 › 生物学基础 › 遗传学与基因组参考资料 › 基因组学、测序与基因组资源

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/gene-prediction

English original: https://www.edgepedia.org/gene-prediction
