Literature DB >> 30535304

pyseer: a comprehensive tool for microbial pangenome-wide association studies.

John A Lees1, Marco Galardini2, Stephen D Bentley3, Jeffrey N Weiser1, Jukka Corander3,4,5.   

Abstract

Summary: Genome-wide association studies (GWAS) in microbes have different challenges to GWAS in eukaryotes. These have been addressed by a number of different methods. pyseer brings these techniques together in one package tailored to microbial GWAS, allows greater flexibility of the input data used, and adds new methods to interpret the association results. Availability and implementation: pyseer is written in python and is freely available at https://github.com/mgalardini/pyseer, or can be installed through pip. Documentation and a tutorial are available at http://pyseer.readthedocs.io. Supplementary information: Supplementary data are available at Bioinformatics online.

Entities:  

Mesh:

Year:  2018        PMID: 30535304      PMCID: PMC6289128          DOI: 10.1093/bioinformatics/bty539

Source DB:  PubMed          Journal:  Bioinformatics        ISSN: 1367-4803            Impact factor:   6.937


1 Introduction

Finding genetic variation associated with bacterial phenotypes such as antibiotic resistance, virulence and host specificity has great potential for a better understanding of the evolution of these traits, and may be able to inform new clinical interventions. Genome-wide association studies (GWAS) address this in a hypothesis-free manner. The recent availability of thousands of whole-genome sequences from bacterial populations has made this approach possible, though issues of strong clonal population structure and a variable pangenome (sequence variation of both core regions present in every isolate, and in variably present accessory regions) must be accounted for in any successful analysis (Power ). One method that addresses these issues in a scalable manner is SEER (Lees ), which uses non-redundant variable length k-mers between 9-100 bases as a generalized variant to represent variation across the pangenome. Linear models with a control for population structure are then used to perform the association. Other methods include: bugwas, which uses a linear mixed model (LMM) and also checks for lineage effects (Earle ); scoary, which tests clusters of orthologous genes (COGs) with and without accounting for population structure (Brynildsrud ); and phylogenetic regression, which uses a known phylogeny to adjust for the covariance between samples (Garland and Ives, 2000). Each of these methods has its own set of advantages and limitations, so recent GWAS analyses have used a combination of these techniques along with methods designed for human genetics, often in a somewhat ad-hoc manner that requires tedious file format conversion and familiarity with a wide range of methods and software packages (Lees ). As the number of large bacterial population datasets increases, we recognize the need to make these methods more accessible to the field. We have therefore re-implemented SEER in an easy-to-use and install python package, pyseer. pyseer also includes many additional features covering new association models, input sources and output processing. This brings together all the methods mentioned above into a single piece of software, and further enables new combinations of analysis. Our method is equally applicable to viral GWAS, and indeed any species with structured populations and/or genomes with significant variation in gene content.

2 Materials and methods

The foundation of pyseer is a direct python re-implementation of SEER (originally written in C++). K-mers of variable length counted from draft assemblies are used as the input, and their association with a phenotype of interest is assessed by fitting a generalized linear model to each k-mer. To control for population structure, multi-dimensional scaling of a pairwise distance matrix is performed and these components are included as fixed effects in each regression. In the case of a binary phenotype with a highly penetrant variant (those with high effect sizes), Firth regression is performed to maintain power. This adds a penalty to the logistic regression likelihood when there is a large error on the slope, which alleviates underestimation of p-values in cases with nearly separable data (Heinze and Schemper, 2002). Significant k-mers, after adjusting for multiple testing, can then be mapped to a reference annotation to find regions of the genome associated with the phenotype. After re-implementation, results were the same as SEER (Supplementary Fig. S1) and pyseer is of comparable speed (Supplementary Table S1). We then expanded the features in pyseer to bring together the different methods mentioned above.

2.1 Input sources

In addition to k-mers, the original focus of SEER, it can be convenient to test for association of SNPs and INDELs called against a reference genome. These can be used to test for association of close or adjacent SNPs, which would be split into many low frequency k-mers. The consequence of these variants can be directly predicted (e.g. synonymous, frameshifting) which would require more downstream processing for k-mers. Presence or absence of COGs and aligned intergenic regions can also be useful, as shown by scoary (Brynildsrud ). pyseer can natively read all these types of variant from VCF or Rtab files, which also allows for any user defined input type (for example copy number variants). We also enable grouping of variants by genomic region to perform burden testing, now allowing users to perform analysis of rare variation while still accounting for population structure. An important technical difficulty of using SEER, and most common linear mixed model implementations, is making sure that the membership and order of samples between the variant calls, phenotype file and population structure all match up correctly. Many methods do not check for this, and can run an incorrect analysis without producing a warning. In pyseer this label matching is done automatically, and the intersection of samples used is reported to the user.

2.2 Association models

pyseer implements the same fixed effect generalized linear regression model as SEER, including Firth regression. In pyseer we have added two new multidimensional scaling algorithms and a more streamlined interface with mash (Ondov ) to compute population structure. Alternatively, when a high quality phylogeny is available, pyseer can use this to adjust for population structure in a manner analogous to phylogenetic regression. As a major alternative we have included an LMM, which uses random effects to control for population structure, and has been shown to work across a range of scenarios. We have used the FaST-LMM implementation, which allows association in linear time (Lippert ), using a kinship matrix estimated from a subset of variants or from a phylogeny. This now allows association of all k-mers under the mixed model in a few hours, which was previously computationally and bioinformatically challenging. We have also included a method to estimate possible lineage effects, based on the procedure used in bugwas. Those variants which are associated with both the phenotype and with a lineage (which can be determined by pyseer or defined by the user) associated with the phenotype can be prioritized for further analysis outside of GWAS.

2.3 Output processing

It has been suggested that the number of unique variant patterns is a sensible way to set the multiple testing threshold, however these can be difficult to count due to the size of k-mer data. pyseer uses hashing to efficiently calculate this. We have also added tools to make interpretation of significant k-mers more streamlined. The user can map their results against any number of reference genomes for interactive display in phandango (Hadfield ) (Supplementary Fig. S2). We have added the ability to summarize k-mer results at the gene level by iteratively mapping to reference and draft annotations, which can be used to show complementary information about effect size, coverage and minor allele frequency (Supplementary Fig. S3).

3 Discussion

Starting with a re-implementation of SEER, we have added the models and input types used by other microbial and human GWAS approaches into a single package. Analyses which were previously challenging to perform, such as association of all variable length k-mers with a LMM, can be performed in an efficient and user-friendly manner. We have also enabled new types of analysis, such as population structure corrected burden testing, and gene level summaries of k-mers. Our package includes comprehensive documentation and a tutorial which shows how to perform GWAS using the new input sources and both association models, as well as how to interpret significant k-mers. We have implemented unit tests in our code to ensure consistency of output as features are added. With pyseer we have therefore reconciled many of the existing methods for regression-based microbial GWAS into a single package. Our focus on documentation and ease-of-use of pyseer will make GWAS more accessible to the microbial genomics community. Click here for additional data file.
  10 in total

1.  Using the Past to Predict the Present: Confidence Intervals for Regression Equations in Phylogenetic Comparative Methods.

Authors:  Theodore Garland; Anthony R Ives
Journal:  Am Nat       Date:  2000-03       Impact factor: 3.926

2.  A solution to the problem of separation in logistic regression.

Authors:  Georg Heinze; Michael Schemper
Journal:  Stat Med       Date:  2002-08-30       Impact factor: 2.373

3.  FaST linear mixed models for genome-wide association studies.

Authors:  Christoph Lippert; Jennifer Listgarten; Ying Liu; Carl M Kadie; Robert I Davidson; David Heckerman
Journal:  Nat Methods       Date:  2011-09-04       Impact factor: 28.547

Review 4.  Microbial genome-wide association studies: lessons from human GWAS.

Authors:  Robert A Power; Julian Parkhill; Tulio de Oliveira
Journal:  Nat Rev Genet       Date:  2016-11-14       Impact factor: 53.242

5.  Mash: fast genome and metagenome distance estimation using MinHash.

Authors:  Brian D Ondov; Todd J Treangen; Páll Melsted; Adam B Mallonee; Nicholas H Bergman; Sergey Koren; Adam M Phillippy
Journal:  Genome Biol       Date:  2016-06-20       Impact factor: 13.583

6.  Sequence element enrichment analysis to determine the genetic basis of bacterial phenotypes.

Authors:  John A Lees; Minna Vehkala; Niko Välimäki; Simon R Harris; Claire Chewapreecha; Nicholas J Croucher; Pekka Marttinen; Mark R Davies; Andrew C Steer; Steven Y C Tong; Antti Honkela; Julian Parkhill; Stephen D Bentley; Jukka Corander
Journal:  Nat Commun       Date:  2016-09-16       Impact factor: 14.919

7.  Rapid scoring of genes in microbial pan-genome-wide association studies with Scoary.

Authors:  Ola Brynildsrud; Jon Bohlin; Lonneke Scheffer; Vegard Eldholm
Journal:  Genome Biol       Date:  2016-11-25       Impact factor: 13.583

8.  Genome-wide identification of lineage and locus specific variation associated with pneumococcal carriage duration.

Authors:  Paul Turner; Stephen D Bentley; John A Lees; Nicholas J Croucher; David Goldblatt; François Nosten; Julian Parkhill; Claudia Turner
Journal:  Elife       Date:  2017-07-25       Impact factor: 8.713

9.  Identifying lineage effects when controlling for population structure improves power in bacterial association studies.

Authors:  Sarah G Earle; Chieh-Hsi Wu; Jane Charlesworth; Nicole Stoesser; N Claire Gordon; Timothy M Walker; Chris C A Spencer; Zamin Iqbal; David A Clifton; Katie L Hopkins; Neil Woodford; E Grace Smith; Nazir Ismail; Martin J Llewelyn; Tim E Peto; Derrick W Crook; Gil McVean; A Sarah Walker; Daniel J Wilson
Journal:  Nat Microbiol       Date:  2016-04-04       Impact factor: 17.745

10.  Phandango: an interactive viewer for bacterial population genomics.

Authors:  James Hadfield; Nicholas J Croucher; Richard J Goater; Khalil Abudahab; David M Aanensen; Simon R Harris
Journal:  Bioinformatics       Date:  2018-01-15       Impact factor: 6.937

  10 in total
  56 in total

1.  Immune exclusion by naturally acquired secretory IgA against pneumococcal pilus-1.

Authors:  Ulrike Binsker; John A Lees; Alexandria J Hammond; Jeffrey N Weiser
Journal:  J Clin Invest       Date:  2020-02-03       Impact factor: 14.808

2.  Genome-wide association, prediction and heritability in bacteria with application to Streptococcus pneumoniae.

Authors:  Sudaraka Mallawaarachchi; Gerry Tonkin-Hill; Nicholas J Croucher; Paul Turner; Doug Speed; Jukka Corander; David Balding
Journal:  NAR Genom Bioinform       Date:  2022-02-22

3.  Pneumococcal within-host diversity during colonization, transmission and treatment.

Authors:  Gerry Tonkin-Hill; Clare Ling; Chrispin Chaguza; Susannah J Salter; Pattaraporn Hinfonthong; Elissavet Nikolaou; Natalie Tate; Andrzej Pastusiak; Claudia Turner; Claire Chewapreecha; Simon D W Frost; Jukka Corander; Nicholas J Croucher; Paul Turner; Stephen D Bentley
Journal:  Nat Microbiol       Date:  2022-10-10       Impact factor: 30.964

Review 4.  Machine Learning for Antimicrobial Resistance Prediction: Current Practice, Limitations, and Clinical Perspective.

Authors:  Jee In Kim; Finlay Maguire; Kara K Tsang; Theodore Gouliouris; Sharon J Peacock; Tim A McAllister; Andrew G McArthur; Robert G Beiko
Journal:  Clin Microbiol Rev       Date:  2022-05-25       Impact factor: 50.129

Review 5.  Population Biology and Comparative Genomics of Campylobacter Species.

Authors:  Lennard Epping; Esther-Maria Antão; Torsten Semmler
Journal:  Curr Top Microbiol Immunol       Date:  2021       Impact factor: 4.291

6.  Atlas of group A streptococcal vaccine candidates compiled using large-scale comparative genomics.

Authors:  Mark R Davies; Liam McIntyre; Ankur Mutreja; Jake A Lacey; John A Lees; Rebecca J Towers; Sebastián Duchêne; Pierre R Smeesters; Hannah R Frost; David J Price; Matthew T G Holden; Sophia David; Philip M Giffard; Kate A Worthing; Anna C Seale; James A Berkley; Simon R Harris; Tania Rivera-Hernandez; Olga Berking; Amanda J Cork; Rosângela S L A Torres; Trevor Lithgow; Richard A Strugnell; Rene Bergmann; Patric Nitsche-Schmitz; Gusharan S Chhatwal; Stephen D Bentley; John D Fraser; Nicole J Moreland; Jonathan R Carapetis; Andrew C Steer; Julian Parkhill; Allan Saul; Deborah A Williamson; Bart J Currie; Steven Y C Tong; Gordon Dougan; Mark J Walker
Journal:  Nat Genet       Date:  2019-05-27       Impact factor: 38.330

7.  Genome-wide insights into population structure and host specificity of Campylobacter jejuni.

Authors:  Lennard Epping; Birgit Walther; Rosario M Piro; Marie-Theres Knüver; Charlotte Huber; Andrea Thürmer; Antje Flieger; Angelika Fruth; Nicol Janecko; Lothar H Wieler; Kerstin Stingl; Torsten Semmler
Journal:  Sci Rep       Date:  2021-05-14       Impact factor: 4.379

Review 8.  Forest and Trees: Exploring Bacterial Virulence with Genome-wide Association Studies and Machine Learning.

Authors:  Jonathan P Allen; Evan Snitkin; Nathan B Pincus; Alan R Hauser
Journal:  Trends Microbiol       Date:  2021-01-14       Impact factor: 18.230

9.  Estimating Genetic Similarity Matrices Using Phylogenies.

Authors:  Shijia Wang; Shufei Ge; Caroline Colijn; Priscila Biller; Liangliang Wang; Lloyd T Elliott
Journal:  J Comput Biol       Date:  2021-04-29       Impact factor: 1.479

10.  Fatal exudative dermatitis in island populations of red squirrels (Sciurus vulgaris): spillover of a virulent Staphylococcus aureus clone (ST49) from reservoir hosts.

Authors:  Kay Fountain; Tiffany Blackett; Helen Butler; Catherine Carchedi; Anna-Katarina Schilling; Anna Meredith; Marjorie J Gibbon; David H Lloyd; Anette Loeffler; Edward J Feil
Journal:  Microb Genom       Date:  2021-05
View more

北京卡尤迪生物科技股份有限公司 © 2022-2023.