Skip to content

Supplementary data and code for the MSc titled "Genomic epidemiology of E. coli strains within wild hosts"

Notifications You must be signed in to change notification settings

Rob-murphys/MSc-Bioinformatics-thesis

Repository files navigation

Genomic epidemiology of E. coli strains within wild hosts

Supplementary material for the MSc thesis titled "Genomic epidemiology of E. coli strains within wild hosts".

Contents

1.Figures

2.Methods

3.Data

4.Scripts

Supplementary figures

alt text Supplementary figure 1: Multi-dimensional scaling of pairwise distances between the Roary core genome alignment. A- separating the isolates by phylogroup showing clearly defined clustering. B- separating the isolates by order of species the isolate came from.

Supplementary methods

Isolate acquisition: The isolate collection from North America consisted of 107 E. coli isolates and 11 Enterobacter cloacae, which were excluded from downstream analysis, from Mexico and one E. coli isolate from Costa Rica. Three E. coli isolates were provided from Venezuela in South America and one Unclassified isolate from Africa. Thirteen of the contributed E. coli isolates and two E. cloacae isolates came from unknown continents and countries. A total of 138 isolates were provided with 123 being E. coli. The E. coli isolates were recovered from the faeces 50 different genus’s consisting of 64 different species covering both land and sky-based animals. The isolates were sequenced as described by Moradigaravand et al1.

Antibiotic susceptibility data for the isolates had been established for Ampicilin, Cefotaxime, Ceftazidime, Cefuroxime, Cephalothin, Ciprofloxacin, Gentamycin, Tobramycin and Trimethoprim through phenotypic testing measures.

Quality control of short paired end reads: The pair end reads need to be quality controlled to ensure the reads are E. coli and are of high enough quality to be used in downstream analysis. The Kraken2 taxonomical assignment tool uses alignment of K-mers and a custom classification algorithm to produce fast and sensitive assignment of taxonomical labels. The outputs are a percent of the reads belonging to a certain species and from this we identifed and remove contaminate isolates that were below 40% E. coli from all analysis.

The stats.sh shell tool from BBMap3 was used to obtain the N50 and number of contigs for each assembly file. Combined the N50 value (higher the better) and number of contigs (lower the better) show the quality of the assembly and how well we have retrieved the whole genome sequence of the isolate. A custom shell script was compiled to calculate and extract these values.

De novo assembly and pangenome analysis: Paired end reads were de novo assembled via Velvet4 following the workflow and parameters of Moradigaravand et al1. The assembled genomes were then annotated via Prokka, the rapid prokaryotic whole genome annotator5. The annotated .gff files were used as input for the pangenome pipeline Roary6 using fast core alignment to create a multiFASTA alignment of core genes (roary -n -e -z *.gff). Roary works via extracting the coding regions and performs BLASTP on them with a defined identity threshold. The output summary stats and core genome alignment use in downstream analysis. The SNPs within the core genome were identified with SNP-Sites from the sanger institute7. Maximum likelihood trees were generated via FastTee8 with visualisation of trees and associated metadata in FigTree and iTOL9. R was used to generate MDS plots of the pairwise distance between isolates, clustering by phenotypic groups and isolate taxonomic levels.

Pairwise distance analysis: The pairwise distance between the core gene alignment and core SNP alignment of isolates was analysed using the R package ape10 to read and generate a pairwise distance matrix for each multi-fasta alignment file. The distribution of pairwise distance, excluding the phylogroup Clade I and isolates with an unidentified phylogroup, were plotted and analysed by splitting into same and different phylogroup of the isolate/taxonomical level of the host species. The clustering of the pairwise distances was analysed via multi-dimensional scaling (MDS) using the build in R stats cmdscale functionality on the pairwise distance matrices. The output of which is directly readable into ggplot2, however clade I and those with unidentified phylogroup) were excluded. Data points were labelled by phylogroup of the isolate and differing taxonomical levels of the host species to observe the clustering patterns.

Correlation analysis of virulence factor frequency and adult body mass of isolate: Linear regression of virulence factor frequency of the isolate to adult body mass of the host species was conducted using adult body masses from the PanTHERIA11 ecological database with NAs being removed and merging extrapolated data and actual data. The integrated virulence factor frequency and adult body mass dataset was bootstrapped to produce 100 datasets consisting of 82 observations each, producing a distribution of adjusted R squared, f-statistic and p-values. Correlation between the two data types was also analysed by Spearman’s correlation tests on the same bootstrapped datasets to get a distribution of t-statistic, correlation and p-values. Spearman’s was employed to allow a dropping of the linear assumption of correlation.

References

  1. Moradigaravand, D. et al. Evolution of the Staphylococcus argenteus ST2250 Clone in Northeastern Thailand Is Linked with the Acquisition of Livestock-Associated Staphylococcal Genes . MBio (2017). doi:10.1128/mbio.00802-17

  2. Wood, D. E. & Salzberg, S. L. Kraken: ultrafast metagenomic sequence classification using exact alignments. Genome Biol. (2014). doi:10.1186/gb-2014-15-3-r46

  3. Bushnell B. BBMap download | SourceForge.net. Available at: https://sourceforge.net/projects/bbmap/. (Accessed: 27th June 2019)

  4. Zerbino, D. R. & Birney, E. Velvet: Algorithms for de novo short read assembly using de Bruijn graphs. Genome Res. (2008). doi:10.1101/gr.074492.107

  5. Seemann, T. Prokka: Rapid prokaryotic genome annotation. Bioinformatics (2014). doi:10.1093/bioinformatics/btu153

  6. Page, A. J. et al. Roary: Rapid large-scale prokaryote pan genome analysis. Bioinformatics (2015). doi:10.1093/bioinformatics/btv421

  7. Page, A. J. et al. SNP-sites: rapid efficient extraction of SNPs from multi-FASTA alignments. Microb. Genomics (2016). doi:10.1099/mgen.0.000056

  8. Price, M. N., Dehal, P. S. & Arkin, A. P. FastTree 2 - Approximately maximum-likelihood trees for large alignments. PLoS One (2010). doi:10.1371/journal.pone.0009490

  9. Letunic, I. & Bork, P. Interactive Tree Of Life (iTOL) v4: recent updates and new developments. Nucleic Acids Res. (2019). doi:10.1093/nar/gkz239

  10. Paradis, E. & Schliep, K. Ape 5.0: An environment for modern phylogenetics and evolutionary analyses in R. Bioinformatics (2019). doi:10.1093/bioinformatics/bty633

  11. Jones, K. E. et al. PanTHERIA: a species-level database of life history, ecology, and geography of extant and recently extinct mammals. Ecology (2009). doi:10.1890/08-1494.1

Data

Virulence Finder data

ResFinder data

Scripts

Bash scripts- Functionality of these may depend on local system.

R scripts

About

Supplementary data and code for the MSc titled "Genomic epidemiology of E. coli strains within wild hosts"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published