Back

VirProtRAG: Literature-grounded viral protein function annotation with retrieval-augmented generation

Guan, J.; Shang, J.; Peng, C.; Sun, Y.

2026-07-04 bioinformatics
10.64898/2026.07.03.736267 bioRxiv
Show abstract

Viruses play indispensable roles in ecosystems and human health, yet deciphering their molecular functions remains challenging. Many viral protein annotations are incomplete or poorly characterized. Existing tools typically predict functional categories without linking to verifiable evidence, hindering the credibility of functional interpretation. Here, we present VirProtRAG, a viral protein function annotation framework that integrates information retrieval with evidence-grounded knowledge generation. It introduces three task-adapted components: a hybrid retrieval module combining keyword-based and semantic dense retrieval to maximize literature coverage, synonym-expanded and rank-aware retrieval with reciprocal rank fusion for improved search effectiveness, and literature quality and evidence-oriented re-ranking to enhance reliability and interpretability. Results show that hybrid retrieval strategy performed best, with quality and evidence features further enhancing re-ranking. Compared with direct LLM prompting without retrieved literature, it consistently improves generation performance, underscoring the critical role of external knowledge. Finally, we built a searchable database comprising all 17,484 reviewed Swiss-Prot viral proteins, supporting both sequence- and text-based queries. VirProtRAG introduced 32.53% non-overlapping function annotations beyond existing expert curation, and independently supported 56.34% of sequence-inferred function points with retrieved literature. Case studies further demonstrate its capability to augment and refine the characterization of previously unannotated or poorly understood viral proteins.

Matching journals

The top 9 journals account for 50% of the predicted probability mass.

1
Briefings in Bioinformatics
354 papers in training set
Top 0.8%
8.7%
2
PLOS Computational Biology
1863 papers in training set
Top 5%
7.7%
3
Bioinformatics
1204 papers in training set
Top 4%
6.1%
4
Nucleic Acids Research
1281 papers in training set
Top 3%
6.1%
5
Computational and Structural Biotechnology Journal
242 papers in training set
Top 0.7%
5.0%
6
Journal of Chemical Information and Modeling
238 papers in training set
Top 1%
4.3%
7
Scientific Reports
3612 papers in training set
Top 24%
4.2%
8
Nature Communications
5641 papers in training set
Top 31%
4.2%
9
GigaScience
212 papers in training set
Top 1.0%
3.9%
50% of probability mass above
10
Bioinformatics Advances
203 papers in training set
Top 2%
3.9%
11
PLOS ONE
5266 papers in training set
Top 39%
3.1%
12
Database
61 papers in training set
Top 0.3%
2.4%
13
iMeta
10 papers in training set
Top 0.1%
2.4%
14
NAR Genomics and Bioinformatics
242 papers in training set
Top 2%
2.3%
15
Influenza and Other Respiratory Viruses
46 papers in training set
Top 0.3%
1.9%
16
Proceedings of the National Academy of Sciences
2444 papers in training set
Top 26%
1.9%
17
Genome Biology
637 papers in training set
Top 6%
1.7%
18
Scientific Data
209 papers in training set
Top 1%
1.7%
19
Advanced Science
286 papers in training set
Top 5%
1.6%
20
BioData Mining
22 papers in training set
Top 0.4%
1.3%
21
Patterns
78 papers in training set
Top 2%
1.1%
22
BMC Bioinformatics
457 papers in training set
Top 5%
1.1%
23
Journal of Molecular Biology
232 papers in training set
Top 3%
1.0%
24
iScience
1154 papers in training set
Top 29%
1.0%
25
Genomics, Proteomics & Bioinformatics
172 papers in training set
Top 2%
1.0%
26
Cell Systems
201 papers in training set
Top 4%
1.0%
27
Frontiers in Bioinformatics
49 papers in training set
Top 1%
1.0%
28
Communications Medicine
113 papers in training set
Top 5%
0.8%
29
Cell Reports Methods
165 papers in training set
Top 4%
0.8%
30
Nature Methods
385 papers in training set
Top 6%
0.8%