SPAdes (software) explained

SPAdes
Developer:St. Petersburg State University, Russia
St. Petersburg Academic University, Russia
University of California, San Diego, USA
Latest Release Version:4.0.0
Latest Release Date:June 3rd, 2024
Programming Language:C++, C, Python, Perl.
Operating System:Linux, macOS
Genre:Bioinformatics
License:GNU General Public License version 2 (GPLv2)

SPAdes (St. Petersburg genome assembler)[1] is a genome assembly algorithm which was designed for single cell and multi-cells bacterial data sets. Therefore, it might not be suitable for large genomes projects.[2]

SPAdes works with Ion Torrent, PacBio, Oxford Nanopore, and Illumina paired-end, mate-pairs and single reads.SPAdes has been integrated into Galaxy pipelines by Guy Lionel and Philip Mabon.[3]

Background

Studying the genome of single cells will help to track changes that occur in DNA over time or associated with exposure to different conditions. Additionally, many projects such as Human Microbiome Project and antibiotics discovery would greatly benefit from Single-cell sequencing (SCS).[4] [5] SCS has an advantage over sequencing DNA extracted from large number of cells. The problem of averaging out the significant variations between cells can be overcome by using SCS.[6] Experimental and computational technologies are being optimized to allow researchers to sequence single cells. For instance, amplification of DNA extracted from a single cell is one of the experimental challenges. To maximize the accuracy and quality of SCS, a uniform DNA amplification is needed. It was demonstrated that using multiple annealing and looping-based amplification cycles (MALBAC) for DNA amplification generates less biasness compared to polymerase chain reaction (PCR) or multiple displacement amplification (MDA).[7] Furthermore, it has been recognized that the challenges facing SCS are computational rather than experimental.[8] Currently available assembler, such as Velvet,[9] String Graph Assembler (SGA)[10] and EULER-SR,[11] were not designed to handle SCS assembly. Assembly of single cell data is difficult due to non-uniform read coverage, variation in insert length, high levels of sequencing errors and chimeric reads.[8] [12] [13] Therefore, the new algorithmic approach, SPAdes, was designed to address these issues.

SPAdes assembly approach

SPAdes uses k-mers for building the initial de Bruijn graph and on following stages it performs graph-theoretical operations which are based on graph structure, coverage and sequence lengths. Moreover, it adjusts errors iteratively.[2] The stages of assembly in SPAdes are:[2]

Details on SPAdes assembly

SPAdes was designed to overcome the problems associated with the assembly of single cell data as follows:[2]

1. Non-uniform coverage.SPAdes utilizes multisized de Bruijn graph which allows employing different values of k. It has been suggested to use smaller values of k in low-coverage regions to minimize fragmentation, and larger values of k in high coverage regions to decrease repeat collapsing (Stage 1 above). 2. Variable insert sizes of paired-end reads. SPAdes employs the basic concept of paired de Bruijn graphs. However, paired de Bruijn works well on paired-end reads with fixed insert size. Therefore, SPAdes estimates 'distances' instead of using 'insert sizes'. Distance (d) of a paired-end read is defined as, for a read length L, d = insert size – L. By utilizing k-bimer adjustment approach, distances are exactly estimated. A k-bimer consisting of k-mers ‘α’ and ‘β’ together with the estimated distance between them in a genome (α|β,d). This approach breaks the paired–end reads into pairs of k-mers which are transformed to define pairs of edges (biedges) in the de Bruijn graphs. These sets of biedges are involved in the estimation of distances between edges paths between k-mers α and β. By clustering, the optimal distance estimate is chosen from each cluster (stage 2, above). To construct paired de Bruijn graph, the rectangle graphs are employed in SPAdes (stage 3). Rectangle graphs approach was first introduced in 2012[14] to construct paired de Bruijn graphs with doubtful distances.

3. Bulge, tips and chimeras. Bulges and tips occur due to errors in the middle and ends of reads, respectively. A chimeric connection joins two unrelated substrings of the genome. SPAdes identifies these based on graph topology, the length and coverage of the non-branching paths included in them. SPAdes keeps a data structure to be able to backtrack all corrections or removals.

SPAdes modifies the previously used bulge removal approach[15] and iterative de Bruijn graph approach from Peng et al (2010)[16] and creates a new approach called ‘‘bulge corremoval’’, which stands for bulge correction and removal.The bulge corremoval algorithm can be summarized as follows: a simple bulge is formed by two small and similar paths (P and Q) connecting the same hubs. If P is a non-branching path (h-path), then SPAdes maps every edge in P to an edge projection in Q and removes P from the graph, as a result the coverage of Q increases.Unlike other assemblers, which use a fixed coverage cut-off bulge removal, SPAdes removes or projects the h-paths with low coverage step by step. This is achieved by employing gradually increasing cut-off thresholds and iterating through all h-paths in increasing order of coverage (for bulge corremoval and chimeric removal) or length (for tip removal).Moreover, in order to guarantee that no new sources/sinks are introduced to the graph, SPAdes deletes an h-path (in chimeric h-path removal) or projects (in bulge corremoval) only if its start and end vertices have at least two outgoing and ingoing edges. This helps to remove low coverage h-paths occurring from sequencing errors and chimeric reads but not from repeats.

SPAdes pipelines and performance

SPAdes is composed of the following tools:[1]

Comparing assemblers

A study[18] compared several genome assemblers on single cell E. coli samples. These assemblers are EULER-SR,[11] Velvet,[9] SOAPdenovo,[19] Velvet-SC, EULER+ Velvet-SC (E+V-SC), IDBA-UD[20] and SPAdes. It was demonstrated that IDBA-UD and SPAdes performed the best.[18] SPAdes had the largest NG50 (99,913, NG50 statistics is the same as the N50 except that the genome size is used rather than the assembly size).[21] Moreover, using E. coli reference genome,[22] SPAdes assembled the highest percentage of genome (97%) and the highest number of complete genes (4,071 out of 4,324).[18] The assemblers’ performances were as follows:[18]

IDBA-UD < Velvet < E+V-SC < SPAdes < EULER-SR < Velvet-SC < SOAPdenovo

SPAdes > IDBA-UD >>> E+V-SC > EULER-SR >Velvet >Velvet-SC > SOAPdenovo

IDBA-UD > SPAdes > > EULER-SR > Velvet= E+V-SC > Velvet-SC > SOAPdenovo

SPAdes > IDBA-UD > E+V-SC > Velvet-SC > EULER-SR > SOAPdenovo > Velvet

E+V-SC = Velvet = Velvet-SC < SOAPdenovo < IDBA-UD < SPADes < EULER-SR

See also

Notes and References

  1. Web site: SPAdes 3.0.0 Manual . January 26, 2014 . February 2, 2014 . https://web.archive.org/web/20140202215224/http://spades.bioinf.spbau.ru/release3.0.0/manual.html . dead .
  2. Bankevich A . Nurk S . Antipov D . Gurevich AA . Dvorkin M . Kulikov AS . Lesin VM . Nikolenko SI . Pham S . Prjibelski AD . Pyshkin AV . Sirotkin AV . Vyahhi N . Tesler G . Alekseyev MA . Pevzner PA. . 10.1089/cmb.2012.0021. SPAdes: a new genome assembly algorithm and its applications to single-cell sequencing . Journal of Computational Biology . 19 . 5 . 455–477 . 2012 . 3342519 . 22506599.
  3. http://toolshed.g2.bx.psu.edu/view/lionelguy/spades Galaxy tool shed
  4. Gill S . Pop M . Deboy R . Eckburg P . Turnbaugh P . Samuel B . Gordon J . Relman D . Fraser-Liggett C . Nelson K . 10.1126/science.1124234. Metagenomic analysis of the human distal gut microbiome. Science . 312 . 5778 . 1355–1359. 2006. 16741115. 3027896. 2006Sci...312.1355G .
  5. Li J . Vederas J . 10.1126/science.1168243 . Drug discovery and natural products: end of an era or an endless frontier? . Science . 325 . 5937 . 161–165. 2009 . 19589993. 2009Sci...325..161L . 206517350 .
  6. Lu S . Zong C . Fan W . Yang M . Li J . Chapman A . Zhu P . Hu X . Xu L . Yan L . F B . Qiao J . Tang F . Li R . Xie X . 10.1126/science.1229112. Probing meiotic recombination and aneuploidy of single sperm cells by whole-genome sequencing . Science . 338 . 6114 . 1627–1630 . 2012 . 23258895 . 3590491. 2012Sci...338.1627L .
  7. Web site: One cell is all you need. January 4, 2013.
  8. Rodrigue S . Malmstrom RR . Berlin AM . Birren BW . Henn MR . Chisholm SW . Whole genome amplification and de novo assembly of single bacterial cells . PLOS ONE . 4 . 9 . e6864 . 2009 . 10.1371/journal.pone.0006864. 19724646 . 2731171 . 2009PLoSO...4.6864R . free .
  9. Zerbino D . Birney E . Velvet: algorithms for de novo short read assembly using de Bruijn graphs . Genome Research . 18 . 821–829 . 2008. 5 . 10.1101/gr.074492.107 . 18349386 . 2336801.
  10. Simpson JT . Durbin R . Efficient de novo assembly of large genomes using compressed data structures. Genome Research. 22 . 3 . 549–556 . 2012. 3290790 . 10.1101/gr.126953.111 . 22156294.
  11. Pevzner PA . Tang H . Waterman MS . An Eulerian path approach to DNA fragment assembly . Proceedings of the National Academy of Sciences of the United States of America. 98 . 17 . 9748–9753 . 2001 . 10.1073/pnas.171285098 . 11504945 . 55524. 2001PNAS...98.9748P . free .
  12. Medvedev P . Scott E . Kakaradov B . Pevzner P . 10.1093/bioinformatics/btr208. Error correction of high-throughput sequencing datasets with non-uniform coverage . Bioinformatics . 27 . i137–141. 2011 . 13 . 21685062 . 3117386.
  13. Ishoey T . Woyke T . Stepanauskas R . Novotny M . Lasken RS . 10.1016/j.mib.2008.05.006. Genomic sequencing of single microbial cells from environmental samples . Current Opinion in Microbiology . 11 . 3 . 198–204. 2008 . 3635501 . 18550420.
  14. Book: Vyahhi N . Pham SK . Pevzner P . Algorithms in Bioinformatics . From de Bruijn Graphs to Rectangle Graphs for Genome Assembly . 7534 . 249–261 . 2012 . 10.1007/978-3-642-33122-0_20. Lecture Notes in Bioinformatics . 978-3-642-33121-3 .
  15. Chitsaz H . Yee-Greenbaum JL . Tesler G . Lombardo MJ . Dupont CL . Badger JH . Novotny M . Rusch DB . Fraser LJ . Gormley NA . Schulz-Trieglaff O . Smith GP . Evers DJ . Pevzner PA . Lasken RS . Efficient de novo assembly of single-cell bacterial genomes from short-read data sets . Nat Biotechnol . 29 . 10 . 915–921 . 2011 . 3558281 . 10.1038/nbt.1966 . 21926975.
  16. Book: Peng Y. . Leung H.C.M. . Yiu S.-M . Chin FYL . Research in Computational Molecular Biology . IDBA – A Practical Iterative de Bruijn Graph de Novo Assembler . Lect. Notes Comput. Sci. . 6044 . 426–440 . 2010 . 10.1007/978-3-642-12683-3_28 . Lecture Notes in Computer Science . 2010LNCS.6044..426P . 10722/129571 . 978-3-642-12682-6 . 10.1.1.157.195 . 16328443 . registration . https://archive.org/details/researchincomput0000reco/page/426 .
  17. Nikolenko SI . Korobeynikov AI . Alekseyev MA. . 10.1186/1471-2164-14-S1-S7 . BMC Genomics . 14 . Suppl 1 . S7 . 2012 . 23368723 . 3549815. 1211.2756 . free .
  18. Gurevich A . Saveliev V . Vyahhi N . Tesler G . QUAST: quality assessment tool for genome assemblies . Bioinformatics. 29 . 1072–1075 . 2013 . 8 . 10.1093/bioinformatics/btt086. 23422339 . 3624806 .
  19. Li R . Zhu H . Ruan J . Qian W . Fang X . Shi Z . Li Y . Li S . Shan G . Kristiansen K . Li S . Yang H . Wang J . Wang J . De novo assembly of human genomes with massively parallel short read sequencing. Genome Research . 20 . 2 . 265–272 . 2010. 10.1101/gr.097261.109 . 20019144 . 2813482.
  20. Peng Y . Leung HCM . Yiu SM . Chin FYL . IDBA-UD: a de novo assembler for single-cell and metagenomic sequencing data with highly uneven depth. Bioinformatics. 28 . 11 . 1–8 . 2012. 10.1093/bioinformatics/bts174 . 22495754. free . 10722/152505 . free .
  21. Web site: SPAdes Genome Assembler | Algorithmic Biology Lab.
  22. Blattner FR . Plunkett G . Bloch C . Perna N . Burland V . Riley M . Collado-Vides J . Glasner J . Rode C . Mayhew G . Gregor J . Davis N . Kirkpatrick H . Goeden M . Rose D . Mau B . Shao Y . The complete genome sequence of Escherichia coli K-12. Science. 277 . 1453–1462 . 1997. 10.1126/science.277.5331.1453. 5331. 9278503. free .