Estimation of viral richness from shotgun metagenomes using a frequency count approach
© Allen et al.; licensee BioMed Central Ltd. 2013
Received: 27 July 2012
Accepted: 21 November 2012
Published: 4 February 2013
Viruses are important drivers of ecosystem functions, yet little is known about the vast majority of viruses. Viral shotgun metagenomics enables the investigation of broad ecological questions in phage communities. One ecological characteristic is species richness, which is the number of different species in a community. Viruses do not have a phylogenetic marker analogous to the bacterial 16S rRNA gene with which to estimate richness, and so contig spectra are employed to measure the number of virus taxa in a given community. A contig spectrum is generated from a viral shotgun metagenome by assembling the random sequence reads into groups of sequences that overlap (contigs) and counting the number of sequences that group within each contig. Current tools available to analyze contig spectra to estimate phage richness are limited by relying on rank-abundance data.
We present statistical estimates of virus richness from contig spectra. The program CatchAll (http://www.northeastern.edu/catchall/) was used to analyze contig spectra in terms of frequency count data rather than rank-abundance, thus enabling formal statistical analyses. Also, the influence of potentially spurious low-frequency counts on richness estimates was minimized by two methods, empirical and statistical. The results show greater estimates of viral richness than previous calculations in nearly all environments analyzed, including swine feces and reclaimed fresh water.
CatchAll yielded consistent estimates of richness across viral metagenomes from the same or similar environments. Additionally, analysis of pooled viral metagenomes from different environments via mixed contig spectra resulted in greater richness estimates than those of the component metagenomes. Using CatchAll to analyze contig spectra will improve estimations of richness from viral shotgun metagenomes, particularly from large datasets, by providing statistical measures of richness.
KeywordsPhage Metagenomics Virome Ecology Richness CatchAll Singleton
Phage Communities from Contig Spectrum.
Viruses are the most abundant biological entities on earth, with an estimated 1031 virus-like particles in the biosphere . Their ubiquity coupled with their functions of predation and gene transfer make them important drivers of ecosystem dynamics, as illustrated during cholera outbreaks. When a cholera outbreak strikes, the abundance of the causative bacterium, Vibrio cholerae, is high. Bacteriophages (phages) that prey on the V. cholerae then proliferate, and the outbreak subsides as the abundance of V. cholerae declines due to phage predation [2, 3].
These dynamics are constantly played out in the environment with non-pathogenic bacteria and their phages. However, even though plaque and culture assays remain the gold standard for studying the phages of a cultivable bacterium, the vast majority of environmental bacteria have yet to be cultured . Therefore, viral shotgun metagenomics, which is the study of the collective genome of an assemblage of viruses, is the principal way to study the vast majority of phages. Next-generation sequencing technologies are essential to study phage metagenomes and phage ecology.
A first step toward understanding the complex interactions that occur in an environment is estimating the richness of species in that environment. Richness is the total number of distinct members in a community and, with the abundance of each member, contributes to the total diversity. The distinct members are often measured in terms of species, but because viruses lack a species definition we will refer to distinct groups of viruses as taxa. Viruses do not have a universal phylogenetic marker analogous to the bacterial 16S rRNA gene with which to measure richness, and so contig spectra serve as a proxy to estimate the number of phage taxa in a given community. A contig spectrum is generated from a viral metagenome, or virome, by assembling the random sequence reads into contigs (contiguous groups of sequences that align) and counting the number of sequences that fall into each contig [5, 6]. The rationale is that in any given sampling of an environment, abundant viruses will yield many sequences in one contig, whereas rare viruses will be captured as single sequences. Counting the sequences in terms of their assembly proficiency, therefore, reflects the richness of the community.
In the frequency-count approach, by contrast, a fixed x-axis is established and the number of species observed x times is plotted as the y-value for each x (Figure 1B). This apparently simple distinction has major consequences. In the rank-abundance curve, both the x and the y-axes are indeterminate, because the ordering of the species in terms of their true abundance in the population can be very different from the observed ordering. A fixed x-axis yields a dataset that is amenable to formal statistical analysis, which is important because the value of y at x = 0 (the number of unobserved species) is the target of estimation.
Here we apply the analysis of frequency count data to previously published phage metagenomes. We present statistical estimates of richness from phage metagenomic data using the program CatchAll version 3.0 (http://www.northeastern.edu/catchall/index.html) . Additionally, we explore the effect of statistically and empirically discounted low-frequency datapoints on the richness estimates. Even the most conservative richness estimates show more phage taxa than previous calculations, in most environments analyzed.
Generating contig spectra
Both mixed and non-mixed contig spectra of seven nonmedicated swine fecal viromes  and four reclaimed fresh water viromes  were calculated using Circonspect (http://sourceforge.net/projects/circonspect/) . Artificial replicates were removed from the viromes prior to the analysis . Other viromes (salt water [6, 11, 12], human infant fecal , and human adult fecal ) were analyzed based on their published contig spectra. All contig spectra used in this study are reported (Additional file 1). Circonspect generates contig spectra based on the assembly of the user’s viral metagenome(s). The default assembler (Minimo; http://sourceforge.net/apps/mediawiki/amos/index.php?title=Minimo) was employed [13, 14]. Settings that can be adjusted by the user include the maximum sequence length at which to trim the input sequences (trim), the shortest sequence length to allow in the assembly (discard), the number of sequences to sample (sample size), and the depth of coverage to target. The input settings were optimized to maximize the assembled data used in calculating the contig spectra and to minimize the error: trim length, 600 (that is, greater than the average read length of the sequences in the sample); discard length, 100; sample size, 10,000 sequences per metagenome; coverage, 2x (that is, enough times to query each read twice). Settings not listed were not changed from default. These settings are comparable to what have been used previously  and fit within the current computation limits of Circonspect.
Estimating richness from contig spectra
All contig spectra were then analyzed in CatchAll and PHACCS , the latter of which was implemented via CAMERA’s alpha diversity pipeline (http://camera.calit2.net/) . Data were loaded in comma-delimited files into CatchAll version 3.0 , which estimates the richness using parametric and nonparametric models. CatchAll postulates a flexible family of stochastic abundance models, and fits or estimates these by maximum likelihood (via sophisticated numerical search algorithms; see [8, 17] for a discussion of the different models calculated by CatchAll). This procedure is known to be optimal when the postulated abundance model is indeed the true model. Unfortunately, it is not possible to know what the true model is, although the issue can be addressed via modern goodness-of-fit analysis as performed by CatchAll. This uncertainty is addressed by the flexibility of the models used by CatchAll, leading the statistical analyses to be moderately robust. To address further departures from the postulated parametric models, or certain other violations of assumptions, CatchAll also implements nonparametric estimation methods. These attempts to make minimal assumptions about the underlying population structure broaden the model base, but in turn exact a price in terms of statistical efficiency, that is, the variance of the final estimate per unit of sample size. (These issues have been well explored in the theoretical statistics literature.) In short, CatchAll fits a suite of flexible parametric models, along with a suite of nonparametric analyses, compares these and returns the best results according to statistical and heuristic criteria. Additionally, CatchAll performs statistical discounting of low-frequency observations and optionally provides the discounted richness estimate, as reported previously [8, 18].
Empirical discounting of contig spectra
MG-RAST (http://metagenomics.anl.gov/)  was used to assign the singleton sequence reads of three swine viromes to a taxonomic origin (bacteria, viral, eukaryote, archaeon, unassigned or no hits). Previous results showed that these viromes contained almost entirely phage DNA . Because of the inability to annotate the vast majority of phage genes, the real phage sequences might have no hits or would be assigned to viruses, while sequences in the other categories would be spurious. Assigning the singletons and tallying the number of spurious assignments lacks precision because even specialized phages are known to carry bacterial genes , but it is nonetheless a reasonable point of reference to help gauge the discounted richness estimates. Under these assumptions, the ratio of real to spurious reads was calculated, ranging from 1:1 to 1:2. The numbers of singletons were, therefore, halved within each contig spectrum to manually dispose of the supposedly spurious reads, and the resulting spectra were analyzed in CatchAll as above.
Results and discussion
Richness estimates of published phage metagenomes
Comparison of richness estimates for published viral metagenomes
CatchAll richness estimate
PHACCS richness estimate
Best parametric model ± SEa
Power law model
Mammalian gut environments
Nonmedicated swine feces, 21 db
90,576 ± 7,717
20,781 ± 1,054
2,381 ± 203
Nonmedicated swine feces, 35 d
124,284 ± 11,985
17,581 ± 762
9,693 ± 935
Nonmedicated swine feces, 38 d
84,524 ± 23,415
14,663 ± 592
4,686 ± 1,298
Nonmedicated swine feces, 63 d
105,310 ± 48,167
16,267 ± 2,190
5,362 ± 2,452
Nonmedicated swine feces, 77 d
130,773 ± 44,679
22,879 ± 3,381
5,071 ± 1,733
Nonmedicated swine feces, 85 d
113,335 ± 7,958
27,650 ± 1,478
1,307 ± 92
Nonmedicated swine feces, 91 d
154,869 ± 59,005
24,202 ± 1,139
5,386 ± 2,052
Human infant fecesc
1,087 ± 348
344 ± 74
94 ± 30
Human adult fecesc
9,576 ± 1,810
2,733 ± 517
Reclaimed fresh water, potable
59,741 ± 5,150
14,259 ± 803
2,388 ± 206
Reclaimed fresh water, effluent
128,778 ± 10,752
29,882 ± 1,833
1,617 ± 135
Reclaimed fresh water, nursery
204,571 ± 75,474
37,260 ± 7,320
4,477 ± 1,652
Reclaimed fresh water, park
185,739 ± 15,756
42,854 ± 2,899
1,043 ± 88
Salt water, Gulf of Mexicoc
246,019 ± 90,045
59,696 ± 21,341
103 ± 37
Salt water, British Columbiac
320,708 ± 73,575
81,644 ± 18,730
Salt water, Sargasso Seac
108,264 ± 14,870
28,701 ± 3,942
Salt water, Arctic Oceanc
The seven swine fecal viromes
155,469 ± 16,052
34,512 ± 2,360
1,990 ± 206
The four reclaimed fresh water viromes
183,920 ± 18,009
41,751 ± 3,284
1,428 ± 140
Nonmedicated swine feces, 85 d, mixed with reclaimed fresh water, effluent
196,069 ± 23,490
43,205 ± 3,865
1,958 ± 235
The four saltwater viromesc
668,901 ± 269,866
151,974 ± 54,948
1,272 ± 513
57, 600 
In some cases the sample is so small that it becomes impossible to estimate richness. For example, the contig spectrum of some phage metagenomes, such as the Arctic Ocean salt water virome , lacked sufficient data for the richness to be calculated by CatchAll (Table 1). As the cost of sequencing continues to decline, large virome datasets amenable to the present analysis should become more plentiful. This also should encourage the sequencing of biological replicates to enable statistical comparisons between metagenomic datasets.
Estimated richness after statistical discounting
Although the CatchAll-based richness estimates were roughly on the same order of magnitude per environment, we reasoned that 100,000 viral taxa per sample could be an overestimate of the true richness. This is because contig spectra from viral metagenomes might contain a large number of spurious singletons, due to both biological and technical phenomena. An example of a biological phenomenon is that certain viruses of bacteria (bacteriophages or phages) called generalized transducing phages are known to package random pieces of bacterial chromosomal DNA, which would never assemble in a contig spectrum and thereby inflate the number of singletons. Another biological phenomenon that could inflate the richness estimates is the mosaicism of phage genomes , which could decrease the assembly of related phages and cause them to be counted as discrete taxa. From a technical standpoint, pyrosequencing is error prone: errors introduced by pyrosequencing technology inflate 16S rRNA-based estimates of diversity , and data derived from bulk DNA sequencing need to be screened for false duplicates that arise from the emulsion PCR step .
Ideally, any suspected inflated diversity would be fixed at an appropriate technical step in the sequencing pipeline. In the absence of a technical solution, we theoretically discussed several statistical discounting procedures  and modified CatchAll to optionally implement a statistical procedure that discounts the low-frequency observations, such as singletons . The results of statistically discounting the present contig spectra yielded phage richness estimates in the thousands per sample, which may be overly strict but yields a more biologically intuitive result than hundreds of thousands of phage taxa per sample (Table 1). This is the first broad application of this technique to multiple datasets.
Estimated richness after empirical discounting
Our statistical discounting procedure deletes a proportion of the low-frequency observations at the data analysis stage rather than data production stage, yielding what may be an overly conservative richness estimate. When juxtaposed with the high-richness estimates based on the original data, there is an expansive difference between the original unadjusted estimate and discounted richness estimates for a virome (Table 1). How, then, do we reconcile these estimates with the biology? An ideal proof-of-principle for the discounting procedure would be to compare the richness estimates to a scenario in which we actually know how many low-frequency counts are spurious. To address this, we developed an empirical discounting method for three swine phage metagenomes using the taxonomic assignment of the reads to infer a ratio of real to spurious reads. This ratio suggested that half of the reads could be spurious, and so the number of singletons in the contig spectra were halved prior to estimating the richness in CatchAll. The new estimated phage diversities were approximately 20% of the estimates based on the original contig spectra, but still 5 to 35 times greater than the statistically discounted estimates (Table 1). We, therefore, conclude that the statistical discounting method is indeed more conservative than inferring a discount based on the taxonomic information in the singletons. These empirical results also suggest that analyses of contig spectra that include potentially spurious reads at least double the richness estimate. The mathematically discounted model is a statistically sound tool to estimate the minimum richness of large viral metagenomic datasets.
Comparing phage richness between environments
When comparing phage metagenomes from different environments via mixed contig spectra from pooled viromes, CatchAll nearly recovers the expected reality that the summed richness is greater than that of the member environments. A mixed contig spectrum is achieved by mixing the sequences from two or more environments prior to generating a contig spectrum . We analyzed a published mixed contig spectrum from four salt water viromes  in CatchAll, resulting in a combined phage richness that was nearly equivalent to the sum of the richness of three component environments (Table 1). This result contrasted with the combined phage richness estimated by PHACCS, which showed fewer phage taxa in the mixed environments than in one of the component environments, indicating that the majority of phage taxa could be shared among environments .
We further explored this phenomenon by generating a mixed contig spectrum for seven non-medicated swine viromes, and again for four reclaimed water viromes. The mixed swine viromes showed an estimated richness just greater than the most rich component virome (155,468 ± 16,052; Table 1). The individual swine viromes were generated from the same six pigs over time, and so it is likely that a large part of the community would be shared among the viromes. This is reflected in the pooled-virome richness estimate being one-fifth of the sum of the richness of the component environments, and in the substantially decreased standard error of the richness estimate resulting from the increased sample size. The reclaimed water viromes are similarly related in that they all originated from the same wastewater treatment facility, and the mixed spectra richness estimate showed a similar trend (Table 1). Note that this trend does not hold when examining the statistically discounted richness estimates. This is because the high-diversity component is larger in the pooled sample, and so its removal after statistical estimation has a larger impact on the richness estimate than either its inclusion (no discounting) or prior removal during empirical discounting.
To test the effect of pooling two very different environments, we mixed one swine virome (Day 85) with one reclaimed water virome (effluent). The estimated richness (196,069) was about 40% greater than the richness of either component environment. Importantly, the standard error (±23,489) was also greater, suggesting that unlike in the mixed analyses of similar environments, the depth of coverage was not improved by pooling unlike samples. Our results suggest that the majority of inter-environmental phage taxa are not shared. This is aligned with current dogma for microbial biogeography indicating that both viral taxa and bacterial species are heterogeneously distributed based on habitat and spatial structure [23, 24].
It is tempting to compare the differences between the estimated numbers of phage taxa per environment in Table 1, such as noting that the discounted richness estimates for swine fecal viromes are roughly double the discounted richness estimates of reclaimed fresh water. However, it is impossible to draw conclusions because of the lack of depth and repetition of any given data set. Expanding the breadth and depth of phage metagenomic studies will improve inter-environmental comparisons and thus advance biological conclusions.
The statistical diversity estimation procedures implemented in CatchAll improve upon comparable previous implementations. The accuracy of any estimates of viral richness is unknown because the sampling of nature is so very, very sparse. Tests of accuracy in given communities with known diversity, or in simulated ones, can provide some perspective, but such results are not generalizable beyond the specific cases studied, and hence are limited. Instead, statisticians turn to general theoretical optimality principles, which underlie the numerous procedures employed by CatchAll to perform both parametric and nonparametric analyses. An additional improvement is that CatchAll provides confidence intervals that bound the uncertainty within the limits of the available data.
In addition to a sound statistical foundation, we employed discounting approaches to investigate the effect of potentially spurious low-frequency counts on richness estimates. The theory behind the statistically discounted approach was presented elsewhere , but this is its first application to multiple datasets. The empirically discounted estimates are new to the present manuscript. Discounting provides an option for estimating richness from samples that are suspected to contain spurious low-frequency observations. Further studies are needed to elucidate the effect of biological features, such as genetic mosaicism, on estimates of phage richness.
The non-discounted richness estimates reveal more viral species per environment than previous metagenomic-based estimates, and also greater consistency in the estimates between like environments. Additionally, analysis of pooled viromes from disparate environments showed the expected result: mixing increased both the richness estimate and the error associated with that richness. Increased depth of sequencing coverage will improve the accuracy of richness estimates, and technologies are quickly advancing to enable deep metagenomic sequencing. Improved richness estimates should dramatically improve the inferences possible in phage ecological studies.
The authors thank Linda Woodard and Samuel Humphrey for technical support, and Uri Levine, Thomas Casey, Brian Brunelle, Torey Looft and Patrick Schloss for helpful discussions or comments on the manuscript. JAF was partially supported by NIH COBRE grant P20RR16448, NIH INBRE grant P20RR016454 and NSF STC “BEACON Center for the Study of Evolution in Action” NSF STC DBI-0939454. Mention of trade names or commercial products in this publication is solely for the purpose of providing specific information and does not imply recommendation or endorsement by the U.S Department of Agriculture. USDA is an equal opportunity provider and employer.
- Angly F, Rodriguez-Brito B, Bangor D, McNairnie P, Breitbart M, Salamon P, Felts B, Nulton J, Mahaffy J, Rohwer F: PHACCS, an online tool for estimating the structure and diversity of uncultured viral communities using metagenomic information. BMC Bioinformatics 2005, 6:41.PubMedView Article
- Nelson EJ, Harris JB, Morris JG Jr, Calderwood SB, Camilli A: Cholera transmission: the host, pathogen and bacteriophage dynamic. Nat Rev Microbiol 2009, 7:693–702.PubMedView Article
- Jensen MA, Faruque SM, Mekalanos JJ, Levin BR: Modeling the role of bacteriophage in the control of cholera outbreaks. Proc Natl Acad Sci U S A 2006, 103:4652–4657.PubMedView Article
- Wommack KE, Colwell RR: Virioplankton: viruses in aquatic ecosystems. Microbiol Mol Biol Rev 2000, 64:69–114.PubMedView Article
- Breitbart M, Salamon P, Andresen B, Mahaffy JM, Segall AM, Mead D, Azam F, Rohwer F: Genomic analysis of uncultured marine viral communities. Proc Natl Acad Sci U S A 2002, 99:14250–14255.PubMedView Article
- Angly FE, Felts B, Breitbart M, Salamon P, Edwards RA, Carlson C, Chan AM, Haynes M, Kelley S, Liu H, Mahaffy JM, Mueller JE, Nulton J, Olson R, Parsons R, Rayhawk S, Suttle CA, Rohwer F: The marine viromes of four oceanic regions. PLoS Biol 2006, 4:e368.PubMedView Article
- Allen HK, Looft T, Bayles DO, Humphrey S, Levine UY, Alt D, Stanton TB: Antibiotics in feed induce prophages in swine fecal microbiomes. MBio 2011, 2:e00260–11.PubMedView Article
- Bunge J, Woodard L, Bohning D, Foster JA, Connolly S, Allen HK: Estimating population diversity with CatchAll. Bioinformatics 2012, 28:1045–1047.PubMedView Article
- Rosario K, Nilsson C, Lim YW, Ruan Y, Breitbart M: Metagenomic analysis of viruses in reclaimed water. Environ Microbiol 2009, 11:2806–2820.PubMedView Article
- Gomez-Alvarez V, Teal TK, Schmidt TM: Systematic artifacts in metagenomes from complex microbial communities. ISME J 2009, 3:1314–1317.PubMedView Article
- Breitbart M, Haynes M, Kelley S, Angly F, Edwards RA, Felts B, Mahaffy JM, Mueller J, Nulton J, Rayhawk S, Rodriguez-Brito B, Salamon P, Rohwer F: Viral diversity and dynamics in an infant gut. Res Microbiol 2008, 159:367–373.PubMedView Article
- Breitbart M, Hewson I, Felts B, Mahaffy JM, Nulton J, Salamon P, Rohwer F: Metagenomic analyses of an uncultured viral community from human feces. J Bacteriol 2003, 185:6220–6223.PubMedView Article
- Treangen TJ, Sommer DD, Angly FE, Koren S, Pop M: Next generation sequence assembly with AMOS. Curr Protoc Bioinform 2011, 33:11.8.1–11.8.18.
- Sommer DD, Delcher AL, Salzberg SL, Pop M: Minimus: a fast, lightweight genome assembler. BMC Bioinformatics 2007, 8:64.PubMedView Article
- Willner D, Furlan M, Haynes M, Schmieder R, Angly FE, Silva J, Tammadoni S, Nosrat B, Conrad D, Rohwer F: Metagenomic analysis of respiratory tract DNA viral communities in cystic fibrosis and non-cystic fibrosis individuals. PLoS One 2009, 4:e7370.PubMedView Article
- Seshadri R, Kravitz SA, Smarr L, Gilna P, Frazier M: CAMERA: a community resource for metagenomics. PLoS Biol 2007, 5:e75.PubMedView Article
- Bunge J: Estimating the number of species with catchall. Pac Symp Biocomput 2011, 11:121–130.
- Bunge J, Bohning D, Allen H, Foster JA: Estimating population diversity with unreliable low frequency counts. Pac Symp Biocomput 2012, 12:203–212.
- Glass EM, Wilkening J, Wilke A, Antonopoulos D, Meyer F: Using the metagenomics RAST server (MG-RAST) for analyzing shotgun metagenomes. Cold Spring Harb Protoc 2010, 2010:pdb.prot5368.PubMedView Article
- Sharon I, Battchikova N, Aro EM, Giglione C, Meinnel T, Glaser F, Pinter RY, Breitbart M, Rohwer F, Beja O: Comparative metagenomics of microbial traits within oceanic viral communities. ISME J 2011, 5:1178–1190.PubMedView Article
- Casjens SR, Thuman-Commike PA: Evolution of mosaically related tailed bacteriophage genomes seen through the lens of phage P22 virion assembly. Virology 2011, 411:393–415.PubMedView Article
- Kunin V, Engelbrektson A, Ochman H, Hugenholtz P: Wrinkles in the rare biosphere: pyrosequencing errors can lead to artificial inflation of diversity estimates. Environ Microbiol 2010, 12:118–123.PubMedView Article
- Thurber RV: Current insights into phage biodiversity and biogeography. Curr Opin Microbiol 2009, 12:582–587.PubMedView Article
- Ramette A, Tiedje JM: Biogeography: an emerging cornerstone for understanding prokaryotic diversity, ecology, and evolution. Microb Ecol 2007, 53:197–207.PubMedView Article
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.