bioRxiv Science⌕ Search

bioRxiv · 10.64898/2025.12.17.695047

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

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Wynne, J. H., Azbijari, N., Thurber, A. R., David, M.. 2025-12-18. BioGeoFormer: A deep learning approach to classify unknown genes associated with critical biogeochemical cycles. https://doi.org/10.64898/2025.12.17.695047

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Rapid and largely reversible shifts in the canine fecal metabolome during dietary change

Diet can rapidly change the fecal metabolome, but less is known about recovery after the original diet is restored. We used untargeted UPLC-MS metabolomics to analyze 72 fecal samples from nine Pumi dogs during an owner-managed switch from dry food to raw food and back to dry food. Diet phase accounted for a large proportion of variation in both ionization modes. More than 13,000 LC-MS features changed at the first sampling point after the switch to raw food, with a similarly large response after return to dry food. Among features significant in both comparisons, more than 99% changed in opposite directions. At the final sampling point, no positive-mode (ESI+) features and only 13 negative-mode (ESI-) features differed from the second dry-food baseline under the same threshold. BARF-associated patterns persisted in analyses excluding individual dogs and in pedigree-adjusted candidate models, although individual feature effects depended on normalization. Putative metabolites from several biochemical classes differed in their response and recovery. The fecal metabolome therefore changed rapidly and returned largely toward baseline, with differences among dogs.

microbiology↗

Taxonomic and functional concordance between full-length ONT 16S and ONT shotgun metagenomics in the canine gut microbiome

Background: Full-length Oxford Nanopore Technologies (ONT) 16S rRNA sequencing provides a scalable view of microbial community composition and can support phylogeny-based functional prediction, but it is not equivalent to shotgun metagenomics. We asked which biological conclusions are preserved when the same canine fecal specimens are profiled by full-length ONT 16S and ONT whole-genome shotgun (WGS) sequencing, and how their agreement depends on analytical scale, reference representation and classifier. Methods: Ninety-seven fecal specimens from 51 dogs were profiled with both assays from the same DNA extract. Functional profiles predicted from NanoASV/NanoPredict with PICRUSt2 were compared with WGS-supported KEGG Ortholog (KO) profiles generated by Kadath. Taxonomy was benchmarked in a source-genome-matched RefSeq universe and in a host-specific DogMAG universe using minitax and Kraken2. Agreement was evaluated at whole-profile, feature-abundance, detection, between-sample structure and biological-inference scales. Age-associated transfer was assessed with dog-aware continuous mixed models, grouped signed-score analyses and paired/dog-blocked PERMANOVA. Results: Functional whole-profile concordance was high: median within-sample CLR Spearman correlations ranged from 0.781 to 0.860 across developmental strata, while between-sample functional structure remained significant by Mantel (rho=0.543) and Procrustes (r=0.693; both p=0.001). Feature-wise transfer was substantially weaker (median KO-wise CLR Spearman=0.318). Continuous age-associated KO slopes showed substantial cross-assay concordance (Spearman=0.727; signed-score Spearman=0.753; direction agreement=77.9%), although 1,290/5,258 eligible KOs retained significant assay-by-age interactions. Taxonomically, exact genus/species abundance agreement was much lower than agreement in between-sample ecological structure. Host-specific DogMAG improved species-level median Spearman from 0.261 to 0.656 for minitax SpeciesEstimate and from 0.181 to 0.512 for Kraken2. The classifier effect was independent of reference choice: under both RefSeq and DogMAG, minitax yielded stronger 16S-WGS concordance than Kraken2, with all eight prespecified RefSeq paired genus/species endpoints and all 10 DogMAG primary paired endpoints significant after BH correction. The same ordering extended to developmental inference, with DogMAG genus/species age-slope concordance of 0.795/0.799 for SpeciesEstimate versus 0.693/0.702 for Kraken2. Taxonomic Aitchison PERMANOVA detected age-associated structure in every assay/reference/classifier/rank combination, whereas age-by-assay interactions were consistently significant but small (R2 approximately 1.1 to 2.2%). Stricter NanoASV identity thresholds removed substantial 16S abundance without improving species-level agreement. Conclusions: The extent of cross-assay agreement depends on the level of analysis. Full-length ONT 16S preserves broad functional organization, ecological structure and much of the direction of age-associated change, but exact fine-rank composition, individual-feature abundance and effect magnitude remain assay dependent. Host-specific reference representation substantially narrows the taxonomic gap, and classifier choice exerts an additional independent effect: within the same matched reference set, minitax consistently yields stronger 16S-WGS concordance than Kraken2 across abundance, detection, ecological-distance and developmental-inference endpoints. Full-length ONT 16S is therefore well suited to broad ecological screening and hypothesis generation, whereas WGS remains preferable when conclusions depend on quantitative fine-rank composition, directly supported gene content or precise feature-level effect estimates.

microbiology↗

Matrix-controlled emergence of biofilm architecture shapes antimicrobial survival

Biofilms are structured microbial communities whose extracellular matrix is widely regarded as a basis of their protection against antimicrobial compounds. Yet how matrix production by individual bacteria gives rise to collective architecture and antimicrobial protection remains poorly understood. Here, we systematically varied expression of the master biofilm regulator csgD in Salmonella enterica and found that increasing matrix production reorganizes biofilms from dense, isotropic packings into sparse, nematically aligned communities by altering cell-cell interactions. By combining experimentally measured biofilm architectures with reaction-diffusion modeling, we show that these structural changes produce distinct patterns of antimicrobial killing, ranging from preferential killing near the liquid-biofilm interface to more uniform killing throughout the community. Consequently, increasing matrix production unexpectedly reduces antimicrobial survival by shifting the biofilm into different transport regimes, while strain-specific physiological differences further modulate antimicrobial depletion. Rather than acting as a passive barrier, EPS therefore shapes antimicrobial susceptibility by reorganizing biofilm architecture and its transport properties. EPS thus provides a physical link between molecular regulation, collective architecture and antimicrobial survival, providing a quantitative framework for understanding how cellular matrix production generates emergent biofilm function.

microbiology↗