NAR Genomics and BioinformaticsBioinformaticsPeer-reviewed journal article
PyamilySeq: Exposing the fragility of conventional gene (re)clustering and prokaryotic pangenomic inference methods
Abstract
Pangenomics has become a central framework for exploring microbial diversity and evolution, enabling researchers to distinguish genes that define shared biological function from those that drive adaptation. However, this relies on clustering genes by sequence similarity, a process that is far less deterministic than often assumed. This study introduces PyamilySeq, a transparent and flexible toolkit designed to diagnose and quantify hidden biases within gene clustering and pangenome inference methodologies. Using PyamilySeq, we can see how clustering thresholds (often hardcoded and poorly documented) and paralog handling can substantially alter gene family composition. Surprisingly, even parameters unrelated to clustering, such as decimal precision (0.8 vs. 0.80), output selection, and even CPU and memory allocation, can alter gene family assignments, challenging the assumption that identical clustering thresholds yield consistent results. Furthermore, tools often fail to report biologically meaningful or representative sequences for gene families, undermining downstream analyses. These findings reveal systematic fragilities in gene clustering and pangenome construction and highlight that pangenomics is not merely a data-driven task but a methodological one, where transparency, reproducibility, and interpretability are as critical as biological insight. This work calls for a re-evaluation of how pangenomes are constructed and compared, and advocates for methodologies that make their assumptions explicit and their results verifiable.
- Citations
- 1
- FWCI
- 0.30
- Field percentile
- top 44%
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
- Comparison of gene clustering criteria reveals intrinsic uncertainty in pangenome analyses
Saioa Manzano-Morales, Yang Liu, … Jaime Iranzo·Genome biologyPeer-reviewed·Oct 30, 2023
- Methodological pitfalls in plant pangenome gene family identification may lead to biased evolutionary inferences
Shuzhen Liu, Wei Zhang, Pei Yu·bioRxiv·May 18, 2026
- Boundary-Forest Clustering: Large-Scale Consensus Clustering of Biological Sequences
Defne Surujon, José Bento, Tim van Opijnen·bioRxiv·Apr 28, 2020
- Producing Polished Prokaryotic Pangenomes with the Panaroo Pipeline
Gerry Q. Tonkin‐Hill, Neil MacAlasdair, … Julian Parkhill·Genome biologyPeer-reviewed·Jul 22, 2020
- Linkage-based ortholog refinement in bacterial pangenomes with CLARC
Indra González Ojeda, Samantha G. Palace, … Marc Lipsitch·Nucleic Acids ResearchPeer-reviewed·Jun 18, 2025
- Revisiting pangenome openness with k-mers
Luca Parmigiani, Roland Wittler, Jens Stoye·Peer Community JournalPeer-reviewed·Apr 23, 2024