SNP-sites: rapid efficient extraction of SNPs from multi-FASTA alignments

Microb Genom. 2016 Apr 29;2(4):e000056. doi: 10.1099/mgen.0.000056. eCollection 2016 Apr.

Abstract

Rapidly decreasing genome sequencing costs have led to a proportionate increase in the number of samples used in prokaryotic population studies. Extracting single nucleotide polymorphisms (SNPs) from a large whole genome alignment is now a routine task, but existing tools have failed to scale efficiently with the increased size of studies. These tools are slow, memory inefficient and are installed through non-standard procedures. We present SNP-sites which can rapidly extract SNPs from a multi-FASTA alignment using modest resources and can output results in multiple formats for downstream analysis. SNPs can be extracted from a 8.3 GB alignment file (1842 taxa, 22 618 sites) in 267 seconds using 59 MB of RAM and 1 CPU core, making it feasible to run on modest computers. It is easy to install through the Debian and Homebrew package managers, and has been successfully tested on more than 20 operating systems. SNP-sites is implemented in C and is available under the open source license GNU GPL version 3.

Keywords: SNP calling; high throughput; software.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Algorithms*
  • Base Sequence
  • Genome / genetics
  • High-Throughput Nucleotide Sequencing
  • Polymorphism, Single Nucleotide / genetics*
  • Sequence Alignment
  • Sequence Analysis, DNA / methods*
  • Software*

Associated data

  • figshare/10.6084/m9.figshare.2067249.v1