Skip to content
naulon

No retraction, correction or concern found when last checked on Oct 19, 2026.

Robust high-throughput prokaryote de novo assembly and improvement pipeline for Illumina data

Andrew J. Page, Nishadi De Silva, Martin Hunt and 5 more

Microbial Genomics · 2016

doi:10.1099/mgen.0.000083

Abstract

The rapidly reducing cost of bacterial genome sequencing has lead to its routine use in large-scale microbial analysis. Though mapping approaches can be used to find differences relative to the reference, many bacteria are subject to constant evolutionary pressures resulting in events such as the loss and gain of mobile genetic elements, horizontal gene transfer through recombination and genomic rearrangements. De novo assembly is the reconstruction of the underlying genome sequence, an essential step to understanding bacterial genome diversity. Here we present a high-throughput bacterial assembly and improvement pipeline that has been used to generate nearly 20 000 annotated draft genome assemblies in public databases. We demonstrate its performance on a public data set of 9404 genomes. We find all the genes used in multi-locus sequence typing schema present in 99.6 % of assembled genomes. When tested on low-, neutral- and high-GC organisms, more than 94 % of genes were present and completely intact. The pipeline has been proven to be scalable and robust with a wide variety of datasets without requiring human intervention. All of the software is available on GitHub under the GNU GPL open source license.

Full text

From PubMed Central, U.S. National Library of Medicine, as current on Oct 20, 2026. Paragraph numbers are ours, so an answer can point at one.

Data Summary

The optional assembly pipeline software is available from Github under the GNU GPL open source license; (url – https://github.com/sanger-pathogens/vr-codebase)

The assembly improvement software is available from Github under the GNU GPL open source license; (url – https://github.com/sanger-pathogens/assembly_improvement)

Accession numbers for 9404 assemblies are provided in the supplementary material.

The Bordetella pertussis sample has sample accession ERS1058649, sequencing reads accession number ERR1274624 and assembly accession numbers FJMX01000001-FJMX01000249; (url – http://www.ebi.ac.uk/ena/data/view/ERR1274624)

The Salmonella enterica subsp. enterica serovar Pullorum sample has sample accession number ERS1058652, sequencing reads accession number ERR1274625 and assembly accession numbers FJMV01000001–FJMV01000026; (url – http://www.ebi.ac.uk/ena/data/view/ERR1274625)

The Staphylococcus aureus sample has sample accession number ERS1058648, sequencing reads accession number ERR1274626 and assembly accession numbers FJMW01000001–FJMW01000040; (url – http://www.ebi.ac.uk/ena/data/view/ERR1274625)

Impact Statement

The automated generation of de novo assemblies is a critical step in exploring bacterial genome diversity. The pipeline described in this paper has been used to assemble and annotate 30 % of all bacterial genome assemblies in GenBank (18 080 out of 59 536, accessed 16/2/16). Rather than being optimized for the highest quality assembly, it is optimised for efficient resource usage, throughput and robustness. Multi-locus sequence typing genes are found in 99.6 % of cases, making it at least as good as existing typing methods. In the test genomes we present, more than 94 % of genes are correctly assembled into intact reading frames.

Introduction

The rapid reduction in the cost of whole-genome sequencing (WGS) has made it feasible to sequence thousands of prokaryotic samples within a single study. Many bacteria acquire genetic material through horizontal gene transfer when different strains recombine. Mobile genetic elements such as phages, plasmids and transposons, by their very nature, are the most variable part of the genome, enabling rapid exchange of genetic material between isolates. They are known to carry antibiotic resistance and virulence genes, and so are some of the most biologically interesting parts of the genome. Identification of lost sequences and genes is also biologically important as this can signal host or environment adaptation. Though reconstructing the sequence (de novo assembly) and performing annotation is a more complex process than performing a mapping-based approach, it will: (1) generate sequences not in the reference genome [variable accessory genome], (2) resolve deletions which generate errors in mapping-based approaches, (3) find signatures of recombination, and (4) enable the community to work with a full sequence for bottom-up analysis from public databases, rather than single-nucleotide polymorphism lists.

Although de novo assembly is computationally challenging it has many advantages over mapping-based approaches. One of the fundamental limitations of de novo assembly is that any repetitive regions within the genome that exceed the length of the library fragment size prevent a complete de novo assembly from paired-end reads. However, the most cost effective, and hence most common, sequencing method involves sequencing the ends of short DNA fragments (<1000 bp). When a repeat region is larger than the fragment size, the assembler cannot unambiguously reconstruct the underlying sequence, so a break is introduced. This challenge has been addressed in a number of different ways. Automatically tuning parameters and configurations can produce improved assemblies, such as using RAMPART. The iMetAMOS pipeline uses multiple different assemblers and picks the best result, however it takes on average over one month to assemble a single bacterial genome, which makes it computationally unfeasible to run on a large number of samples. Assemblies may be improved using wet lab methods, such as using capilary sequencing to extend over gaps, optical mapping, or additional long-insert mate-pair libraries, however these approaches are low-throughput and prohibitively costly. Several tools mirror these manual steps, like ordering contigs, performing scaffolding, automating gap closing, correcting base errors and assembly error identification. Some tools implement a collection of these steps, such as SPAdes, MaSuRCA and iMetAMOS, but these additional steps come with computational overheads which can substantially increase the overall running time. In some cases it is desireable to produce the highest quality genomes using manual and automated methods, for example when generating a new reference genome for a species. However, in a lot of cases, a draft genome will contain enough of the sequences and genes to allow useful analysis to be performed without the computational overheads.

The annotation of bacterial genomes can be performed using a number of automated tools. Although we have seen a commoditisation of sequencing technologies due to rapidly decreased costs, the generation of annotated genomes, and deposition of those to the public archives (EMBL/GenBank), can be a very time consuming and laborous process, so is rarely performed. Taking the Salmonella genus as an example: of the 44 920 WGS samples sequenced, only 4451 (9.9 %) have had assemblies depositied in GenBank (accessed 5 May 2016).

To overcome these challenges, whilst also balancing computational overhead and robustness versus quality, we have created a reliable assembly and improvement pipeline that consistently produces annotated genomes on a large scale ready for uploading to EMBL/EBI. To date, 18 080 de novo assemblies have been created and submitted to public databases, with associated epidemiological metadata, from 10 Tbp of raw sequencing data. The pipeline is robust to failure, auto restarting when one step fails. It estimates the amount of memory required. It performs multiple assemblies and several automated in-silico improvement steps that increase the contiguity of the resulting assembly. We assess the quality of the assemblies for low-, neutral- and high-GC genomes. The pipeline is written in Perl and is freely available under the open source GNU GPL license.

Theory and implementation

An overview of the method is shown in Fig. 1 and a step-by-step example is available from. For each genome, the de novo short-read assembler Velvet is used to generate multiple assemblies by varying the k-mer size between 66 % and 90 % of the read length using VelvetOptimiser, as a well-chosen k-mer can substantially increase the quality of the resulting assembly. These assemblies can be optionally run through a pipeline system. From these assemblies, the assembly with the highest N50 is chosen. The N50 is the length L of the longest contig such that half of the nucleotides in the assembly lie in contigs of length at least L. When the pipeline was initially written (2012), the Velvet assembler was chosen because it proved to be robust to a wide range of data sets during testing and had a low computational overhead compared with SPAdes. Comparisons with the current version of SPAdes (v3.8.0) show similar performance and quality of results to Velvet and are detailed in Table S1 (available in the online Supplementary Material).

A stand-alone assembly improvement step is run on the assembly to scaffold the contigs using SSPACE and fill in sequence gaps using GapFiller. First, to reduce the computational burden, reads that map [SMALT] as proper pairs are excluded, since they have been successfully used in the assembly. A proper pair is a pair of reads from the same fragment of DNA which align to a single contig, in the correct orientation, within the expected insertion size range. The remaining reads, which are either unmapped or are mapped but have a mate that was unmapped or mapped to a different contig, are used for the improvement step. As SSPACE and GapFiller are greedy algorithms, they make assumptions, which can lead to false joins. We control for this by iteratively lowering the read coverage required to make a join, so that contigs with the most read-pair evidence are joined in an earlier iteration than contigs with low read-pair evidence. As we use a subset of reads (those not mapping in perfect pairs to a contig), this step is very fast, requiring between 20 and 60 min (Table S2, available in the online Supplementary Material) for a single sample.

On the first iteration a minimum of 90 read pairs must link two contigs for them to be joined. This is then progressively reduced over 16 iterations down to five read pairs. These parameters were chosen after extensive testing on a range of organisms. Where two contigs are joined by read pairs, a gap consisting of an unknown number of bases (N) is generated. These gaps are targeted for closure by running 120 iterations of GapFiller (version 1.11), using a similar decreasing read evidence threshold beginning with a minimum depth of coverage of 90 reads, alternating between BWA and Bowtie. Contigs are excluded from the assembly where they are shorter than the target fragment size (normally 300–500 bases). The contigs are then sorted by size and renamed in a standardised manner to include the raw sequencing data accession number. Finally, to assess the quality of the assembly and to produce a set of statistics, the reads are aligned again to the final assembly using SMALT. All the assemblies produced are created in a standardised manner and require no input from the user. The assemblies are then automatically annotated using PROKKA with genus-specific databases from RefSeq. The resulting annotated assemblies are in a format suitable for submission to EMBL/GenBank with post processing using GFF3toEMBL. All the assemblies produced are created in a standardised manner and require no input from the user.

To assess the quality of the assemblies produced by the pipeline we used three microbial genomes with differing G+C content: Bordetella pertussis (67 %), Salmonella enterica subsp. enterica serovar Pullorum (52 %) and Staphylococcus aureus (33 %). This is a standard set of strains used for technology validation at the Wellcome Trust Sanger Institute. A closed complete capillary reference genome is available for each, with the Salmonella enterica subsp. enterica serovar Pullorum and Staphylococcus aureus TW20 data originating from the same isolate. Each genome was paired-end sequenced on the Illumina MiSeq with a read length of 130 bp, achieving a coverage of 28–43×. We compared the pipeline assemblies in each case to the capillary reference genomes using QUAST and present the results in Table 1. Overall the assemblies contained at least 94 % of the reference genome, so are good representations of the underlying genome. Salmonella enterica subsp. enterica serovar Pullorum was assembled into 22 contigs and Staphylococcus aureus into 38 contigs. B. pertussis is known to contain many repetitive IS elements, explaining the higher level of fragmentation, which at 247 contigs is approximately equal to the number of IS elements (261 out of 3816 genes in B. pertussis Tohama I annotated as IS elements). A pan genome was constructed using Roary for each organism, consisting of the predicted genes from the reference and de novo assembly. The de novo assemblies contained 93–98 % of the reference genes. This is in agreement with the percentage of the nucleotide bases matching between the de novo assembly and the reference, but does not account for misassemblies.

To assess the performance of the pipeline on a large scale we took a set of 18 080 published public assemblies and filtered them down to a set of 9404 assemblies covering 73 bacterial species, summarised in Table 2. Only assemblies from isolates sequenced at the Wellcome Trust Sanger Institute on the Illumina HiSeq 2000/2500 or MiSeq platforms to high coverage (>50×) were considered. Contaminated samples were excluded after taxonomic classification of the raw reads with Kraken and where more than one multi-locus sequence typing (MLST) allele was found (37 assemblies). Fig. 2 gives the distribution of the number of contigs in each assembly. The mean is 89 contigs with peaks corresponding to different species, such as Shigella at 405 contigs. Before an isolate is sequenced, a reference genome is chosen based on the predicted species. We compared the size of the assembly to the size of the corresponding reference and present the distribution in Fig. 3. Of all assemblies, 98 % are within ±10 % of the size of their corresponding reference genome. Some natural variation is to be expected within bacteria, for example the size of Escherichia coli genomes can vary by more than 20 %. Some may be larger because of plasmids or phages; others may have experienced gene loss and are smaller. However, most of the assemblies are at the expected size, allowing for useful comparisons to be made.

Seven gene MLST schemes based on essential housekeeping genes exist for 6971 of the assemblies from the set of 9404 assemblies. These sequence-typing methods are widely used by reference labs for genomic epidemiology, predating whole-genome sequencing technologies. If all of the MLST genes are present in the assemblies then it allows for the assemblies to be used as a replacement for traditional PCR-based methods. The MLST scheme for Mycobacterium abscessus is poorly populated, containing very few alleles and we could only assign an allele in 30 % of cases, so has been excluded from this analysis, leaving 6814 assemblies. Only genes with at least 95 % length and identity to a known MLST allele are counted as a match. We found that in 6789 (99.6 %) assemblies we could identify all of the MLST genes using MLST-check, a method which performs a nucleotide blast of all the MLST alleles against each assembly, with the latest databases downloaded from pubMLST. One MLST gene was missing from each of 16 assemblies (0.23 %). One sample (0.013 %) was only partially assembled but on closer investigation it had unusually high coverage (445×), which appears to have lead to a poor choice of k-mer. Of the remaining eight assemblies, where the sequence type could not be inferred from the assembly, all contained contaminations that were identified as different species when analysed with Kraken.

Conclusion

Generating annotated genomes from whole-genome sequencing data is a complex and laborious process that enables the true diversity within a species to be unveiled. We developed a high-throughput pipeline that has been used to generate 30 % of all bacterial assemblies in GenBank. The resulting genomes encompass more than 94 % of the predicted genes and nucleotides, and have MLST genes available in 99.6 % of assembled samples over a range of organisms with different DNA GC contents. We demonstrate that it has been successfully scaled up to tens of thousands of samples, providing annotated de novo assemblies suitable for submission to EMBL/GenBank without the need for manual intervention.

References 49

  1. 1.

    Medini D. Donati C. Tettelin H. Masignani V. Rappuoli R. (2005 ). The microbial pan-genome. Curr Opin Genet Dev15589–683.

    Not in our library10.1016/j.gde.2005.09.006

  2. 2.

    Nasser W. Beres S. B. Olsen R. J. Dean M. A. Rice K. A. Long S. W. Kristinsson K. G. Gottfredsson M. Vuopio J. (2014 ). Evolutionary pathway to increased virulence and epidemic group A Streptococcus disease derived from 3,615 genome sequences. Proc Natl Acad Sci U S A111E1768–1776.

    Not in our library10.1073/pnas.1403138111

  3. 3.

    Abbas M. M. Malluhi Q. M. Balakrishnan P. (2014 ). Assessment of de novo assemblers for draft genomes: a case study with fungal genomes. BMC Genomics151–12.

    Not in our library10.1186/1471-2164-15-s9-s10

  4. 4.

    Assefa S. Keane T. M. Otto T. D. Newbold C. Berriman M. (2009 ). ABACAS: algorithm-based automatic contiguation of assembled sequences. Bioinformatics251968–1969.

    Not in our library10.1093/bioinformatics/btp347

  5. 5.

    Bala S. (2016 ). Vertebrate resequencing sequence analysis pipeline. GitHub. https://github.com/sanger-pathogens/vr-codebase.

    Not in our library

  6. 6.

    Bankevich A. Nurk S. Antipov D. Gurevich A. A. Dvorkin M. Kulikov A. S. Lesin V. M. Nikolenko S. I. Pham S. (2012 ). SPAdes: a new genome assembly algorithm and its applications to single-cell sequencing. J Comput Biol19455–477.

    Not in our library10.1089/cmb.2012.0021

  7. 7.

    Blattner F. R. Plunkett G. Bloch C. A. Perna N. T. Burland V. Riley M. Collado-Vides J. Glasner J. D. Rode C. K. (1997 ). The complete genome sequence of Escherichia coli K-12. Science2771453–1462.

    Not in our library10.1126/science.277.5331.1453

  8. 8.
  9. 9.

    Boetzer M. Henkel C. V. Jansen H. J. Butler D. Pirovano W. (2011 ). Scaffolding pre-assembled contigs using SSPACE. Bioinformatics27578–579.

    Not in our library10.1093/bioinformatics/btq683

  10. 10.
  11. 11.

    Chewapreecha C. Harris S. R. Croucher N. J. Turner C. Marttinen P. Cheng L. Pessia A. Aanensen D. M. Mather A. E. (2014 ). Dense genomic sampling identifies highways of pneumococcal recombination. Nat Genet46305–309.

    Not in our library10.1038/ng.2895

  12. 12.

    Croucher N. J. Harris S. R. Fraser C. Quail M. A. Burton J. Van der Linden M. McGee L. Von Gottberg A. Song J. H. (2011 ). Rapid pneumococcal evolution in response to clinical interventions. Science331430–434.

    Not in our library10.1126/science.1198545

  13. 13.
  14. 14.

    Gladman S. Seemann T. (2008 ). Velvet optimiser. http://bioinformatics.net.au/software.velvetoptimiser.shtml.

    Not in our library

  15. 15.

    Gurevich A. Saveliev V. Vyahhi N. Tesler G. (2013 ). QUAST: quality assessment tool for genome assemblies. Bioinformatics291072–1075.

    Not in our library10.1093/bioinformatics/btt086

  16. 16.

    Holden M. T. Lindsay J. A. Corton C. Quail M. A. Cockfield J. D. Pathak S. Batra R. Parkhill J. Bentley S. D. (2010 ). Genome sequence of a recently emerged, highly transmissible, multi-antibiotic- and antiseptic-resistant variant of methicillin-resistant Staphylococcus aureus, sequence type 239 (TW). J Bacteriol192888–892.

    Not in our library10.1128/jb.01255-09

  17. 17.
  18. 18.

    Hunt M. Newbold C. Berriman M. Otto T. D. (2014 ). A comprehensive evaluation of assembly scaffolding tools. Genome Biol15R42.

    Not in our library10.1186/gb-2014-15-3-r42

  19. 19.
  20. 20.

    Klemm E. J. Gkrania-Klotsas E. Hadfield J. Forbester J. L. Harris S. R. Hale C. Heath J. N. Wileman T. Clare S. (2016 ). Emergence of host-adapted Salmonella Enteritidis through rapid evolution in an immunocompromised host. Nat Microbiol115023.

    Not in our library10.1038/nmicrobiol.2015.23

  21. 21.

    Koren S. Treangen T. J. Hill C. M. Pop M. Phillippy A. M. (2014 ). Automated ensemble assembly and validation of microbial genomes. BMC Bioinformatics15126.

    Not in our library10.1186/1471-2105-15-126

  22. 22.
  23. 23.

    Li H. Durbin R. (2009 ). Fast and accurate short read alignment with Burrows–Wheeler transform. Bioinformatics251754–1760.

    Not in our library10.1093/bioinformatics/btp324

  24. 24.
  25. 25.

    Makendi C. Page A. J. Wren B. W. Le Thi Phuong T. Clare S. Hale C. Goulding D. Klemm E. J. Pickard D. (2016 ). A phylogenetic and phenotypic analysis of Salmonellaenterica serovar Weltevreden, an emerging agent of diarrheal disease in tropical regions. PLoS Negl Trop Dis10e0004446.

    Not in our library10.1371/journal.pntd.0004446

  26. 26.

    Mapleson D. Drou N. Swarbreck D. (2015 ). RAMPART: a workflow management system for de novo genome assembly. Bioinformatics311–2.

    Not in our library10.1093/bioinformatics/btv056

  27. 27.
  28. 28.

    Otto T. D. Sanders M. Berriman M. Newbold C. (2010 ). Iterative correction of reference nucleotides (iCORN) using second generation sequencing technology. Bioinformatics261704–1707.

    Not in our library10.1093/bioinformatics/btq269

  29. 29.

    Page A. J. (2016a ). Assembly improvement example. GitHub. https://github.com/sanger-pathogens/assembly_improvement/tree/master/example.

    Not in our library

  30. 30.

    Page A. J. (2016b ). MLST-check. https://github.com/sanger-pathogens/mlst_check.

    Not in our library

  31. 31.
  32. 32.

    Page A. J. Taylor B. Steinbiss S. (2016 ). GFF3toEMBL. GitHub. https://github.com/sanger-pathogens/gff3toembl.

    Not in our library

  33. 33.

    Perna N. T. Plunkett G. Burland V. Mau B. Glasner J. D. Rose D. J. Mayhew G. F. Evans P. S. Gregor J. (2001 ). Genome sequence of enterohaemorrhagic Escherichia coli O157:H7. Nature409529–533.

    Not in our library10.1038/35054089

  34. 34.

    Pirovano W. Boetzer M. Derks M. F. Smit S. (2015 ). NCBI-compliant genome submissions: tips and tricks to save time and money. Brief Bioinform, 104.

    Not in our library10.1093/bib/bbv104

  35. 35.

    Ponstingl H. Ning Z. (2015 ). SMALT. http://www.sanger.ac.uk/science/tools/smalt-0.

    Not in our library

  36. 36.

    Pop M. (2009 ). Genome assembly reborn: recent computational challenges. Brief Bioinform10354–366.

    Not in our library10.1093/bib/bbp026

  37. 37.

    Pruitt K. D. Tatusova T. Brown G. R. Maglott D. R. (2012 ). NCBI reference sequences (RefSeq): current status, new features and genome annotation policy. Nucleic Acids Res40130–135.

    Not in our library10.1093/nar/gkr1079

  38. 38.

    Puranik R. Quan G. Werner J. Zhou R. Xu Z. (2015 ). A pipeline for completing bacterial genomes using in silico and wet lab approaches. BMC Genomics16S7.

    Not in our library10.1186/1471-2164-16-s3-s7

  39. 39.

    Quail M. A. Otto T. D. Gu Y. Harris S. R. Skelly T. F. McQuillan J. A. Swerdlow H. P. Oyola S. O. (2012 ). Optimal enzymes for amplifying sequencing libraries. Nat Methods910–11.

    Not in our library10.1038/nmeth.1814

  40. 40.

    Seemann T. (2014 ). Prokka: rapid prokaryotic genome annotation. Bioinformatics302068–2069.

    Not in our library10.1093/bioinformatics/btu153

  41. 41.
  42. 42.
  43. 43.

    Wong V. K. Baker S. Pickard D. J. Parkhill J. Page A. J. Feasey N. A. Kingsley R. A. Thomson N. R. Keane J. A. (2015 ). Phylogeographical analysis of the dominant multidrug-resistant H58 clade of Salmonella Typhi identifies inter- and intracontinental transmission events. Nat Genet47632–639.

    Not in our library10.1038/ng.3281

  44. 44.
  45. 45.

    Zerbino D. R. (2010 ). Using the Velvet de novo assembler for short-read sequencing technologies. Curr Protoc Bioinformatics3111.5.1–11.511.

    Not in our library10.1002/0471250953.bi1105s31

  46. 46.

    Zimin A. V. Marçais G. Puiu D. Roberts M. Salzberg S. L. Yorke J. A. (2013 ). The MaSuRCA genome assembler. Bioinformatics292669–2677.

    Not in our library10.1093/bioinformatics/btt476

  47. 47.

    Holden, M. T. G., Staphylococcus aureus subsp. aureus TW20. EBML. FN433596.

    Not in our library

  48. 48.

    Aslett, M. A. & De Silva, N., Salmonella enterica subsp. enterica serovar Pullorum S44987_1, EMBL. LK931482.

    Not in our library

  49. 49.

    Parkhill, J., et al. Bordetella pertussis strain Tohama I, EMBL. BX470248.

    Not in our library

Cited by papers we hold 15

Reads

Read by people on this page

None yet.

Checked or read by AI through naulon

None yet.

A person counts once a day per paper. We keep no cookie and no address: a reader is a hash that changes every day. Any month under five reads shows no number.

Are you an author?

Is this your paper?

Claim it to add your note and be paid when agents cite it. Free.