BMC BioinformaticsBioinformaticsPeer-reviewed journal article
GaugeFixer: overcoming parameter non-identifiability in models of sequence-function relationships
Carlos Martí‐GómeziD, David M. McCandlishiD, Justin B. KinneyiD
Abstract
BackgroundMathematical models of sequence-function relationships are widely used in computational biology. A key challenge when interpreting these models is that many different choices for model parameters can encode the same sequence-function relationship. These ambiguities, called "gauge freedoms," must be removed before parameter values can be meaningfully interpreted. Doing this requires imposing additional mathematical constraints on parameter values, a process called "fixing the gauge." We recently developed mathematical methods for fixing the gauge of a large class of commonly used models. The most direct computational implementation of these methods is often impractical, however, because it requires a projection matrix whose size scales quadratically with the number of model parameters. ResultsHere we introduce GaugeFixer, a Python package that exploits the mathematical structure of gauge-fixing projections to achieve log-linear scaling in computation time and linear scaling in memory usage. GaugeFixer thus requires orders of magnitude less time and memory than standard matrix multiplication, and can fix the gauge of models having millions of parameters in seconds. To demonstrate its utility, we used GaugeFixer to analyze an empirical fitness landscape for translation initiation in bacteria. This analysis revealed striking similarities (but also fine-scale differences) in ribosome-binding preferences at different positions relative to the start codon, thereby aiding the interpretation of this otherwise unwieldy landscape. ConclusionsGaugeFixer thus fills an important gap in the computational tools available for interpreting quantitative models of sequence-function relationships.
- Citations
- 2
- FWCI
- 4.10
- Field percentile
- top 9%
Reproducibility 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
- Gauge fixing for sequence-function relationships
Anna Posfai, Juannan Zhou, … Justin B. Kinney·PLoS Computational BiologyPeer-reviewed·Mar 20, 2025
- Symmetry, gauge freedoms, and the interpretability of sequence-function relationships
Anna Posfai, David M. McCandlish, Justin B. Kinney·Physical Review ResearchPeer-reviewed·Apr 2, 2025
- On learning functions over biological sequence space: relating Gaussian process priors, regularization, and gauge fixing
Samantha Petti, Carlos Martí‐Gómez, … David M. McCandlish·Journal of Mathematical BiologyPeer-reviewed·Apr 29, 2026
- Complex models of sequence evolution require accurate estimators as exemplified with the invariable site plus Gamma model
L. T. Nguyen, A. von Haeseler, B. Q. Minh·bioRxiv·Nov 24, 2017
- An improved codon modeling approach for accurate estimation of the mutation bias
T. Latrille, N. Lartillot·bioRxiv·Jun 30, 2021
- gauseR: Simple methods for fitting Lotka-Volterra models describing Gause's "Struggle for Existence"
L. K. Muehlbauer, M. Schulze, … A. T. Clark·bioRxiv·Mar 16, 2020