Back

BioGeoFormer: A deep learning approach to classify unknown genes associated with critical biogeochemical cycles

Wynne, J. H.; Azbijari, N.; Thurber, A. R.; David, M.

2025-12-18 microbiology
10.64898/2025.12.17.695047 bioRxiv
Show abstract

Remote functional annotation continues to impede progress in microbial ecology, as alignment-based approaches still leave over one-third of microbial sequences functionally unresolved. In contrast, pre-trained natural-language-processing approaches have shown strong potential for inferring functions from diverse biological sequences, and here we introduce a protein language modeling approach allowing us to classify sequences into 37 defined key pathway categories involved in 4 major biogeochemical cycles (methane, sulfur, nitrogen and phosphorus cycles). To do so, we fine-tuned ESM2-8m using databases curated for biogeochemical cycling pathways. Our resultant BioGeochemical cycling transFormer (BioGeoFormer or BGF) was high-performing on validation and test sets, producing embeddings that exhibit an ability to infer protein function at a metabolic pathway level. BGF was applied to a dataset of metagenome-assembled genomes (MAGs) constructed from methane-fueled, deep-sea, "cold seep" environments to demonstrate its utility in contrast to current informatics approaches. We employed multiple gene assignments to identify gene function within these MAGs. A total of 1.05M genes were assigned biogeochemical functions, with BGF alone suggesting putative ecosystem roles for 0.49M (46%) of these at a confidence of 85% or greater; these genes were classified as unknown by the other approaches. Across the pathways of interest, BGF identified 6 times as many genes, on average, as Hidden Markov models (HMMs) as well as alignment-based approaches across the various pathways. BGF provides a novel tool that is capable of informing process-based hypotheses in diverse systems, highlighting cryptic proteins most notably linked to methane, nitrogen, and phosphorus cycling while uncovering the mysteries within microbial dark matter. Author summaryWhen investigating the function of microbes in the environment, scientists are often left with vast amounts of genes or proteins where no knowledge about their function is available. This represents a huge amount of information left to be discovered in many fields of biology. One recent approach that has shown significant potential in further understanding unknown proteins are protein language models, which are deep-learning methods leveraging large datasets to understand the language of proteins. We aimed to apply protein language modeling to further understand the function of proteins as they relate to large-scale environmental transformation of nutrients and carbon. Specifically, we designed our approach to further understand the metabolism of microbes that affect methane, nitrogen, phosphorus, and sulfur, all elements that are highly impactful to the planets function and health. We used our new approach on a deep-sea microbiology dataset, and showed the methods utility in further understanding the function of proteins and their impact on the environment. Overall, we found our method is an important new tool in the toolset of environmental scientists working to better understand the function of microbes and their proteins.

Matching journals

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

50% of probability mass above

"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.