BaGPipe: an automated, reproducible, and flexible pipeline for bacterial genome-wide association studies
Kuangyi WeiiD, Beth BlaneiD, Jacqueline ToussaintiD, Sandra ReuteriD, Michelle S. TolemaniD, M. Estée TörökiD, Sharon J. PeacockiD, Ewan M. HarrisoniD, Dinesh AggarwaliD, William Roberts-Sengier
Abstract
Microbial genome-wide association study (GWAS) tools often require manual data processing steps, lack comprehensive workflows, and are limited by scalability issues, thus hindering the exploration of bacterial genetic traits. To address these challenges, we developed BaGPipe, an automated and flexible bacterial GWAS pipeline built using Nextflow and incorporating Pyseer for association analysis. BaGPipe integrates all essential components of a bacterial GWAS--spanning pre-processing, statistical analysis, and downstream visualisation--into a unified workflow that is reproducible and easy to deploy across diverse computational environments. BaGPipe was validated on a publicly available dataset of Streptococcus pneumoniae whole-genome sequences, and reproduced published findings with improved computational efficiency. BaGPipe was then applied to a dataset of Staphylococcus aureus whole-genome sequences, successfully identifying known and novel antibiotic resistance associations. By offering an accessible, efficient, and reproducible platform, BaGPipe accelerates bacterial GWAS and facilitates deeper exploration into the genetic underpinnings of phenotypic traits. Impact StatementThe increasing availability of bacterial genome sequences has created an opportunity for robust, reproducible tools to facilitate the discovery of novel genotype-phenotype associations. Despite the demonstrated utility of genome-wide association studies (GWAS) in identifying genetic determinants of disease, toxicity and antibiotic resistance, existing tools for bacterial GWAS often involve fragmented workflows requiring extensive manual intervention, limiting their adoption and reproducibility. Here, we introduce BaGPipe, a fully integrated bacterial GWAS pipeline that automates pre-processing, statistical analysis, and visualisation, thereby streamlining the entire workflow. With its flexibility, scalability, and ease of use, BaGPipe makes bacterial GWAS more accessible to researchers, enabling faster and more reliable insights into microbial genetics. This is an important step towards overcoming the computational and logistical barriers that have constrained bacterial GWAS, ultimately accelerating research into microbial evolution, resistance mechanisms, and the genetic basis of other key phenotypic traits. Data SummaryBaGPipe is freely available at https://github.com/sanger-pathogens/BaGPipe. The Streptococcus pneumoniae input dataset is available from the Pyseer tutorial (https://pyseer.readthedocs.io/en/master/tutorial.html#). The Staphylococcus aureus sequencing assemblies can be sourced from their ERS accession numbers provided in supplementary data. The reference assemblies, listed in the supplementary, can be sourced from NCBI.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- FWCI
- 0.00
- Field percentile
- 0th percentile
- Organism
- Assay
- Research Focus
- Approach
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
- microGWAS: a computational pipeline to perform large scale bacterial genome-wide association studies
Judit Burgaya, Bamu F. Damaris, … Marco Galardini·Microbial GenomicsPeer-reviewed·Feb 11, 2025
- Bayesian adaptive experimental design for efficient microbial genome-wide association studies
David Helekal, Susanne Blomqvist, … Yonatan H. Grad·bioRxiv·Aug 31, 2026
- prewas: Data pre-processing for more informative bacterial GWAS
Katie Saund, Zena Lapp, … Evan S. Snitkin·Microbial GenomicsPeer-reviewed·Apr 20, 2020
- Benchmarking bacterial genome-wide association study (GWAS) methods using simulated genomes and phenotypes
Morteza Mahmoudi Saber, B. Jesse Shapiro·Microbial GenomicsPeer-reviewed·Feb 25, 2020
- Improved inference and prediction of bacterial genotype-phenotype associations using pangenome-spanning regressions
J. A. Lees, T. T. Mai, … J. Corander·bioRxiv·Nov 23, 2019
- ASA3P: An automatic and scalable pipeline for the assembly, annotation and higher level analysis of closely related bacterial isolates
Oliver Schwengers, Andreas Hoek, … Alexander Goesmann·PLoS Computational BiologyPeer-reviewed·Mar 5, 2020