Email updates

Keep up to date with the latest news and content from BMC Bioinformatics and BioMed Central.

Open Access Highly Accessed Research article

Estimation of bacterial diversity using next generation sequencing of 16S rDNA: a comparison of different workflows

Jorge Barriuso, Jose R Valverde and Rafael P Mellado*

Author Affiliations

Centro Nacional de Biotecnología (CSIC), c/Darwin 3, 28049 Madrid, Spain

For all author emails, please log on.

BMC Bioinformatics 2011, 12:473  doi:10.1186/1471-2105-12-473

The electronic version of this article is the complete one and can be found online at:

Received:3 November 2011
Accepted:14 December 2011
Published:14 December 2011

© 2011 Barriuso et al; licensee BioMed Central Ltd.

This is an Open Access article distributed under the terms of the Creative Commons Attribution License (, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.



Next generation sequencing (NGS) enables a more comprehensive analysis of bacterial diversity from complex environmental samples. NGS data can be analysed using a variety of workflows. We test several simple and complex workflows, including frequently used as well as recently published tools, and report on their respective accuracy and efficiency under various conditions covering different sequence lengths, number of sequences and real world experimental data from rhizobacterial populations of glyphosate-tolerant maize treated or untreated with two different herbicides representative of differential diversity studies.


Alignment and distance calculations affect OTU estimations, and multiple sequence alignment exerts a major impact on the computational time needed. Generally speaking, most of the analyses produced consistent results that may be used to assess differential diversity changes, however, dataset characteristics dictate which workflow should be preferred in each case.


When estimating bacterial diversity, ESPRIT as well as the web-based workflow, RDP pyrosequencing pipeline, produced good results in all circumstances, however, its computational requirements can make method-combination workflows more attractive, depending on sequence variability, number and length.


The application of nucleic acid-based techniques is a useful tool for diversity studies in natural habitats [1] and a number of culture-independent nucleic acid-based methods have been used to characterise microbial communities. Next Generation Sequencing (NGS) of hypervariable regions from small-subunit ribosomal RNA genes is a conventional tool to analyse the composition and diversity of microbial communities in several habitats [2-4]. NGS allows gene sequencing from complex environmental samples [2,5,6] favouring the analysis of bacterial diversity in a comprehensive manner [7].

Taxonomy-independent studies are used to analyse diversity at different similarity levels [8-12]. Several analytical methods included in different software packages are available for these processes [9,12-22].

Typical diversity data analysis workflows start by assessing data quality and removing primers and noise. This is usually followed by a multiple sequence alignment (MSA) used for distance calculation, which is the basis for clustering sequences into Operational Taxonomic Units (OTUs) at the desired dissimilarity, usually 3% for species and 5% for genera [2,20]. Additional filtering steps may be inserted to remove redundant gaps, even sequence ends, and detect repeated or closely related sequences to reduce the amount of data to be processed [20-26]. Filtering processes are also used to improve sequence quality [24-26]. Each step can be carried out using a variety of tools, and different tool combinations are commonly used to tailor the analysis to the original data [e. g. 26]. Some approaches avoid MSA by using pairwise alignments to compute distances [20,22,23].

Observed OTU counts and relative abundances are representative of actual diversity, yet we cannot be sure that total diversity has been identified unless an appropriate sample size has been employed, which depends on diversity and hence is difficult to predict. For this reason estimates of species richness must be considered, such as rarefaction curves and ACE or Chao1 estimators, among others.

Comparative studies of diversity in environmental samples are usually carried out either by comparing the above estimators or using phylogenetic information, as implemented in UniFrac [27]. Lately, approaches to derive OTU numbers from taxonomic classifications produced by the RDP classifier [28] have been proposed, however, this approach is limited by the existing data in the databases [29].

Recent reports have compared some of the methods available and their potential advantages [11,25,30] computing OTU counts, however, there is still little knowledge on how these combinations affect workflow performance under different conditions, and the specific suitability for differential diversity studies. In order to acquire useful rules and advice on the choice of workflow, we employed the most commonly used tool combinations to generate the corresponding workflows.

Application of these techniques has been greatly facilitated by the availability of tool collections packaged for easy setup and use, such as QIIME [31], which includes many of the tools analysed here, allowing scientists to select and combine specific tools to suit their needs, highlighting the requirement for studies to compare the relative merits of each method combination workflow.

We tested three different alignment strategies: ab initio alignments using the progressive alignments of MUSCLE [14], the MAFFT partition tree method [16], and reference guided alignments as implemented in Mothur [19]. The effectiveness of filtering and pre-clustering was tested on Mothur alignments. We checked the effect of alternative distance calculation approaches using the Jukes-Cantor correction for multiple nucleotide substitution, as implemented in DNADIST [2,12,32-34], the uncorrected distance with the gap count method from Mothur [19] (hereinafter referred to as "Mothur distance"), and the k-mer based distance method from MAFFT [16] (referred to as "MAFFT distance"). Finally, all combinations of MSA and distance matrices were clustered using Mothur [19].

In addition to these combinations, we also considered other popular streamlined OTU identification workflows: Mothur used as the only tool for the whole pipeline with and without pre-clustering, ESPRIT [20], which uses pairwise alignments to compute distances, the recently published CROP [23], which uses an unsupervised Bayesian clustering method, Otupipe, which is based on UCLAST/USEARCH [22], and the RDP pyrosequencing pipeline [21], which uses Infernal [35,36] alignments and its own complete linkage clustering method.

To compare these workflows, we needed to resort to well-defined datasets representative of typical experimental set ups: we used reference 16S sequence data of various lengths using synthetic data developed by us, as well as datasets proposed by Youssef [37], Quince [26], Hao [23,38] and Huse [24]. These sets test accuracy by using a single sample with a limited number of species. To analyse workflow suitability for differential diversity studies, we used real-world field data of hypervariable V6 16S rDNA sequences [32] retrieved at different times under different environmental conditions. The V6 region is a common choice for this kind of analysis as it has been proven to yield results similar than longer sequences [11,37], and is a sensible choice for short-length sequencing approaches.

In order to compare clustering results one needs to account for potential method-dependent variability due to randomness in the workflow (e.g. Mothur randomly selects the cluster to group in case of a tie and CROP uses a Markov Chain Monte Carlo -MCMC- approach). We have collected statistics on the variability results obtained with Mothur, ESPRIT and CROP.


Reference set of short-length hypervariable V6 16S rDNA

The results obtained with short V6 region sequences using our synthetic data sets derived from 60 species are shown in Table 1, which indicates the number of OTUs obtained at 3%, 5% and 10% dissimilarity levels with each workflow. Manual checking of the selected sequences revealed that two of them were identical, (EU930421 and DQ989484), two pairs of sequences had a dissimilarity level below 5% (X90760 and AM743175, AF328681 and EU551675), and five pairs of sequences had a dissimilarity level below 10% (AM935529 and EU631792, AF114805 and AY894325, AY234615 and EF173341, AF114805 and AY894325, U855746 and EU360125). Therefore, the expected number of OTUs should be 59 at 3% dissimilarity, 57 at 5% dissimilarity, and 52 at 10% dissimilarity, which are precisely the results obtained with ESPRIT, Otupipe and the RDP pipeline. CROP correctly identified the number of OTUs at 3% when only 60 sequences were used, yet overestimated them at 5% and when 50 repeated copies of them were used. Mothur, on the other hand, underestimated the number at all dissimilarity levels, both with and without the pre-clustering step, due to the removal of sequence fragments during the reference-guided alignment step, converting divergent sequences into identical or more closely-related fragments ( webcite).

Table 1. Accuracy test

Regarding combined workflows, it is noticeable that both MAFFT and MUSCLE alignments produce good results, and that the combinations of Mothur alignments with either Jukes-Cantor corrected or MAFFT distance calculations give abnormally high counts with the 50 replica data set. The MAFFT distance calculation had trouble to discriminate between 3%, 5% or 10% dissimilarity levels (59 OTUs), in contrast to Mothur or Jukes-Cantor corrected distances.

Reference sets of short length mutated V6 rDNA

To highlight the effect of sequence alignment on clustering and diversity estimation we mutated the 60 reference sequences and arranged them in two different groups: stacked or interspersed. Since random mutations have been added, we now expect diversity to be higher at 3% distance and conserved at 5% or more. Results are summarized in Table 2: CROP gives abnormally large counts, ESPRIT overestimates at 3% dissimilarity but returns to acceptable estimations at 5% and 10% distances. Mothur alignments exceedingly overestimate diversity on account of the mentioned abnormal alignments, with the preclustering step reducing OTU counts, which is likely because these discard many sequences as if they were sequencing errors. Once again MAFFT and MUSCLE alignments give better results when combined with Jukes-Cantor corrected or Mothur distances, but not with MAFFT distances.

Table 2. Alignment test

There are obvious differences in the calculations depending on sequence ordering. A strong influence arises from the alignment step, verified by looking at the MSA. We know that each sequence contains only one change and therefore, deviations are easily identifiable. In both cases (stacked or interspersed) MAFFT and MUSCLE produced shorter alignments than Mothur, with or without pre-clustering (400 MAFFT, 686 MUSCLE sites vs. 2641 Mothur sites for stacked mutants, and 445 MAFFT, 372 MUSCLE sites vs. 2553 and 2436 Mothur sites for interspersed mutants). Evening sequence ends in Mothur produced useless alignments. Strong differences can also be detected between both datasets, with the combination of MUSCLE and Jukes-Cantor yielding very high values with stacked data. ESPRIT is more resilient to sequence order, as it avoids the MSA step, showing only minor differences in results between datasets and consistently producing good Chao1 estimates (Additional file 1, Table S1.3). Otupipe, which also avoids the MSA step, displays a similar behaviour. Only RDP produced results consistent with the expected values and was able to avoid the influence of sequence order in the input data.

Additional file 1. Table S1.1 OTU counts. J-C: Jukes-Cantor; 50 × 60 seq mut inter: 50 mutated copies of the 60 sequences dataset interleaved; 50 × 60 seq mut stack: 50 mutated copies of the 60 sequences dataset stacked; NC: not computable; t1, t2: samples taken at time 1 or time 2 (see Methods). Values marked with an * were computed using only unique sequences. Table S1.2 ACE estimates J-C: Jukes-Cantor; 50 × 60 seq mut inter: 50 mutated copies of the 60 sequences dataset interleaved; 50 × 60 seq mut stack: 50 mutated copies of the 60 sequences dataset stacked; NC: not computable; t1, t2: samples taken at time 1 or time 2 (see Methods). Values marked with an * were computed using only unique sequences. CROP, Outpipe and RDP does not compute the ACE estimator. Table S1.3 Chao1 estimates J-C: Jukes-Cantor; 50 × 60 seq mut inter: 50 mutated copies of the 60 sequences dataset interleaved; 50 × 60 seq mut stack: 50 mutated copies of the 60 sequences dataset stacked; NC: not computable; t1, t2: samples taken at time 1 or time 2 (see Methods). Values marked with an * were computed using only unique sequences. CROP and Outpipe does not compute the Chao1 estimator.

Format: PDF Size: 33KB Download file

This file can be viewed with: Adobe Acrobat ReaderOpen Data

Reference sets simulating 454 NGS data of 16S rDNA

Table 3 summarizes the results obtained when analysing the V5 region datasets from Quince et al. [26]. CROP, ESPRIT, Otupipe and the RDP pipeline results are in line with published data [23,26], with CROP and Otupipe giving low estimates. When Mothur was used to compute the alignment with only vertical filtering to remove gaps, extremely large OTU counts were obtained, independently of the distance algorithm used (data not shown). However, Mothur behaviour could be corrected by removing uneven ends in the filtering step ("trump"), producing estimates closer to those previously published but lower than ESPRIT. MUSCLE alignments were able to produce acceptable results with the Artificial but not the Priest Pot data. MAFFT alignments produced very large OTU counts. In all cases, the worst results were obtained when MAFFT k-mer distances were used.

Table 3. Quince's 454 data

Reference set using a large number of short length reads

Recent advances in pyrosequencing have increased the size of reads that can be collected, making this technology an attractive tool for biodiversity studies. To analyse the likely behaviour of these new approaches we have resorted to a well- known and established dataset consisting of a large number of sequences (340150) previously reported by Huse et al., [24]. Results are shown in Table 4: CROP failed to successfully deal with this large dataset. For the remaining approaches, the main problem arises from the size of the distance matrices generated, which can easily reach terabyte file sizes, becoming unmanageable for clustering programs such as Mothur. In these cases, the data can be processed either by including a preclustering step (e.g. in Mothur or combining MUSCLE with USEARCH), or analyzing unique sequences (albeit at the cost of losing information on abundance), or by obviating the need for an MSA (like ESPRIT or Otupipe). The RDP pipeline was able to build the alignment, but it could not be processed in the standard manner, and it did require specific RDP staff assistance to process this dataset.

Table 4. Huse short read data

None of the workflows involving an MSA followed by distance-matrix calculation and clustering could be completed due to the huge size of the distance-matrix. When the 23445 unique sequences in the dataset were used to reduce dataset size, with or without preclustering, all of them gave very high OTU counts and were unable to make distinctions at different similarity levels. Only ESPRIT, Otupipe and the RDP pipeline were able to produce different results at each dissimilarity level (Table 4).

Reference sets using near-full length 16S rDNA sequences

We have analysed two near-full length sets with similar sequence counts: Hao's axillary skin reference data comprised low diversity, while Youssef's prairie soil samples contained higher diversity. The results are summarized in Table 5: CROP results show a strikingly high number of OTUs. In all cases fairly similar results were obtained with both datasets and Mothur gives acceptable figures either alone or in combined workflows, again with the exception of k-mer based distance calculation (MAFFT), which overestimates OTU numbers, albeit much less than the estimates obtained when shorter sequences were analysed.

Table 5. Near-full length sequences

Experimental V6 16S rDNA sequences from soil samples

These datasets compare differential diversity estimations before and after herbicide treatment with a control: differences in diversity should be consistent across workflows. The results are shown in Table 6. CROP gives the lowest diversity estimates in all cases. In the remaining workflows, the untreated and glyphosate-treated soils in practically all cases are more diverse than the GTZ-treated soil when comparing sampling times. The actual figures varied considerably depending on the workflow used. Combined workflows showed again a tendency to produce higher OTU counts when MAFFT was used to calculate distances.

Table 6. Comparative diversity analysis

Computational variability of results

Most calculations were repeated to confirm the observed results. This showed, in several instances, the same computation producing different results due to intrinsic algorithmic randomness. These expected variations were measured repeating the calculations 20 times with three selected datasets under the same conditions. The results obtained are presented in Table 7. ESPRIT did not show any variability, Mothur showed a slight variability in some instances, which should not change OTU estimates, and CROP showed a slightly higher variability, which may induce minor estimate changes.

Table 7. Observed output variability

Since CROP estimates are obtained via independent runs for each distance, this may result in a seemingly contradictory output, where OTU counts at 5% might be greater than at 3% (e.g. one of the runs for the stacked mutants produced 1865 OTUs at 3%, and another 1869 at 5%).

Discussion and Conclusions

We have analysed the most commonly used workflows applied for bacterial diversity studies including simple, one-tool, workflows and tool combinations, and compared them for accuracy, results variability and efficiency under a variety of conditions representative of Illumina-based, 454-based, near full-length and differential diversity studies.

While more complex workflows can be devised (e. g. using RDP web alignments or ESPRIT distance calculations or clustering as optional combinatorial steps), these are rarely reported except when evaluating new algorithms [23,26] and are inconvenient for routine use. The most relevant patterns from the wealth of information generated by our analysis are highlighted below.

Sequence processing

The relevance of initial data quality to the reliability of the results has been repeatedly noted, leading to the recommendation of filtering raw data according to quality, removal of chimeras and experimental noise, and ensuring all sequences correspond to the same region of 16S rDNA. This last step usually relies on the selection of experimental primers, but may sometimes benefit from the additional removal of non-overlapping sequences ("trump" filtering in Mothur). This step may arguably remove important elements in an alignment (e. g. if terminal gaps are significant), but it was the only way to obtain sensible results with the datasets from Quince et al. [26]. However, its use with our artificially mutated sequences resulted in useless alignments, showing that this option must be applied with caution.

When a large number of short length sequences are used [24], it is easy to find many individuals with the same sequence. Identifying and using unique sequences exerts a major impact on reducing computation time, especially when dealing with modern vast datasets (in the hundreds of thousands or millions of sequences).


ESPRIT, which uses pairwise alignments, generally produces more accurate results than workflows relying on MSAs. Pairwise alignments; however, do not consider likely evolutionary relationships or structural properties, which is why MSA tools are often preferred. Alignments based on a reference alignment are shown to be very useful, while improving quality, as can already be seen from the RDP pipeline results; however, we observe that using MAFFT or MUSCLE to obtain ab initio MSAs gave better results than Mothur reference-guided alignments for short sequence lengths. This is most evident with our engineered mutated datasets, and is likely due to reference guided alignments selecting different reference sequences for related mutants, leading to an MSA where related sequences include more variability than actually exists. Hence, Mothur MSAs should always be filtered to remove redundant gaps if other tools are to be used for distance calculation [19]. MAFFT and MUSCLE frequently identify the mutation correctly and produce more accurate alignments, as can be seen by inspecting the aligned stacked dataset. This advantage is diluted as sequence length increases (datasets from Quince, Hao and Youssef), since the availability of more information increases the accuracy of reference identification.

Another major difference is related to the computational time required for constructing the alignments. Both MAFFT and MUSCLE have a well-defined behaviour: MAFFT time complexity is O(N2L) [39], N being the number of sequences and L their length, and MUSCLE uses multiple iterations with a cost of O(NL+L2) per iteration; however, ESPRIT, CROP and Mothur compute more expensive Needleman-Wunsch alignments (cost O(L1·L2), or O(L2) for equal-length sequences) and rely on a previous filtering step to reduce N, the number of sequences to be compared. ESPRIT and CROP require (N·(N-1)) comparisons to build the distance matrix; one may expect ESPRIT k-mer filtering or CROP unique identification step to become less efficient for longer, relatively distant sequences. In the case of Mothur only N comparisons -each sequence against its reference, selected using one of various filtering methods (k-mer, blastn and suffix trees)- are needed. Additional file 2, Table S2 summarises the computational time needed for each step in the diversity analysis.

Additional file 2. Table S2. Computational time needed for each step in the diversity analysis. J-C: Jukes-Cantor. Time is indicated as hours: minutes: seconds. *Alignment was calculated using -maxiter 2.

Format: PDF Size: 8KB Download file

This file can be viewed with: Adobe Acrobat ReaderOpen Data

Summarizing, ESPRIT works better for short and closely related sequence reads and is usually very fast; however, it is much slower when tens of thousands of sequences are considered. MUSCLE is preferred for short sequence lengths, but its long running time puts it at a disadvantage when sequences are long, deficiently grouped, or too many are used. Mothur generally achieves the fastest alignments when using a reference database, although there are concerns with the relative merits of this approach [19,35]. In the case of long sequences, MAFFT offers a very good balance between speed and quality.

Special mention must be made for MSAs of huge datasets in the order of hundreds of thousands of sequences: in these cases, MUSCLE is unable to directly align the data and requires a previous "clumping" and filtering step with USEARCH to guide the final alignment, or selection of unique sequences prior to alignment. In any case, subsequent processing makes it advisable to favour working with unique sequences or a pre-clustering step when available, both to reduce computation time and produce manageable datasets. Regarding computation time, this is the most expensive step, but only becomes a real issue with modern computer architectures when dealing with very large sequences (which is not usually the case in diversity studies) or huge numbers of sequences. In the last case, the selection of unique sequences and/or preclustering helps to reduce computation to acceptable times (from days or even months down to hours). In the case of MUSCLE it may additionally be required to reduce the number of iterations and increase the maximum memory used (--maxiter 2 --maxmb 10000) (Additional file 2, Table S2).

Distance calculation

It has been argued that the direct calculation of distances from pairwise comparisons yields better distance matrices than distances calculated from MSAs, and indeed one expects less gaps in a pairwise than a multiple alignment, as reflected in the ESPRIT package, which tends to produce the lowest number of OTUs, in agreement with earlier findings [20,25]. However, the computational cost increases with the number of sequences, making it more attractive to use MSA-based methods for large datasets (Additional file 2, Table S2). We see that both Jukes-Cantor corrected distances and Mothur distances give consistent and sensible results. Mothur distances are inclined to produce lower diversity and MAFFT distances tend to give 30-35% overestimations in the number of OTUs. The behaviour of MAFFT distance calculation is explained by its k-mer-based approach, where few changes in short sequences will have a bigger impact on overall distance than similar changes in longer ones.

In conclusion, distances derived from pairwise alignments produce better results, but may become inconvenient for long or large numbers of sequences. In these cases, Mothur distances produce lower OTU counts than Jukes-Cantor. K-mer-based distances are not currently recommended.

It is worth noting here that distance matrices inherently grow in size with the number of sequences squared. This may become a problem with modern datasets consisting of hundreds of thousands or millions of sequences, where terabyte-sized matrices may be generated. Thus, methods that avoid generating distance matrices may be more advisable for this data.

New versions of other popular alignment methods tuned for NGS analysis are expected soon (Higgins, D, personal communication), and it will be interesting to test them as soon as they become available.

Clustering analysis

We have compared the results obtained with different clustering strategies: CROP, ESPRIT, Mothur, USEARCH and RDP. To simplify the study, we did not consider other clustering tools such as CD-HIT-454, which uses heuristics that are too stringent for richness analysis [40]. It is difficult to compare the different clustering strategies as ESPRIT, CROP, USEARCH and RDP have only been considered in their own workflow, except for the fact that Mothur is the easiest to integrate in complex workflows and offers a wider range of clustering options (average, furthest and nearest neighbour). However, Mothur failed to process the huge, terabyte-sized, distance matrices derived from full MSAs of the extensive dataset [24], forcing us to reduce information content by including only unique sequences in the MSA. Regarding the results obtained with CROP, while proposing a new, promising and rigorous approach, it was unable to complete the analyses or produced anomalous results in several cases. This may be due to CROP being a new method that is still actively refined.

We have also considered variability in the results of the clustering algorithms. There are two sources of variability. One is due to the sub sampling required to build rarefaction curves and estimate actual diversity. The other source depends on algorithmic randomness, and after Studentized correction, the results from 20 repeated analyses show that ESPRIT consistently produces the same results, Mothur produces a slight variability, depending on the analysed dataset, and will not normally affect the diversity results, and CROP, which uses an MCMC step, has a higher but still low variability that should have a minimal impact on the results, although this may rarely lead to counter-intuitive diversity estimates as separate runs are used for each similarity level.

Suitability for differential diversity studies

The results obtained from the analysis of the short-length hypervariable V6 16S rDNA sequences from soil were in all cases (with the exception of CROP for GTZ and glyphosate data) in good agreement with those previously reported for the same set of sequences, confirming that the reduction in species richness was more evident in the GTZ-treated soil at the first sampling time, and that the relative recovery from this herbicide treatment appeared to be poorer than that from the glyphosate treatment [32]. All of the workflows used, except CROP, were able to show differences in species richness among the different herbicide treatments used, and the untreated soil was the one that contained the highest bacterial diversity. This is in accordance with the results we have obtained from other field studies (data not shown), yet a general conclusion may not be reached just from our soil data.

Workflow accuracy

Use of our reference set of 60 short-length hypervariable V6 16S rDNA sequences shows that MSAs obtained using MUSCLE and MAFFT produce the same results, regardless of the distance calculation method (with the exception of MAFFT), while the Mothur guided alignment underestimates diversity when dealing with a small number of OTUs. The method used for distance calculation also affects the number of OTUs, as MAFFT is unable to discriminate between different dissimilarity levels (even at 18%, data not shown), considering the small number of OTUs found. Jukes-Cantor or Mothur distances slightly underestimate the number of OTUs.

No aberrant combinations were found when nearly full-length 16S rDNA sequences were analysed, thus indicating that when dealing with long sequences, Mothur reference-guided alignments may be preferred. When dealing with short length sequences, the ESPRIT package and the RDP pipeline are the most accurate on the three dissimilarity levels. When analysing a large number of long sequences, computational time requirements adversely affect the use of the ESPRIT package due to the longer time needed, while the use of Mothur alone produces acceptable estimates in a reasonable time.

For even larger numbers of short length sequences in the range of hundreds of thousands [24], a filtering step that reduces sequence numbers is needed. ESPRIT and Otupipe automatically apply an initial filtering step and hence can directly work with these huge datasets, producing acceptable results. The RDP web-based pipeline may experience troubles or long delays with some datasets, but does generally give good results. In the case of MAFFT, Mothur and MUSCLE, the initial selection of unique sequences and optional preclustering steps helps by significantly reducing the data to manageable sizes.

In conclusion, the RDP web-based pipeline is most convenient for general use, but when dealing with very large or many datasets, or when timely results are needed, ESPRIT and Otupipe are very efficient and can be used locally to produce acceptable results in every circumstance. In all the cases tested, RDP and ESPRIT always rendered more accurate and similar results, although perhaps in specific circumstances, and depending on the number of sequences, length and variability, combination workflows may still be an attractive option.


Test datasets of 16S rDNA sequences

To check for accuracy, we constructed a reference data set with sequences retrieved from the NCBI and trimmed to obtain the V6 region (from positions 963 to 1063 in E. coli) using 60 sequences of different bacterial species from 59 different genera, according to NCBI taxonomy (accession numbers: AF538931, AF363135, DQ310706, AY167839, X90760, AM743175, AY367026, AF530131, U855746, EU360125, AM747393, FJ486138, AY691545, DQ366688, EF076758, AY234615, AM936268, AJ233945, FJ418118, AM935473, EF606819, AJ298940, EF173341, EF019646, CU466738, AM935145, AM935820, EF212893, AM59107, FM209153, EU375221, EF054879, EF466123, EF466120, EU722519, AF328681, EU58528, EU593733, AM935529, EU631792, AJ519368, AM935078, AY730501, EU630729, EU634621, DQ263467, X99390, DQ676361, AY852181, EU930421, DQ989484, AF448044, AJ224039, AB360346, AF114805, AY894325, EU551675, EU427317, AJ314848, AB037012). The accuracy of non-parametric estimators (ACE, Chao1) is expected to depend on changes in the ratio of OTUs to sequence numbers and OTU cluster size. To test their accuracy, the base dataset was copied 50 times to build a second set of 3000 sequences, and with the same number of OTUs.

To test the MSA step and richness estimators (ACE, Chao1), we simulated natural variability by generating two new 3000 sequence datasets mutating 50 copies of each sequence using EMBOSS [41] to introduce a single random mutation (indel or point mutation): one set had the 50 different mutants of each sequence stacked and the second one had them interspersed. Alignments were inspected using Seaview [42].

Recent studies tend to consider regions longer than V6 obtained from 454 sequencing. We obtained two datasets described by Quince [26], an artificial community pyrosequenced GSFLX dataset of 34308 V5 sequences with an average length of 266 nt and a maximum length of 289 nt, from 90 different clones and the Priest Pot pyrosequenced environmental DNA GSFLX data with 16222 sequences (both after initial noise removal) with an average length of 257 nt and a maximum length of 303 nt. These datasets were processed as above but in addition, we also calculated Mothur alignments with "trump" filtering to remove uneven ends.

To test the effect of nearly-full length sequences, two additional experimental data sets were used: one consisting of 1132 16S rDNA sequences from tall grass prairie soil samples with high diversity [37], with an average length of 1487 nt and a maximum length of 1542 nt, and a second one consisting of 1130 sequences from the axillary vault of patient HV5 of the human skin microbiome data with low diversity [23,38], with an average length of 1344 nt and a maximum length of 1387 nt, by retrieving the sequences from the EBI and assembling each dataset in a single file.

Recent advances in pyrosequencing technology have enabled Illumina reads to reach a length that is suitable for hypervariable region sequencing, yielding huge numbers of sequence reads. We have simulated this situation using the well-known dataset of Huse et al., [24] consisting of 340150 sequences (23445 of which are unique), with an average length of 96 nt and a maximum length of 169 nt.

To evaluate suitability for the study of differential environmental effects we have used a real-world experimental dataset consisting of short length sequences from rhizobacterial V6 16S rDNA obtained as previously described [32]. In synthesis, we collected soil samples from glyphosate-tolerant maize, event NK603 cultivars that had been treated in pre-emergence with the herbicide Harness®GTZ (GTZ henceforth) or in post-emergence with glyphosate (Roundup®Plus), and from untreated soil. Samples were pooled seven days after glyphosate application (first sampling time) and just before crop harvesting (final sampling time). Sequence counts obtained from the soils at the first sampling time were 3467 (untreated) with an average length of 103 nt and a maximum length of 243 nt, 5025 (glyphosate-treated) with an average length of 102 nt and a maximum length of 277 nt, and 3843 (GTZ-treated) with an average length of 99 nt and a maximum length of 269 nt, and at the final sampling time were 1814 with an average length of 101 nt and a maximum length of 157 nt, 1796 with an average length of 100 nt and a maximum length of 128 nt, and 1526 with an average length of 99 nt and a maximum length of 153 nt, respectively.

Additional file 3 contains the FASTA formatted sequences of all the datasets used in this study.

Additional file 3. This file contains the FASTA formatted sequences of all the datasets used in this study. Zip file contents are briefly described in the included README file.

Format: ZIP Size: 6.7MB Download fileOpen Data

Sequence processing

Differential soil data experimental sequences were filtered by 454 software, and additionally cleaned by eliminating those containing ambiguous base calls and sequences shorter than 50 nt after removing the primer sequence, as these account for 50% of all NGS errors [2]. We have omitted analysing the effect of different pre-processing strategies, as this was not within the scope of this study.

Sequence analysis workflows

For the combined workflows the first step consists of obtaining the MSA. We test three different alignment approaches: a) Iterative progressive alignments by Log-Expectation comparison as implemented in MUSCLE version 3.7 [14] with parameters -diags -maxiters 4 -stable. b) A fast group-to-group alignment based on partition trees implemented in MAFFT version 6.712 [16] with parameters -ep 0.123 -retree 1 -nofft -parttree, and c) an initial 8-mer search followed by Needleman-Wunsch pairwise alignments against a reference alignment implemented in Mothur version 1.14.0, using the SILVA-98 [43] and Greengenes [44] reference alignment, although only SILVA guided results are reported because it has been proven more effective in aligning the 16S rRNA hypervariable regions [11]. For each dataset we generated two Mothur alignments: one with and one without a pre-clustering step, filtering the result to remove redundant gaps using the standard approach (default parameters) described in the Mothur documentation, and fixing gap characters for compatibility with other programs.

Using these four initial MSA, we calculate the distance matrices using three different approaches for each alignment: a) evolutionary distance estimation using Jukes-Cantor correction [34] for multiple substitution as implemented in DNADIST from the PHYLIP software package version 3.67 [33]; b) simple distance estimation counting gaps only once, penalizing terminal gap, with a cut-off value of 0.11 and increasing precision to 1000 using Mothur [19]; and c) an approximate 6-mer distance calculation method implemented in MAFFT version 6.712 [16]. The MAFFT output file was converted to a lower triangular matrix to produce the clustering input.

The cluster analysis comprises the generation of OTUs and calculation of species richness with the Chao1 and ACE estimators at three dissimilarity levels (3%, 5% and 10%). Clustering was performed using the three methods (average, nearest and farthest neighbour) available from Mothur [19], although we report only average neighbour calculations, as they are generally considered more accurate [11,25].

Beside these combined workflow procedures, we have included other methods that do not require an initial MSA: the ESPRIT software package [20], the recently published CROP package [23], the Otupipe pipeline ( webcite) and the RDP pyrosequencing pipeline [21]. ESPRIT uses an efficient k-tuple based distance filter before aligning sequences using the Needleman-Wunsch method [18] and computes pairwise distances using the "quickdist" algorithm [20] to perform complete-link hierarchical clustering; and CROP filters sequences first to reduce their number, then uses a modified Needleman-Wunsch alignment, performs a "quickdist" distance calculation, and finally an unsupervised Bayesian clustering method with MCMC sampling. Otupipe relies on UCHIME [45] to remove chimeras and on USEARCH to perform sequence comparisons and clustering [22]. RDP builds an initial MSA using the Infernal [36] tool and then directly proceeds to perform a complete linkage clustering using its own implementation.

To compare diversity estimation, we have compared rarefaction curves as well as ACE and Chao1 values obtained in all workflows involving Mothur and ESPRIT clustering. As CROP only produces OTU counts and composition, only these were considered in diversity estimate comparisons.

The results collected from all the different sources were processed to a common format (Mothur summary file format) and converted to tab-delimited data for further analysis and display using gnuplot.

Assessment of clustering consistency

Clustering methods often resort to random decisions, which may lead to different results in different runs using the same initial data and conditions. We have analysed the consistency of the results obtained with different datasets: analysis of short sequences using our synthetic mutated datasets (60 species mutated 50 times, with consecutive or interspersed sequences) and long sequences using a 16S rRNA dataset from Youssef et al. These datasets were analysed using CROP, ESPRIT and Mothur (with and without pre-clustering, using the average neighbour distance clustering method), repeating the analysis 20 times, collecting the number of OTUs reported, and calculating mean, standard deviation and standard error of the mean to derive corrected 95% confidence intervals using Student's T value for N-1 degrees of freedom to account for the relatively small sample size.

Authors' contributions

JB and JRV carried out the data collection and analysis, and drafted the manuscript. RPM conceived the study, and participated in its design and coordination and helped to draft the manuscript. All authors read and approved the final manuscript.


The Spanish Ministry of the Environment and Rural and Marine affairs (Grant No. EGO22008) has commissioned and supported this work. The Spanish Research Council has also supported this research (PIE No. 200420E397) in part. Additional support from CYTED 510RT0391 and SEQAHEAD COST networks is also acknowledged. We express our gratitude to the Informatics Services of the Spanish Research Council (CSIC) for the use of their cluster computing facilities. We want to thank the authors of the different tools for their advice and cooperation.


  1. Amann RI, Ludwig W, Schleifer KH: Phylogenetic identification and in situ detection of individual microbial cells without cultivation.

    Microbiol Rev 1995, 59:143-169. PubMed Abstract | PubMed Central Full Text OpenURL

  2. Huber JA, Welch DBM, Morrison GH, Huse SM, Neal PR, Butterfield DA, Sogin ML: Microbial population structures in the deep marine biosphere.

    Science 2007, 318:98-100. OpenURL

  3. Huse SM, Dethlefsen L, Huber JA, Welch D, Relman DA, Sogin ML: Exploring microbial diversity and taxonomy using SSU rRNA hypervariable tag sequencing.

    PLoS Genet 2008, 4:1-10. Publisher Full Text OpenURL

  4. Margulies M, Egholm M, Altman WE, Attiya S, Bader JS, Bemben LA, Berka J, Braverman MS, Chen YJ, Chen ZT, Dewell SB, de Winter A, Drake J, Du L, Fierro JM, Forte R, Gomes XV, Godwin BC, He W, Helgesen S, Ho CH, Hutchison SK, Irzyk GP, Jando SC, Alenquer MLI, Jarvie TP, Jirage KB, Kim JB, Knight JR, Lanza JR, et al.: Genome sequencing in microfabricated high-density picolitre reactors.

    Nature 2005, 437:376-380. PubMed Abstract | Publisher Full Text | PubMed Central Full Text OpenURL

  5. Lia CRS, Teixeira RS, Peixoto JC, Cury W, Jun S, Vivian H, Pellizari JT, Alexandre SR: Bacterial diversity in rhizosphere soil from Antarctic vascular plants of Admiralty Bay, maritime Antarctica.

    ISME J 2010, 4:989-1001. PubMed Abstract | Publisher Full Text OpenURL

  6. López-Bueno A, Tamames J, Velázquez D, Moya A, Quesada A, Alcamí A: High diversity of the viral community from an Antarctic Lake.

    Science 2009, 326:858-861. PubMed Abstract | Publisher Full Text OpenURL

  7. Schloss PD, Handelsman J: Toward a census of bacteria in soil.

    PLoS Comput Biol 2006, 2:786-793. OpenURL

  8. Li W, Jaroszewski L, Godzik A: Clustering of highly homologous sequences to reduce the size of large protein database.

    Bioinformatics 2001, 17:282-283. PubMed Abstract | Publisher Full Text OpenURL

  9. Pandey RV, Nolte V, Schlötterer C: CANGS: a user-friendly utility for processing and analyzing 454 GS-FLX data in biodiversity studies.

    BMC Res Notes 2010, 3:3. PubMed Abstract | BioMed Central Full Text | PubMed Central Full Text OpenURL

  10. Russell DJ, Way SF, Benson AK, Sayood K: A grammar-based distance metric enables fast and accurate clustering of large sets of 16S sequences.

    BMC Bioinformatics 2010, 11:601. PubMed Abstract | BioMed Central Full Text | PubMed Central Full Text OpenURL

  11. Schloss PD: The Effects of alignment quality, distance calculation method, sequence filtering, and region on the analysis of 16S rRNA gene-based studies.

    PLoS Comput Biol 2010, 6:e1000844. PubMed Abstract | Publisher Full Text | PubMed Central Full Text OpenURL

  12. Schloss PD, Handelsman J: Introducing DOTUR, a computer program for defining operational taxonomic units and estimating species richness.

    Appl Environ Microbiol 2005, 71:501-1506. PubMed Abstract | Publisher Full Text | PubMed Central Full Text OpenURL

  13. Ahola V, Aittokallio T, Vihinen M, Uusipaikka E: Model-based prediction of sequence alignment quality.

    Bioinformatics 2008, 24:2165-2171. PubMed Abstract | Publisher Full Text OpenURL

  14. Edgar RC: MUSCLE: multiple sequence alignment with high accuracy and high throughput.

    Nucleic Acids Res 2004, 32:1792-1797. PubMed Abstract | Publisher Full Text | PubMed Central Full Text OpenURL

  15. Essoussi N, Boujenfa K, Limam M: A comparison of MSA tools.

    Bioinformation 2008, 2:452-455. PubMed Abstract | PubMed Central Full Text OpenURL

  16. Katoh K, Misawa K, Kuma K, Miyata T: MAFFT: a novel method for rapid multiple sequence alignment based on fast Fourier transform (describes the FFT-NS-1, FFT-NS-2 and FFT-NS-i strategies).

    Nucleic Acids Res 2002, 30:3059-3066. PubMed Abstract | Publisher Full Text | PubMed Central Full Text OpenURL

  17. Mori H, Maruyama F, Kurokawa K: VITCOMIC: visualization tool for taxonomic compositions of microbial communities based on 16S rRNA gene sequences.

    BMC Bioinformatics 2010, 11:332. PubMed Abstract | BioMed Central Full Text | PubMed Central Full Text OpenURL

  18. Needleman SB, Wunsch CD: A general method applicable to the search for similarities in the amino acid sequence of two proteins.

    J Mol Biol 1970, 48:443-453. PubMed Abstract | Publisher Full Text OpenURL

  19. Schloss PD, Westcott SL, Ryabin T, Hall JR, Hartmann M, Hollister EB, Lesniewski RA, Oakley BB, Parks DH, Robinson CJ, Sahl JW, Stres B, Thallinger GG, Van Horn DJ, Weber CF: Introducing Mothur: Open-source, platform-Independent, community-supported software for describing and comparing microbial communities.

    Appl Environ Microbiol 2009, 75:7537-7541. PubMed Abstract | Publisher Full Text | PubMed Central Full Text OpenURL

  20. Sun Y, Cai Y, Liu L, Yu F, Farrell ML, McKendree W, Farmerie W: ESPRIT: estimating species richness using large collections of 16S rRNA pyrosequences.

    Nucleic Acids Res 2009, 37:e76. PubMed Abstract | Publisher Full Text | PubMed Central Full Text OpenURL

  21. Cole JR, Wang Q, Cardenas E, Fish J, Chai B, Farris RJ, Kulam-Syed-Mohideen AS, McGarrell DM, Marsh T, Garrity GM, Tiedje JM: The Ribosomal Database Project: improved alignments and new tools for rRNA analysis.

    Nucleic Acids Res 2009, 37:D141. PubMed Abstract | Publisher Full Text | PubMed Central Full Text OpenURL

  22. Edgar RC: Search and clustering orders of magnitude faster than BLAST.

    Bioinformatics 2010, 26:2460-2461. PubMed Abstract | Publisher Full Text OpenURL

  23. Hao X, Jiang R, Chen T: Clustering 16S rRNA for OTU prediction: a method of unsupervised Bayesian clustering.

    Bioinformatics 2011, 27:611-618. PubMed Abstract | Publisher Full Text | PubMed Central Full Text OpenURL

  24. Huse SM, Huber JA, Morrison HG, Sogin ML, Welch DM: Accuracy and quality of massively parallel DNA pyrosequencing.

    Genome Biol 2007, 8:R143. PubMed Abstract | BioMed Central Full Text | PubMed Central Full Text OpenURL

  25. Huse SM, Welch DM, Morrison HG, Sogin ML: Ironing out the wrinkles in the rare biosphere through improved OUT clustering.

    Environ Microbiol 2010, 12:1889-1898. PubMed Abstract | Publisher Full Text | PubMed Central Full Text OpenURL

  26. Quince C, Lanzen A, Curtis TP, Davenport RJ, Hall N, Head IM, Read LF, Sloan WT: Accurate determination of microbial diversity from 454 pyrosequencing data.

    Nat Methods 2009, 6:639-U27. PubMed Abstract | Publisher Full Text OpenURL

  27. Lozupone CA, Hamady M, Kelley ST, Knight R: Quantitative and qualitative beta diversity measures lead to different insights into factors that structure microbial communities.

    Appl Environ Microbiol 2007, 73:1576-1585. PubMed Abstract | Publisher Full Text | PubMed Central Full Text OpenURL

  28. Wang Q, Garrity GM, Tiedje JM, Cole JR: Naive Bayesian classifier for rapad assignment of rRNA sequences into the new bacterial taxonomy.

    Appl Environ Microbiol 2007, 73:5261-7. PubMed Abstract | Publisher Full Text | PubMed Central Full Text OpenURL

  29. Sul WJ, Cole JR, Jesus Eda C, Wang Q, Farris RJ, Fish JA, Tiedje JM: Bacterial community comparisons by taxonomy-supervised analysis independent of sequence alignment and clustering.

    Proc Natl Acad Sci USA 2011, 30(108):14637-14642. OpenURL

  30. White JR, Navlakha S, Nagarajan N, Ghodsi MR, Kingsford C, Pop M: Alignment and clustering of phylogenetic markers implications for microbial diversity studies.

    BMC Bioinformatics 2010, 11:152. PubMed Abstract | BioMed Central Full Text | PubMed Central Full Text OpenURL

  31. Caporaso JG, Kuczynski J, Stombaugh J, Bittinger K, Bushman FD, Costello EK, Fierer N, Peña AG, Goodrich JK, Gordon JI, Huttley GA, Kelley ST, Knights D, Koenig JE, Ley RE, Lozupone CA, McDonald D, Muegge BD, Pirrung M, Reeder J, Sevinsky JR, Turnbaugh PJ, Walters WA, Widmann J, Yatsunenko T, Zaneveld J, Knight R: QIIME allows analysis of high-throughput community sequencing data.

    Nat Methods 2010, 7:335-336. PubMed Abstract | Publisher Full Text | PubMed Central Full Text OpenURL

  32. Barriuso J, Marín S, Mellado RP: Effect of the herbicide glyphosate on glyphosate-tolerant maize rhizobacterial communities: a comparison with pre-emergency applied herbicide consisting of a combination of acetochlor and terbuthylazine.

    Environ Microbiol 2010, 12:1021-1030. PubMed Abstract | Publisher Full Text OpenURL

  33. Felsenstein J: PHYLIP - Phylogeny Inference Package.

    Cladistics 1989, 5:164-166. OpenURL

  34. Jukes TH, Cantor CR: Evolution of protein molecules. (Munro H N ed.) Mammalian protein Metabolism, III. New York: Academic Press; 1969:21-132.

  35. Letsch HO, Kueck P, Stocsits RR, Misof B: The Impact of rRNA Secondary Structure Consideration in Alignment and Tree Reconstruction: Simulated Data and a Case Study on the Phylogeny of Hexapods.

    Mol Biol Evol 2010, 27:2507-2521. PubMed Abstract | Publisher Full Text OpenURL

  36. Nawrocki EP, Kolbe DL, Eddy SR: Infernal 1.0: inference of RNA alignments.

    Bioinformatics 2009, 25:1713-1713. Publisher Full Text OpenURL

  37. Youssef N, Sheik CS, Krumholz LR, Najar FZ, Roe BA, Elshahed MS: Comparison of Species Richness Estimates Obtained Using Nearly Complete Fragments and Simulated Pyrosequencing-Generated Fragments in 16S rRNA Gene-Based Environmental Surveys.

    Appl Environ Microbiol 2009, 75:5227-36. PubMed Abstract | Publisher Full Text | PubMed Central Full Text OpenURL

  38. Grice EA, Kong HH, Conlan S, Deming CB, Davis J, Young AC, Bouffard GG, Blakesley RW, Murray PR, Green ED, Turner ML, Segre JA: Topographical and temporal diversity of the human skin microbiome.

    Science 2009, 324:1190-1192. PubMed Abstract | Publisher Full Text | PubMed Central Full Text OpenURL

  39. Katoh K, Toh H: Recent developments in the MAFFT multiple sequence alignment program.

    Brief Bioinformatics 2008, 9:286-298. PubMed Abstract | Publisher Full Text OpenURL

  40. Niu B, Fu L, Sun S, Li W: Artificial and Natural. Duplicates in Pyrosequencing Reads of Metagenomic data.

    BMC Bioinformatics 2010, 11:187. PubMed Abstract | BioMed Central Full Text | PubMed Central Full Text OpenURL

  41. Rice P, Longden I, Bleasby A: EMBOSS: the European Molecular Biology Open Software Suite.

    Trends Genet 2010, 16:276-277. OpenURL

  42. Gouy M, Guindon S, Gascuel O: SeaView version 4: a multiplatform graphical user interface for sequence alignment and phylogenetic tree building.

    Mol Biol Evol 2010, 27:221-224. PubMed Abstract | Publisher Full Text OpenURL

  43. Pruesse E, Quast C, Knittel K, Fuchs BM, Ludwig W, Peplies J, Glöckner FO: SILVA: a comprehensive online resource for quality checked and aligned ribosomal RNA sequence data compatible with ARB.

    Nucleic Acids Res 2007, 35:7188-7196. PubMed Abstract | Publisher Full Text | PubMed Central Full Text OpenURL

  44. DeSantis TZ, Hugenholtz P, Keller K, Brodie EL, Larsen N, Piceno YM, Phan R, Andersen GL: NAST: a multiple sequence alignment server for comparative analysis of 16S rRNA genes.

    Nucleic Acids Res 2006, 34:394-399. OpenURL

  45. Edgar RC, Haas BJ, Clemente JC, Quince C, Knight R: UCHIME improves sensitivity and speed of chimera detection.

    Bioinformatics 2011, 15(27):2194-200. OpenURL