Attention please: modeling global and local context in glycan structure-function relationships
Abstract
Glycans are found across the tree of life with remarkable structural diversity enabling critical contributions to diverse biological processes, ranging from facilitating host-pathogen interactions to regulating mitosis & DNA damage repair. While functional motifs within glycan structures are largely responsible for mediating interactions, the contexts in which the motifs are presented can drastically impact these interactions and their downstream effects. Here, we demonstrate the first deep learning method to represent both local and global context in the study of glycan structure-function relationships. Our method, glyBERT, encodes glycans with a branched biochemical language and employs an attention-based deep language model to learn biologically relevant glycan representations focused on the most important components within their global structures. Applying glyBERT to a variety of prediction tasks confirms the value of capturing rich context-dependent patterns in this attention-based model: the same monosaccharides and glycan motifs are represented differently in different contexts and thereby enable improved predictive performance relative to the previous state-of-the-art approaches. Furthermore, glyBERT supports generative exploration of context-dependent glycan structure-function space, moving from one glycan to "nearby" glycans so as to maintain or alter predicted functional properties. In a case study application to altering glycan immunogenicity, this generative process reveals the learned contextual determinants of immunogenicity while yielding both known and novel, realistic glycan structures with altered predicted immunogenicity. In summary, modeling the context dependence of glycan motifs is critical for investigating overall glycan functionality and can enable further exploration of glycan structure-function space to inform new hypotheses and synthetic efforts.
02 /Specification & Classification
Click any tag to browse matching papersReproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- GlyContact reveals structure-function relationships in glycans
Luc Thomès, Roman Joeres, … Daniel Bojar·bioRxiv·Jun 22, 2025
- GlycanGT: A Foundation Model for Glycan Graphs with Pretrained Representation and Generative Learning
Akihiro Kitani, Bingyuan Zhang, … Yusuke Matsui·bioRxiv·Dec 16, 2025
- Using Natural Language Processing to Learn the Grammar of Glycans
Daniel Bojar, Diogo M. Camacho, James J. Collins·bioRxiv·Jan 10, 2020
- Chemical foundation models reveal molecular principles underlying glycobiology
Manuel Sokolov Ravasqueira, Joao H. Bettencourt‐Silva, … Gavin P. Davey·bioRxiv·Oct 14, 2026
- A Boltzmann model predicts glycan structures from lectin binding
Aria Yom, Austin W.T. Chiang, Nathan E. Lewis·Analytical ChemistryPeer-reviewed·May 9, 2024
- GlycoMeSH: linking glycan structures to biomedical context for systematic enrichment analysis
Akihiro Kitani, Bingyuan Zhang, … Yusuke Matsui·bioRxiv·Aug 20, 2026