Nanobody–antigen molecular recognition underpins nanobody discovery and development, necessitating accurate determination of binding occurrence, interface residues, and affinity. Current predictors are architecturally designed for the massive, heterogeneous spectrum of general protein–protein interactions, diluting the limited, complementarity-determining region (CDR)-dominated nanobody–antigen interaction (NAI) data and masking the decisive CDR signal. The scarcity of experimental affinity data precludes direct regression-based estimation of binding affinity. Here, we present NanoBind, a mechanism-driven deep learning framework that embeds the CDR-dominated binding pattern within its encoder, enabling robust prediction of binding occurrence and interface residues from limited NAI data. Constrained by scarce affinity data, NanoBind generates quantitative affinity ranges for nanobody–antigen pairs without extra experiments. Systematic benchmarking demonstrates that NanoBind surpasses state-of-the-art methods in accuracy and robustness, and interpretability analyses confirm that the model’s decisions align with the CDR-dominated binding mechanism. When million-sequence immune repertoires are screened against 4 antigens, NanoBind reduces candidate nanobodies to fewer than 100 per target. For the severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) spike receptor-binding domain (RBD)–nanobody F2 complex, NanoBind correctly predicts binding occurrence, matches experimentally validated interface residues, and generates an affinity range quantitatively supported by molecular dynamics simulations. A server is available at http://liulab.top/NanoBind/server.
| 科 Family | 属数 Number of genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) | 属 Genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) |
|---|---|---|---|---|---|---|
| 鹅膏菌科Amanitaceae | 2 | 11 | 5.26 | 鹅膏菌属 Amanita | 10 | 4.78 |
| 小菇科 Mycenaceae | 2 | 12 | 5.74 | 丝盖伞属 Inocybe | 5 | 2.39 |
| 多孔菌科 Polyporaceae | 8 | 14 | 6.70 | 蜡蘑属 Laccaria | 5 | 2.39 |
| 红菇科 Russulaceae | 3 | 23 | 11.00 | 小皮伞属 Marasmius | 6 | 2.87 |
| 小菇属 Mycena | 11 | 5.26 | ||||
| 光柄菇属 Pluteus | 5 | 2.39 | ||||
| 红菇属 Russula | 17 | 8.13 | ||||
| 栓菌属 Trametes | 5 | 2.39 |