MetaEntropy: quantifying protein variability in complex viral mixtures via entropy
L. R. Jones, J. M. Manrique
Key points
From the paper's conclusion- We present MetaEntropy, a modular R package for assessing protein sequence variability and identifying sites under potential selection via Shannon entropy.
Abstract
High-density sequence data has become commonplace in the study of complex viral mixtures from wastewater. Established algorithms are available for lineage deconvolution and labelling of clinically-elusive mutations. However, less attention has been paid to the quantification of translated amino acid diversity. We present MetaEntropy, a modular R package for assessing protein sequence variability and identifying sites under potential selection via Shannon entropy. MetaEntropy integrates utility functions for visualizing genome-wide and protein-specific variability, extracting nucleotide and amino acid mutation profiles, and identifying entropy hotspots. Despite being designed for wastewater surveillance, the package can also profile protein diversity from cross-sectional intra-patient data. However, it does not analyze population structure or quasispecies, for which several tools are available. By focusing on positional entropy, MetaEntropy bypasses the sequence constraints, computational overhead, and consensus-based variant loss typical of traditional haplotype reconstruction and multiple sequence alignment strategies. To balance sensitivity against neutral variation, the package evaluates entropy using a standard 20-class canonical amino acid scheme and a 7-class model based on traditional physicochemical properties. Calculated entropy values are normalized to a 0-1 scale, enabling direct comparisons of protein diversity across loci and sample strata. As proofs of concept, we employ MetaEntropy to detect well-known SARS-CoV-2 functional changes from wastewater data, and to explore tissue-specific heterogeneity in systemic infections. MetaEntropy is available from the Comprehensive R Archive Network (CRAN) at https://CRAN.R-project.org/.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Two-sample inference for sequence-derived feature distributions from deep sequencing dataarXiv · 2026
- Laemple: A Benchmarking Framework for Virus Lineage Deconvolution Tools for SARS-CoV-2 from WastewatermedRxiv · 2026
- Inferring viral variants and fitness advantages from longitudinal wastewater sequencing datamedRxiv · 2026
- Predicting the evolutionary and functional landscapes of viruses with a unified nucleotide-protein language model: LucaVirusNational Science Review · 2026
- Between- and within-host mutation of dengue virusVirology · 2025
- The public health value of wastewater surveillance for viruses with pandemic potential: a modelling studymedRxiv · 2026