BaGPipe: an automated, reproducible, and flexible pipeline for bacterial genome-wide association studies

Microbial genome-wide association studies (GWAS) are crucial for linking genetic variation to phenotypic traits in bacteria. However, current tools often involve complex manual processing, limited scalability, and fragmented workflows, which constrain large-scale or routine bacterial GWAS. We developed BaGPipe, an automated and flexible bacterial GWAS pipeline built using Nextflow and incorporating Pyseer for association analysis. BaGPipe integrates 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. BaGPipe is freely available at https://github.com/sanger-pathogens/BaGPipe.

Authors

Institutions

Publication Details

Journal
BMC Microbiology
Published
2026-03-27
DOI
https://doi.org/10.1186/s12866-026-04909-9
Primary Topic
Gut microbiota and health
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

BaGPipe: an automated, reproducible, and flexible pipeline for bacterial genome-wide association studies

William Roberts-Sengier, Sharon J. Peacock, J. Toussaint, Beth Blane et al.
BMC Microbiology
Gut microbiota and health
article

BaGPipe: an automated, reproducible, and flexible pipeline for bacterial genome-wide association studies

William Roberts-Sengier, Sharon J. Peacock, J. Toussaint, Beth Blane, Dinesh Aggarwal, Ewan M. Harrison, M. Estee Torok, Sandra Reuter, Kuangyi Charles Wei, Michelle S. Toleman
article en

Abstract

Microbial genome-wide association studies (GWAS) are crucial for linking genetic variation to phenotypic traits in bacteria. However, current tools often involve complex manual processing, limited scalability, and fragmented workflows, which constrain large-scale or routine bacterial GWAS. We developed BaGPipe, an automated and flexible bacterial GWAS pipeline built using Nextflow and incorporating Pyseer for association analysis. BaGPipe integrates 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. BaGPipe is freely available at https://github.com/sanger-pathogens/BaGPipe.

BMC Microbiology
European Bioinformatics Institute (GB), University of Freiburg (DE), University of Cambridge (GB), University Medical Center Freiburg (DE), Cambridge University Hospitals NHS Foundation Trust (GB), Wellcome Sanger Institute (GB), Imperial College London (GB)
Industry, innovation and infrastructure
Openalex Percentile: Top 5%
Gut microbiota and health
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.