BMC Bioinformatics (Nov 2017)

BugMat and FindNeighbour: command line and server applications for investigating bacterial relatedness

  • Oriol Mazariegos-Canellas,
  • Trien Do,
  • Tim Peto,
  • David W. Eyre,
  • Anthony Underwood,
  • Derrick Crook,
  • David H. Wyllie

DOI
https://doi.org/10.1186/s12859-017-1907-2
Journal volume & issue
Vol. 18, no. 1
pp. 1 – 7

Abstract

Read online

Abstract Background Large scale bacterial sequencing has made the determination of genetic relationships within large sequence collections of bacterial genomes derived from the same microbial species an increasingly common task. Solutions to the problem have application to public health (for example, in the detection of possible disease transmission), and as part of divide-and-conquer strategies selecting groups of similar isolates for computationally intensive methods of phylogenetic inference using (for example) maximal likelihood methods. However, the generation and maintenance of distance matrices is computationally intensive, and rapid methods of doing so are needed to allow translation of microbial genomics into public health actions. Results We developed, tested and deployed three solutions. BugMat is a fast C++ application which generates one-off in-memory distance matrices. FindNeighbour and FindNeighbour2 are server-side applications which build, maintain, and persist either complete (for FindNeighbour) or sparse (for FindNeighbour2) distance matrices given a set of sequences. FindNeighbour and BugMat use a variation model to accelerate computation, while FindNeighbour2 uses reference-based compression. Performance metrics show scalability into tens of thousands of sequences, with options for scaling further. Conclusion Three applications, each with distinct strengths and weaknesses, are available for distance-matrix based analysis of large bacterial collections. Deployed as part of the Public Health England solution for M. tuberculosis genomic processing, they will have wide applicability.

Keywords