Microbial GenomicsBioinformaticsPeer-reviewed journal article
prewas: Data pre-processing for more informative bacterial GWAS
Katie SaundiD, Zena LappiD, Stephanie N. ThiedeiD, Ali Mohammed PiraniiD, Evan S. SnitkiniD
- Citations
- 19
- FWCI
- 0.81
- Field percentile
- top 33%
Abstract
While variant identification pipelines are becoming increasingly standardized, less attention has been paid to the pre-processing of variants prior to their use in bacterial genome-wide association studies (bGWAS). Three nuances of variant pre-processing that impact downstream identification of genetic associations include the separation of variants at multiallelic sites, separation of variants in overlapping genes, and referencing of variants relative to ancestral alleles. Here we demonstrate the importance of these variant pre-processing steps on diverse bacterial genomic datasets and present prewas, an R package, that standardizes the pre-processing of multiallelic sites, overlapping genes, and reference alleles before bGWAS. This package facilitates improved reproducibility and interpretability of bGWAS results. Prewas enables users to extract maximal information from bGWAS by implementing multi-line representation for multiallelic sites and variants in overlapping genes. Prewas outputs a binary SNP matrix that can be used for SNP-based bGWAS and will prevent the masking of minor alleles during bGWAS analysis. The optional binary gene matrix output can be used for gene-based bGWAS which will enable users to maximize the power and evolutionary interpretability of their bGWAS studies. Prewas is available for download from GitHub. DATA SUMMARYO_LIprewas is available from GitHub under the MIT License (URL: https://github.com/Snitkin-Lab-Umich/prewas) and can be installed using the command devtools::install_github("Snitkin-Lab-Umich/prewas") C_LIO_LICode to perform analyses is available from GitHub under the MIT License (URL: https://github.com/Snitkin-Lab-Umich/prewas_manuscript_analysis) C_LIO_LIAll genomes are publicly available on NCBI (see Table S1 for more details) C_LI O_TBL View this table: org.highwire.dtl.DTLVardef@137f5b6org.highwire.dtl.DTLVardef@e4a12dorg.highwire.dtl.DTLVardef@11b2a3org.highwire.dtl.DTLVardef@1e71da1org.highwire.dtl.DTLVardef@4a7286_HPS_FORMAT_FIGEXP M_TBL O_FLOATNOTable S1:C_FLOATNO O_TABLECAPTIONSources for bacterial datasets C_TABLECAPTION C_TBL IMPACT STATEMENTIn between variant calling and performing bacterial genome-wide association studies (bGWAS) there are many decisions regarding processing of variants that have the potential to impact bGWAS results. We discuss the benefits and drawbacks of various variant pre-processing decisions and present the R package prewas to standardize single nucleotide polymorphism (SNP) pre-processing, specifically to incorporate multiallelic sites and prepare the data for gene-based analyses. We demonstrate the importance of these considerations by highlighting the prevalence of multiallelic sites and SNPs in overlapping genes within diverse bacterial genomes and the impact of reference allele choice on gene-based analyses.
- organism: bacteria (other)
- assay: whole-genome sequencing
- research focus: variant calling
- research focus: GWAS / association mapping
- research focus: benchmarking
- approach: statistical model
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
- BaGPipe: an automated, reproducible, and flexible pipeline for bacterial genome-wide association studies
Kuangyi Wei, Beth Blane, … William Roberts-Sengier·BMC MicrobiologyPeer-reviewed·Mar 27, 2026
- 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
- hogwash: Three Methods for Genome-Wide Association Studies in Bacteria
K. Saund, E. S. Snitkin·bioRxiv·Apr 19, 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
- A fast and agnostic method for bacterial genome-wide association studies: bridging the gap between kmers and genetic events
Magali Jaillard, Leandro Lima, … Laurent Jacob·PLoS GeneticsPeer-reviewed·Nov 12, 2018