Skip to main content
Nucleic Acids Research logoLink to Nucleic Acids Research
. 2025 Feb 27;53(5):gkaf118. doi: 10.1093/nar/gkaf118

Development of a quantitative metagenomic approach to establish quantitative limits and its application to viruses

Kathryn Langenfeld 1, Bridget Hegarty 2, Santiago Vidaurri 3, Emily Crossette 4, Melissa B Duhaime 5,, Krista R Wigginton 6,
PMCID: PMC11878531  PMID: 40036505

Abstract

Quantitative metagenomic methods are maturing but continue to lack clearly-defined analytical limits. Here, we developed a computational tool, QuantMeta, to determine the absolute abundance of targets in metagenomes spiked with synthetic DNA standards. The tool establishes (i) entropy-based detection thresholds to confidently determine the presence of targets, and (ii) an approach to identify and correct read mapping or assembly errors and thus improve the quantification accuracy. Together this allows for an approach to confidently quantify absolute abundance of targets, be they microbial populations, genes, contigs, or metagenome-assembled genomes. We applied the approach to quantify single- and double-stranded DNA viruses in wastewater viral metagenomes, including pathogens and bacteriophages. Concentrations of total DNA viruses in wastewater influent and effluent were >108 copies/ml using QuantMeta. Human-associated DNA viruses were detected and quantifiable with QuantMeta thresholds, including polyomavirus, papillomavirus, and crAss-like phages, at concentrations similar to previous reports that utilized quantitative polymerase chain reaction (PCR)-based assays. Our results highlight the higher detection thresholds of quantitative metagenomics (approximately 500 copies/μl) as compared to PCR-based quantification (approximately 10 copies/μl) despite a sequencing depth of 200 million reads per sample. The QuantMeta approach, applicable to both viral and cellular metagenomes, advances quantitative metagenomics by improving the accuracy of measured target absolute abundances.

Graphical Abstract

Graphical Abstract.

Graphical Abstract

Introduction

Metagenomics has provided unprecedented insights into the diversity, structure, and function of microbial communities across various environments, from natural and engineered systems to the human body [1]. However, metagenomic data is inherently relative, which complicates direct comparisons of population and gene abundances across samples—particularly in systems with fluctuating biomass concentrations, such as wastewater treatment plants, or when comparing healthy and disease states. Developing a quantitative metagenomics approach that yields accurate absolute abundances for numerous targets simultaneously would greatly expand the scope of conclusions that can be drawn from these studies.

One approach to making metagenomic data quantitative is to convert relative abundances to absolute abundances using total cell estimates derived from flow cytometry or concentrations of 16S ribosomal RNA or housekeeping genes measured by quantitative polymerase chain reaction (PCR) [2–5]. However, these methods rely on time- and resource-intensive ancillary measurements that can be prone to errors. Additionally, the latter approach is unsuitable for virus quantification, as viruses lack conserved genes and are challenging to quantify using cytometry. An alternative approach involves adding DNA standards at known concentrations to samples, enabling absolute abundance measurements in metagenomes [6–15]. Here, target gene or genome counts in the metagenome are quantified by comparing the number of reads mapping to these standards against the known standard concentrations [6, 8, 11–13, 15].

Various spike-in standards can aid metagenomic quantification, including foreign genomes [12, 13], mock microbial communities [15], and synthetic DNA sequences [6, 8, 11]. Synthetic DNA standards offer unique advantages that make them increasingly popular: they avoid nonspecific mapping with unique nonsense sequences [6, 8], can be tailored to match expected microbiome characteristics (e.g. DNA lengths, GC content, and concentrations), and are readily available in premade mixtures [16]. These standards have been used to examine temporal and spatial microbial variability in healthcare environments [9], track antibiotic resistance genes and pathogens in wastewater [10] and manure [11], and analyze microbial community structure in saltmarshes [7]. Additionally, they serve as positive controls in metagenomics, helping to establish false positive thresholds [17]. As with any quantitative method, the next step is to define limits of detection and quantification to meet quality targets for bias, precision, and total error [18, 19].

Despite the growing application of spike-in standards for quantification of targets in metagenomes, the approach lacks well-defined and standardized limits of detection and quantification [20], as is typical of other analytical methods [18]. Ideally, detection limits would be established dynamically for a given dataset and target. Beyond detection, accurate target quantification relies on accurate read mapping to sequences of interest. Previous studies that implemented quantitative metagenomics determined target concentrations by mapping reads onto targets from databases (i.e. reference-based quantification) [7, 9–11]. Targets can also be quantified in metagenomes by mapping reads onto contigs assembled from the same sample (i.e. contig-based quantification). Ultimately, the average number of reads mapped to a sequence (read depth) is used to quantify a target; consequently, read mapping errors caused by nonspecific mapping (i.e. reads mapping to a target other than its true origin [21]) or assembly errors [22] may reduce quantification accuracy. An approach to detect and, when possible, correct read mapping errors is needed to improve the accuracy of quantitative metagenomics.

In this study, we developed a computational tool, QuantMeta, to determine the absolute abundance of targets in metagenomes that have been spiked with synthetic DNA standards. Similar to the two-step process in quantitative PCR (qPCR), where researchers first establish limits of detection and quantification before reliably applying them in a new system, our approach uses an analogous process to establish limits of detection and whether a target is quantifiable in metagenomics. QuantMeta incorporates (i) detection thresholds (acting similarly to limit of detection) to determine presence or absence of targets, (ii) identification and correction of read mapping errors that affect accuracy of quantification, and (iii) determination of absolute abundance of targets (Fig. 1). We demonstrated the application of QuantMeta by quantifying single-stranded DNA (ssDNA) and double-stranded DNA (dsDNA) viruses in municipal wastewater samples. We anticipate that this approach will be useful in future quantitative metagenomics studies for both viral (virome) and entire microbial community metagenomes. By using QuantMeta, researchers can quantify a wider range of genes or populations simultaneously, as compared to conventional qPCR-based approaches.

Figure 1.

Figure 1.

Conceptual overview describing the three main steps of the QuantMeta computational pipeline: detection, mapping error assessment, and quantification. (A) In detection, short reads mapped to standard sequences are used to establish detection thresholds. (B) In mapping error assessment, read depth variability thresholds are set for assessing read mapping errors. (C) A standard curve is created by relating relative to absolute abundances. Short reads mapped to target sequences from assemblies or databases are assessed for meeting the defined detection thresholds Read mapping errors are detected and corrected. The absolute abundances are then quantified.

Materials and methods

Several terms used consistently throughout our work are defined in Supplementary Information Section 2.

Sample collection and processing

Two grab samples of secondary effluent (20 l) or raw influent (10 l) were collected in autoclaved carboys from automatic samplers at the Ann Arbor Wastewater Treatment Plant (Ann Arbor, MI, USA) daily from 19 to 24 December 2020. Samples were transported to the lab on ice within 2 h of collection. They immediately underwent concentration and purification steps based on a previously described ultrafiltration method [23]. Briefly, secondary effluent and raw influent were pre-filtered through 100-μm sized pores (Long-Life polyester felt filter bag, McMaster-Carr, Cat. No. 6835K58) then 0.45-μm sized pores (Express PLUS PES filters, MilliporeSigmaTM, Cat. No. HPWP14250) and concentrated with tangential ultrafiltration (approximately 50-fold and 25-fold, respectively, using 30 kDa MWCO dialysis filters, Asahi Kosei Medical Co., Ltd, Cat. No. 6292966). The concentrated samples were treated with 1 ml chloroform to lyse any remaining cells, filtered through 0.45-μm filters, further concentrated with dead-end ultrafiltration (approximately 20-fold, using 100 kDa MWCO AmiconTM Ultra Centrifugal filter units, MilliporeSigmaTM, Cat. No. UFC510096). The extra-viral nucleic acids were then degraded with 100 U/ml DNase (Roche, Cat. No. 10104159001) for 1 h on the bench top. The DNase enzymatic reaction was ended by adding 100 mM ethylenediaminetetraacetic acid and 100 mM ethyleneglycol-bis(β-aminoethyl)-N,N,Nʹ,Nʹ-tetraacetic acid. DNA was then extracted immediately with QIAamp UltraSens Virus Kit (QIAGEN, Cat. No. 53706). The manufacturer’s instructions were followed, except the first six steps were replaced by combining 140 μl of sample with 5.6 μl of carrier RNA and briefly vortexing. DNA extracts were stored at –20°C. On 26 December 2020, a 20 l deionized water sample was processed with the same viral enrichment process to account for contamination during sample processing.

Sample characterization

Each raw influent and secondary effluent sample was analyzed for pH, turbidity, solids content, fold concentration, and viral recovery (Supplementary Table S1). Sample volumes were determined by weighing samples and assuming a density of 1 g/ml. To determine virus recovery through enrichment, a replicate grab sample was always collected and processed in parallel with the grab samples intended for sequencing. The sample-specific viral recovery was determined by adding Enterobacteria phage T3 (GenBank accession no. NC_003 298, ATCC® BAA-1025-B1TM) at a concentration of 105 copies/μl. The concentration of phage T3 remaining after the enrichment steps was determined using a digital droplet PCR (ddPCR) probe assay [23] (Supplementary Table S2). The sample-specific viral recoveries ranged 22%–45%.

Sequencing standards and ssDNA standard development

We used both Sequins dsDNA standards obtained from [6] and ssDNA standards prepared in our laboratories. A total of 91 synthetic DNA standards were selected to capture the expected viral genome diversity, including GC content, sequence length, concentration, and DNA structure (double-stranded or single-stranded). Sequins metagenome mix A consisted of dsDNA standards with lengths varying 981–9120 bp and GC content ranging from 20% to 71% [6]. The dsDNA concentration of the Sequin metagenome mix A was measured with the QubitTM dsDNA HS Assay (ThermoFisher Scientific, Cat. No. Q32851) with 2 μl of DNA template added to the 200 μl assay.

To capture DNA structural diversity, this set was expanded with our addition of five ssDNA standards. To design these, we applied a similar approach as was used for the sequin metagenome mix development. We inverted ssDNA viral genomes in the RefSeq virus database (downloaded on 19 March 2019) and fragmented the genomes into 1-kb long segments. The fragments were mapped to the NCBI nr database (downloaded on 15 August 2019) with Bowtie2 (v2.3.5). Inverted genome fragments with no alignments to the NCBI nr database were selected as candidate ssDNA standards. A random selection of five sequences from the potential candidates were selected with varying GC contents (31.7%, 40%, 45%, 50%, and 60%; Supplementary Table S3) and made into Megamer® ssDNA fragments without the complementary strand (IDT, Coralville, IA; Supplementary Table S3). ssDNA standards were limited to five sequences and a length of 1000 bp due to cost and synthesis constraints.

The ssDNA fragments were resuspended in molecular biology grade ddH2O (Fisher Scientific, Cat. No. BP28191) to an approximate concentration of 7.5 ng/μl, aliquoted into 10 μl increments, and stored at –20°C. Standards underwent a maximum of one freeze-thaw cycle. Immediately before use, ssDNA concentrations were measured with the QubitTM ssDNA Assay (ThermoFisher Scientific, Cat. No. Q10212). A mix of the ssDNA standards was prepared to match the concentration ranges in the Sequins metagenome mix A, from 104 to 108 copies/μl. The final concentrations of the ssDNA standards in the mix were 107, 104, 106, 108, 105 copies/μl for the ssDNA standards with GC content of 31.7%, 40%, 45%, 50%, and 60%, respectively.

Spike addition of standards and foreign marine phage HM1 genome

We spiked the standard mixtures and marine phage HM1 genomes into nucleic acid extracts from the three influent and three effluent samples. To assess the variability in quantification resulting from the spike-addition and sequencing steps, we created three technical replicates for one influent sample (21 December 2021) and one effluent sample (22 December 2021) spiking each technical replicates separately with the standards and HM1 genomes.

The Sequins dsDNA metagenome mix A and the ssDNA standard mix were spiked into each sample nucleic acid extract to achieve 10 copies/ng sample extract DNA for the standards at the lowest abundance in the mixes. We predicted that the standards spiked at 10 copies/ng DNA extract would be near the detection threshold at our sequencing depth (approximately 200 million reads per sample) based on a previous observation that a single read was approximately 50 copies/ng DNA extract with a sequencing depth of 50 million reads [12]. The spike-in absolute abundances were confirmed with ddPCR assays (details provided below).

To further examine quantification accuracy of low abundance viruses at our sequencing depth, we spiked in marine phage HM1 genomes (Genbank accession no. KF302034.1) into the sample extracts. This virus is foreign to our wastewater samples and the dsDNA HM1 genome (129 401 bps) has an average GC content of 35.7%. HM1 DNA was extracted using the QIAamp UltraSens Virus Kit with the modified protocol described above. Then, 15 μl of DNA extract with 1 μl of loading dye was run on a 0.3% agarose gel with 1 μl of 10,000x SYBRTM Gold nucleic acid gel stain (InvitrogenTM, Cat. No. S11494) per 10 ml of gel at 3 V cm−1 for 90 min. GeneRuler High Range DNA ladder (Thermo ScientificTM, Cat. No. FERSM1351) was run according to the manufacturer instructions. HM1 genomes were extracted from the gel with the QIAEX II Gel Extraction Kit (QIAGEN, Cat. No. 20021). The concentration of the purified HM1 genomes were measured with the Qubit dsDNA HS Assay. HM1 genomes were spiked into all sample nucleic acid extracts at an abundance of approximately 50 copies/ng DNA to reflect viruses in wastewater at lower concentrations. The HM1 genome absolute abundance in the nucleic acid extract was checked with ddPCR (details provided below).

Spike-in ddPCR assays

The absolute abundances of one dsDNA standard, one ssDNA standard, and the HM1 genome in the spiked sample nucleic acid extracts were checked with singlet ddPCR reactions performed with the QX200 AutoDG Droplet Digital PCR System (Bio-Rad Laboratories, Inc., Hercules, CA). For each plate, at least two ddH2O negative controls and two positive controls from spike-in stocks were included. Specific primers and probes were developed for HM1, dsDNA standard S1106_MG_020_A, and the ssDNA standard with 45% GC content (Supplementary Table S2). The 22 μl reactions were prepared with 11 μl of 2× ddPCRTM Supermix for Probes (No dUTP; Bio-Rad Laboratories, Inc., Cat. No. 1863023), 0.4 μM of all probes and primers, and 3 μl of template. Droplets were generated using the automated droplet generation oil for probes (Bio-Rad Laboratories, Inc., Cat. No. 1864110) to a 20 μl volume, then PCR was performed on the C1000 Touch™ Thermal Cycler (Bio-Rad Laboratories, Inc., Hercules, CA) immediately after droplet generation. The ssDNA assays consisted of 40 cycles of denaturation for 30 s at 95°C, annealing for 1 min at 56°C, and extension for 2 min at 72°C, then enzyme deactivation for 5 min at 4°C and 5 min at 95°C, and a final hold at 4°C. The same PCR reaction for dsDNA assays was performed with an initial denaturation step at 95°C for 10 min. Plates were run on the droplet reader within 1 hour of PCR completion. For each ddPCR reaction, thresholds were set using a previously defined method that uses kernel density to categorize droplets as positive, negative, or rain [24]. We reran any sample that exhibited >2 droplet clusters, >2.5% of droplets classified as rain, or <30% compartmentalization. Inhibition was checked for the ssDNA and dsDNA assays by running 10- and 100-fold dilutions on one influent and one effluent sample and was not found to significantly alter the determined concentration; therefore, 10-fold dilutions were used. Due to the low abundance of the HM1 genomes, we could not test for inhibition of this assay with the samples and one- or two-fold dilutions were used. ddH2O negative controls infrequently resulted in positive droplets, and the corresponding concentrations were always much lower than the concentrations in the samples.

Illumina NovaSeq sequencing

Libraries were prepared with the Accel-NGS® 1S Plus DNA Library Kit (Swift Biosciences, Cat. No. 10024) using 50 ng DNA measured with an Agilent TapeStation. Samples were sequenced on the Illumina NovaSeq 600 with five samples sequenced per paired-end 500 cycle SP flow cell yielding 251-bp long reads. Library preparations and sequencing were conducted by the Advanced Genomics Core at the University of Michigan. Quality control was performed by trimming Illumina adaptors and an additional 15 bp from the rightmost and leftmost of each read to remove adaptors from the Accel-NGS® 1S Plus DNA Library Kit, and reads were decontaminated of PhiX174 with BBDuk (BBTools, v37.64). Bases with quality scores <10 were trimmed from reads, then trimmed reads with quality scores <10 or lengths <100 bp were removed with BBDuk (Supplementary Table S4).

Oxford nanopore sequencing

We conducted long read sequencing to improve viral assemblies because viral genomes commonly have repetitive regions, high mutation rates, and contain host genome fragments [25–28]. DNA extracts from each influent and effluent sample (n = 6) without added standards or phage HM1 genomes were cleaned prior to library preparations with the Zymo Genomic DNA Clean and Concentrate-10 kit (Cat. No. D4011, Zymo Research Corporation). Long read libraries were prepared with the Ligation Sequencing Kit (Cat. No. SQK-LSK109, Oxford Nanopore Technologies) and barcoded with the Native Barcoding Expansion 1–12 (Cat. No. EXP-NBD104, Oxford Nanopore Technologies). The six samples were sequenced on two flow cells (R9.4.1, Cat. No. FLO-MIN106, Oxford Nanopore Technologies) (Supplementary Table S4). Basecalling was performed using Guppy (v4.2.3) and called reads were classified as either pass or fail depending on their mean quality score (≥7). Library preparations, sequencing, and basecalling were conducted by the Advanced Genomics Core at the University of Michigan.

Assemblies and viral sorting

We used two assembly methods and pooled the results with the technical replicates processed separately. Hybrid co-assemblies were performed with long reads and short reads from each sample separately with metaSPAdes (v3.15.2) using kmer sizes of 21, 33, 55, 77, 89, and 127. Long read-only assemblies were performed with Flye (v2.8.3) for each sample separately followed by several polishing steps including four rounds of Racon (v1.4.10), one round of medaka (v1.3.2), and short-read error correction with pilon (v1.24) [25]. Following both assemblies, the contigs for each sample were pooled and contigs <1000-bp were removed with length and count statistics provided in Supplementary Table S7. The remaining contigs were assessed for likelihood of viral or proviral origin. Five viral detection methods were run on the contigs. VirSorter (v1.0.6) [29] with the virome flag, VirSorter2 (v2.2.2) [30], VIBRANT (v1.2.1) [31] with the virome flag, DeepVirFinder (v1.0) [32], Kaiju (v1.8.0) [33], and CheckV (v1.0.1) [34] end-to-end were run to assess likelihood of each contig being viral or proviral. Potential viral and proviral contigs were identified using the results of the five viral detection methods with previously established rules [35]. The viral contigs were binned using vRhyme (v1.1.0) [36] with a minimum contig length of 3000 bp with the resulting bins were referred to as viral populations. Of the contigs >3000 bp, 76.2%–83.3% of contigs were classified as viral. The total viral population counts ranged from 3950 to 5770 in our viromes (Supplementary Table S7).

Downsampling and creation of false positive dataset

To create reliable detection thresholds using a binary logistic regression model, we downsampled the reads to produce standards that spanned the method’s detection limits. Downsampling was performed by randomly sampling 1% and 20% of reads with seqtk (v1.3). To engineer a false positive dataset, we first created a set of mutated standard sequences by simulating single nucleotide polymorphisms with Mutation Simulator [37]. This involved five sequential rounds of mutations, with a 0.1 probability for single nucleotide polymorphisms and a 0.02 probability for 5 bp-length insertions, deletions, duplications, inversions, and translocations. To identify standards that would result in false positives, we selected mutated sequences with a coverage <10% or expected read distribution <0.3. These were used in the logistic regression model dataset to capture the variability in mapping to targets that should not be detected.

Mapping

We performed both reference-based and contig-based quantification. Quality controlled short reads from deinterleaved fastq formatted files were mapped using Bowtie2 (v2.4.2) with the default parameters. The resulting Bowtie2 sam files were converted to a tabular format showing the number of reads mapping to each basepair of a target using samtools depth (v1.11).

For reference-based quantification, we mapped reads to viruses from multiple sources: the NCBI viral database, Virsorter curated database, marine phage HM1 genomes, crAss-like viruses genomes, and DNA virus pathogen genomes. Bowtie2 indexes were built with default parameters for each reference database: NCBI viral database (downloaded on 6 September 2021), VirSorter curated database (downloaded on 5 May 2021), dsDNA and ssDNA standard sequences, mutated standard sequences, HM1 sequence, and RefSeq crAss-like phage database (downloaded on 4 October 2021). For the NCBI viral database, indexes were constructed using entire viral genomes and then divided into individual genes. For DNA virus pathogens, complete genomes were compiled from ViPR (herpesviruses, n = 1099; poxviruses, n = 395; downloaded on 22 July 2022 [38]) and from RefSeq (adenoviruses or mastadenoviruses, n = 15; papillomaviruses, n = 64; polyomaviruses, n = 6; parvoviruses, n = 2; Torque Teno Viruses, n = 18; bocaviruses, n = 3; downloaded on 22 July 2022). Genomes with at least 90% ANI similarity and at least 70% coverage were then clustered with CheckV (v1.0.1) [34], resulting in 118 virus pathogen clusters (Supplementary Table S6). One virus per cluster was selected as a representative to build Bowtie2 indexes with default parameters.

For contig-based quantification, we mapped reads onto contigs from our generated viral populations, dsDNA and ssDNA standard sequences, marine phage HM1 genomes, and crAss-like virus genomes. Viral populations from each sample were indexed using the “large-index” parameter. Minimap2 (v2.17) was used to map contigs onto standard sequences, HM1 genomes, and crAss-like virus genomes from databases. Minimap2 had a maximum sequence divergence of 5% with the “asm5” preset option. To assess the effectiveness of our read depth variability thresholds in detecting assembly errors (as described below), we used Blastn (v2.9.0) with default settings to compare the sequence similarity of contigs derived from standards against a custom database of standard sequences.

Quantifying targets within metagenomes

Next, the relative abundances measured in the metagenomes were converted to absolute abundances. We applied an approach similar to [6] to relate the observed measured relative abundance of the spike-in standards and their known absolute abundances (Supplementary Table S8) with a log linear regression model (Fig. 1C, Equation 1).

graphic file with name M0001.gif (1)

Here, absolutex,extract (copies/μl) is the known absolute abundance in the DNA extract and observedx (copies/μl) is the observed average read depths of a spike-in standard normalized to library inputs (Equation 2). Notably, observedx of the ssDNA standards were doubled to account for having half as many sequences per copy of dsDNA.

graphic file with name M0001a.gif (2)

Here, read depthi (copies) is the number of reads mapping to the i-th basepair along a target sequence with n basepairs, CDNA (ng/μl) is the DNA concentration of the DNA extract, and Mlibrary (ng) is the DNA mass used for library preparations.

A linear regression was created using the observed and absolute abundance of standards from all wastewater samples (Fig. 2). The resulting regression was then applied to unknown targets in the same samples. The concentration of an unknown target in each sample (concentrationx,sample, copies/ml) was then estimated by scaling the measured absolute abundance to the fold-change in volume that occurred during virus enrichment (Equation 3).

Figure 2.

Figure 2.

Application of the entropy-based detection threshold. The relationships between expected absolute abundances and observed relative abundances of the standards (A) before and (B) after the detection threshold was applied and standards that failed to meet the detection threshold were removed. The observed relative abundances per μl of DNA extract were determined with Equation 2 for all the standards across all samples, including the 20% and 1% downsampled results (mean relative abundance across all samples are reported as single values with standard deviations). The black line represents the linear regressions; green and orange points represent values of the dsDNA and ssDNA standards, respectively.

graphic file with name M0002.gif (3)

CF is the fold reduction of volume of the wastewater sample resulting from the viral enrichment steps. This approach assumes a 100% recovery of each target through the preanalytical virus enrichment steps (i.e. ultrafiltration, chloroform, and DNase treatment) and the nucleic acid extraction steps. However, recoveries of our targets are likely <100%, as indicated by our phage T3 recovery controls. Currently, there is no comprehensive method to adjust target concentration of each target for preanalytical recoveries. Thus, it is standard practice to report concentrations assuming 100% recovery and provide measured recoveries for a control organism [39].

Establishing detection thresholds

We next sought to establish thresholds for the detection of targets in a sample by developing a mapping entropy (i.e. measure of randomness) approach that summarizes read distribution and coverage (Fig. 1A). The mapping entropy is similar to Shannon entropy, a metric used for diversity in ecology [40] that considers both species distributions and abundances. In our application, Shannon entropy is adopted as a strategy to relate read distribution and coverage in a single term (Equations 46, adapted from [41]).

graphic file with name M0003.gif (4)
graphic file with name M0004.gif (5)
graphic file with name M0005.gif (6)

Here, I refers to the entropy of a target, while Imax represents the maximum possible entropy, indicating complete coverage and even read distribution for a target. The minimum value of I is 0, which represents when a single basepair from a read aligns to a target sequence. bi is the read depth at basepair i along a target sequence. B is the total number of basepairs from reads mapping to the target. L is the length of a target sequence. Relative entropy, Erel, represents the evenness of read distribution, with 1 indicating complete coverage and perfectly even distribution of reads across the target sequence.

To assess how accurately relative entropy (Erel) reflects coverage and read distribution, we developed a binary logistic regression model. This model used reads mapped to both standard sequences and false positive sequences across all samples, including 20% and 1% downsampling. Detection was classified as pass or fail based on the cut-offs proposed by FastViromeExplorer [42], which require at least 10% coverage and an observed-to-expected read distribution ratio of 0.3 or higher. Unlike the FastViromeExplorer pipeline, we did not set a minimum allowable number of reads or basepairs from reads, due to the observed target length bias (Supplementary Fig. S3). The logistic regression model produced coefficients of ß1 = 320 and ß0 = −230 (Equation 7).

graphic file with name M0006.gif (7)

To determine the optimal entropy-based detection threshold, we first mapped reads to genomes in the VirSorter curated database, as well as genomes and genes from the NCBI DNA viral database. The combined mapping results from all databases yielded an area under the receiver operating characteristic (ROC) curve of 0.992, indicating that the model has high sensitivity and specificity. The optimal entropy-based detection threshold (Edetect) was determined using bootstrapping to maximize the combined values of sensitivity and specificity. The results suggested that the optimal Edetect threshold varied with target length. Targets were therefore binned by length and the optimal Edetect was calculated for each bin (Supplementary Table S5).

Statistical analysis

All statistical analyses were performed in R (v4.0.3). The Wilkes–Shapiro test confirmed that neither relative nor absolute abundances followed a log-normal distribution (W > 0.95 and P-value < .01). Zero values were treated as missing values (NA), as the standards were designed to be evenly distributed across the concentration range used in the study. Linear and logistic regression analyses and Student’s t-tests were performed with the R stats package (v4.0.3). Paired and unpaired t-tests were performed with 0.95 confidence levels with P-values < .05 considered significant. ROC curves and optimal cutpoints for logistic regressions were calculated with the cutpointr package (v1.1.1). Shannon’s alpha diversity of viral populations in wastewater samples was determined based on viral concentrations in wastewater, with zero indicating nondetectable or absent populations. Graphs were created with ggplot2 (v3.3.5).

Results

We developed QuantMeta to determine absolute abundances of unknown targets from metagenomes with standard additions. To improve the accuracy of quantification, we established and assessed detection thresholds (Fig. 1A), established read depth variability thresholds to detect and correct read mapping errors (Fig. 1B), and then determined absolute abundances of viral targets in municipal wastewater samples (Fig. 1C).

Relationship between expected and observed abundances and spike-in reproducibility

Similar to earlier reports using synthetic DNA standards [6, 8, 11], we observed a strong linear relationship between observed relative abundances and expected absolute abundances of the standards (Fig. 2A). The residuals of the ssDNA and dsDNA standards differed significantly (see Supplementary Information Section 3 and Supplementary Fig. S2), likely due to differences incurred during library preparation or sequencing that are influenced by strandedness [43]. However, the differences were small; when standard concentrations were predicted with either ssDNA or dsDNA standard curves, the absolute abundances differed between 5.9% and 12.5%. Therefore, we combined the ssDNA and dsDNA standards into a single standard curve for the remainder of the study.

We assessed the reproducibility of spiked standards in samples by sequencing technical replicates and conducting PERMANOVA tests. The relative abundances of each standard did not differ significantly among influent and effluent technical replicates (i.e. the standards added to replicate influent and effluent sample extracts; P-values = .18 and .36, respectively; Supplementary Fig. S1). In contrast, there were significant differences in the relative abundances of standards between different wastewater samples spiked with the same amount of standard among the three influent and three effluent samples (P-values = .0092 and .037, respectively). Moreover, the relative abundances of standards differed significantly between influent and effluent samples (P-value = 2.37 × 10−9). Across the six wastewater samples, the mean relative standard deviation for all standards was 21%, with higher relative standard deviations observed for standards spiked at lower abundances.

One-metric detection threshold improves relative-to-absolute relationship

We observed poorer correlations between expected absolute abundances and observed relative abundances at the low range of standard concentrations (Fig. 2A), suggesting the need for a detection threshold. Previous studies have set detection thresholds by setting a minimum read count [6, 11, 12] or incorporating read coverage and distributions thresholds [42, 44]. However, we found that implementing minimum read counts for detection thresholds resulted in target length biases, as a single read covers a larger proportion of shorter targets than longer targets (Supplementary Fig. S3). To address this, we developed a mapping entropy (i.e. measure of randomness) approach that incorporates both read distribution and coverage into a single detection threshold parameter (Edetect; Fig. 1A). This method is similar to how entropy is used to summarize community diversity and richness in the Shannon’s Diversity Index [45, 46]. We used standards and false positives to create a binary logistic regression model to generate probabilities of relative entropy (Erel) meeting read coverage and distribution requirements (Equation 7). We tested this with sample virome reads mapped to gene or whole genome targets from databases. A standard was confidently detected in the binary logistic regression if it had over 10% coverage and a ratio of expected Poisson read distribution to observed read distribution >0.3; as empirically determined previously [42]. Optimal entropy cutpoints were set to maximize the sum of sensitivity and specificity and varied with target length in our test dataset (Supplementary Fig. S4). Together, this resulted in a length-dependent entropy threshold, Edetect (Equation 8):

graphic file with name M0007.gif (8)

where Edetect is the unitless entropy threshold and L is the sequence length in basepairs. With this threshold, a target with a measured relative entropy (Erel) that is less than Edetect is not considered detected, as it does not achieve the minimum coverage and read distribution requirements.

The standards allowed us to identify detection limits in our wastewater viromes. Of 2730 standards across all samples with 20% and 1% downsampling, 2340 were detected and exceeded the length-specific detection threshold, resulting in a detection limit of approximately 500 copies/μl of DNA extract (Fig. 2B). Standards that were not detected had a median expected absolute abundance of 96 copies/μl of DNA extract (range = 24–680 copies/μl). Removing these standards below the threshold substantially improved the relationship between the expected absolute abundance and observed relative abundances of standards. Ideally, the linear regression has a slope of one, indicating even sequencing across the range of absolute abundances. Without the threshold, the regression slope was 0.945 (R2 = 0.93); with the threshold applied, the slope improved to 0.995 (R2 = 0.92). We adopted the regression with the detection threshold to calculate absolute abundances of viruses in the wastewater extracts and estimate concentrations in the wastewater samples (see results below). The entropy detection thresholds in Equation 8 are applicable to other types of metagenomes, with or without standards added.

Incorporating read mapping correction improves the accuracy of quantification

With a strategy to set detection thresholds in place, we used the standards to develop a method for detecting and correcting errors due to nonspecific mapping and assembly errors (Fig. 1B). When we quantified targets using reads mapped to contigs assembled from the sequenced standards, we observed poorer correlations between the expected absolute abundances and observed relative abundances (R2 = 0.67; Fig. 3A) compared to mapping reads to known standard reference sequences (R2 = 0.92; Fig. 2B). We attributed this discrepancy to assembly errors in the sequenced standards that interfered with standard read mapping (Supplementary Table S11).

Figure 3.

Figure 3.

Quantitative accuracy improves by applying read mapping error assessment and correction. (A) Comparison of expected and contig-based absolute abundances of standards-derived contigs; each point represents a single standard-derived contig in a sample. The dashed line indicates the ideal 1:1 relationship between expected and contig-based quantification; the solid line indicates the observed linear regression. (B) RMSE thresholds (solid lines) used to identify read mapping issues (e.g. nonspecific mapping or assembly errors) based on RMSE of the reads mapped to standard references divided into bins at log10 intervals (dashed vertical lines; Supplementary Table S3). (C) An example of a contig with nonspecific mapping or assembly errors before (top) and after (bottom) correction. Regions in red indicate areas outside 1.5 standard deviations from the mean read depth (gray shaded area). The corrected read depth is shown with the dashed line. (D) Comparison of expected and contig-based absolute abundances of standards-derived contigs after applying read mapping error assessment and correction.

In the absence of nonspecific mapping and assembly errors, the variability in the number of reads mapping across a target sequence is related to the local GC content and the read depth of the target sequence [47, 48]. Because the synthetic standards do not share DNA sequence homology with any known organism [6], we assumed there was no nonspecific mapping to the standards. Thus, we used the relationship between local GC content and local read depth of the standard sequences (Supplementary Table S9 and Supplementary Fig. S5) to set maximum read depth variability thresholds for targets, where read depth variability is represented by root mean square error (RMSE) (Supplementary Table S10 and Fig. 3B). Targets with read depth variability RMSE exceeding these maximum thresholds were identified as having either nonspecific mapping or assembly errors. They then passed through an iterative correction process (Supplementary Fig. S6): (i) identify outlier regions along the target (Fig. 3C), (ii) correct outlier regions (Fig. 3C), (iii) recalculate the target’s read depth variability RMSE (Fig. 3C), and (iv) iterate until the RMSE of the whole target is below the threshold or after 20 iterations. We stopped correcting after 20 iterations because most targets were corrected in <10 iterations, or did not achieve an RMSE below the threshold. If, after this process, targets had over 20% of 49-bp sliding windows altered or still had an RMSE above the threshold, they were deemed nonquantifiable. Further details on the design of these cut-offs are provided in Supplementary Fig. S7.

To assess our ability to identify assembly errors with this approach, we evaluated the RMSE of reads mapping to the subset of contigs originating from the standards (Supplementary Fig. S8A). Of 910 standards in all samples, 827 were assembled into de novo contigs. Of these, 220 had read depth variability RMSE that was too high based on our thresholds and 21 of these were correctable. Correcting the standard contigs and removing the nonquantifiable standard contigs significantly reduced the differences between observed relative abundances and expected absolute abundances (P-value < 2.2 × 10−16). By evaluating the quality of the standard assemblies, we confirmed that the targets that exceeded our established read depth variability threshold indeed had assembly errors and that correction improved the quantification of those targets (Supplementary Information Section 5).

Quantification errors were rare but significantly altered target concentrations

We applied the read mapping error assessment and correction approach to viruses that exceeded the detection threshold in the wastewater samples. Specifically, we identified read mapping errors amongst sequences from the NCBI RefSeq viral genome database (whole genomes and individual genes) and the VirSorter curated database [29], as well as representative sequences of viral populations assembled de novo from the viromes. In general, few targets exhibited read mapping errors. Specifically of the 162 139 genes and genomes from reference databases across all samples that exceeded detection thresholds, high read depth variability RMSE was observed for 3.6% of targets (n = 5757) with 0.21% of targets (n = 338) identified as not quantifiable (Fig. 4A). When the QuantMeta approach was performed on de novo assembled viral populations, the mean percentage of contigs with high read depth variability RMSE was higher than with reference databases, namely 11.1% (n = 14 849/133 322) across all samples (Fig. 4B). On average across the samples, 4.2% of contigs underwent read mapping error correction with the remaining 6.9% of contigs remaining nonquantifiable.

Figure 4.

Figure 4.

Impact of read mapping error correction on target absolute abundances. Relationship between target absolute abundances without (x-axis) and with (y-axis) read mapping error correction for reads mapped to viral sequences from reference databases (A) and de novo assembled viral populations (B). The databases included genomes and genes from the RefSeq viral and VirSorter curated databases. Targets that did not require read mapping error correction fall on the dashed line.

Targets deemed nonquantifiable after undergoing read mapping error correction are false positives within our metagenomes. The false positive rates (i.e. percent of reads mapped to nonquantifiable targets within reads mapped to each database) were 8.4%, 12%, and 22% for the RefSeq viral genes, RefSeq viral genomes, and curated VirSorter genomes, respectively. The false positive rate was 9.3% for viral contigs. These observations were consistent with previous read mapping to gene-centric databases that found false positive rates of 12%–24% [49] and highlight the issues with quantification in the absence of read depth variability thresholds and correction.

Read mapping error correction impacted the observed absolute abundances of targets from database references (genes and genomes) and de novo assembled viral contigs differently. For the 3.6% of database targets undergoing correction, read mapping error correction significantly reduced the observed target absolute abundances (P-value < 2.2 × 10−16) by 65.2% [95% confidence interval (CI): 64.7%–65.6%]. The absolute abundances of de novo assembled viral populations were also significantly altered through the read mapping error correction process (P-value < 2.2 × 10−16), increasing or decreasing by 37.6% (95% CI: 37.5%–37.8%) on average across the samples. For example, the concentration of Salmonella enterica phage LSPA1 (NCBI accession NC_026017 [50]) changed by an average of 2.8-fold following the correction process for the three samples flagged as having read mapping errors to the phage sequence. The targets that required read mapping error correction spanned all absolute abundances in our viromes.

Viral abundances through wastewater treatment

Tracking recovery of spiked-in phage HM1 genome

To compare the QuantMeta approach with a standard molecular quantification method, we quantified spiked-in marine phage genomes (Pseudoalteromonas phage PSA-HM1) with both quantitative metagenomics and ddPCR. HM1 genomes were quantified by mapping reads to the HM1 reference genome (reference-based quantification) and by mapping reads to the de novo assembled HM1 contigs (contig-based quantification). The mean HM1 absolute abundance in the DNA extracts, as measured by ddPCR, was 1.1 × 103 copies/μl (range: 7.2 × 102–1.6 × 103 copies/μl; Supplementary Table S12). HM1 was consistently above detection thresholds and quantifiable by reference-based detection in all samples. Absolute abundances obtained via the QuantMeta reference-based approach closely matched those from ddPCR, differing by only 5.7% and 3.2% in influent and effluent samples, respectively. Technical replicates of HM1 reference-based absolute abundances among replicate influent and effluent samples were not statistically different (P-values = .011 and .019, respectively), suggesting that the QuantMeta approach is reproducible. De novo assembled HM1 contigs were identified in half of the samples, with the contig-based absolute abundances of HM1 generally exceeding those from ddPCR and reference-based measurements. Based on these HM1 contigs results and minimum absolute abundances of standards’ contigs (Fig. 3D), a minimum absolute abundance of approximately 1000 copies/μl is needed for successful assembly. Taken together, these results suggest that the detection limit of our contig-based quantification was approximately 1000 copies/μl.

Total virus concentrations

We next applied the QuantMeta approach to quantify different groups of DNA virus populations commonly found in wastewater samples. Previous research has estimated total virus concentrations in wastewater based on epifluorescent microscopy and flow cytometry techniques. We measured total virus concentration by summing the concentrations of the identified de novo assembled and binned viral populations. Total virus concentrations were slightly higher in wastewater effluent than influent samples (P-value = .056), with mean concentrations of 1.5 × 109 copies/ml (standard deviation, s.d. = 3.7 × 108 copies/ml) in effluent and 7.5 × 108 copies/ml (s.d. = 1.8 × 108 copies/ml) in influent (Supplementary Fig. S9). The wastewater viral communities are diverse with mean Shannon alpha diversities of 7.9 (s.d. = 0.01) and 7.4 (s.d. = 0.05) in influent and effluent, respectively.

CrAss-like phage fecal biomarker quantification

CrAss-like phage, which infects Bacteroides in the human gut, is commonly measured in wastewater with PCR-based methods [51,52]. We detected crAss-like phage in every sample, with higher concentrations in influent samples compared to effluent samples (Table 1). The mean reference-based measurements of crAss-like phage were 6.5 × 106 copies/ml in influent (3/3 samples) and 1.8 × 105 copies/ml in effluent (3/3 samples), with 1.7% of detected crAss-like phage sequences requiring read mapping error correction across all samples. The contig-based approach yielded higher concentrations, with crAss-like phage levels 154% higher than those from reference-based quantification (P-value = .067; Table 1). CrAss-like phage is commonly quantified in wastewater by qPCR using the CPQ056 primer set [53]; however, this approach may underestimate crAss-like phage concentrations due to the specificity of the CPQ056 primers. When in silico quantification was limited to sequences targeted by the CPQ056 primers, crAss-like phage concentrations were reduced by 80%–82% with reference-based quantification and 18%–61% with contig-based quantification (Table 1).

Table 1.

QuantMeta-derived concentrations of crAss-like phages (total crAss-like phages and CPQ056 primer-specific crAss-like phages) were measured in each sample by mapping contigs and reads to genomes from RefSeq

Sample crAss-like phage/CPQ056 Concentration (copies/ml wastewater)
  Contig-based Reference-based
12/19/20 Influent 5.2 × 107/2.0 × 107 7.1 × 106/1.3 × 106
12/21/20 Influent 5.0 × 107/2.0 × 107 6.9 × 106/1.3 × 106
12/23/20 Influent 5.1 × 107/2.1 × 107 5.6 × 106/1.0 × 106
12/20/20 Effluent 1.8 × 106/1.5 × 106 2.3 × 105/4.1 × 104
12/22/20 Effluent 1.3 × 106/1.0 × 106 1.8 × 105/3.5 × 104
12/24/20 Effluent 8.6 × 105/6.0 × 105 1.2 × 105/2.5 × 104

Concentrations are reported as copies/ml of wastewater. Concentrations did not account for viral recovery through sample processing; however, we observed 22%–43% recovery of phage T3 through sample processing (Supplementary Table S1).

Human pathogenic viruses

Human pathogenic viruses are commonly measured in municipal wastewater with targeted PCR-based methods. We used QuantMeta to determine the concentrations of DNA virus pathogens in each of the wastewater samples (Fig. 5). Reads mapped onto the reference genomes of adenovirus, herpesvirus, bocavirus, papillomavirus, and polyomavirus, but most of these targets in the samples did not meet our detection thresholds. Only polyomaviruses, papillomaviruses, and bocavirus met the detection thresholds and this was only in the influent samples except for one polyomavirus in one effluent sample. None of these required read mapping error correction (Supplementary Table S13). For example, JC and BK polyomaviruses were quantified at 1.4 × 104 and 1.4 × 104 copies/ml, respectively, in influent samples. Most of the viruses failing detection were far from the detection threshold. Only 13 of 91 viruses below detection were within 10% of their respective detection threshold.

Figure 5.

Figure 5.

Reference-based concentrations of DNA virus pathogens were measured in influent (A) and effluent (B) samples by mapping reads onto representative genomes from clustering virus pathogen genomes in RefSeq and ViPR (see the ‘Materials and methods’ section for specifics). Each point represents the concentration of a virus cluster in a single sample with the status of passing or failing detection thresholds indicated in solid red and empty gray circles, respectively. Concentrations did not account for viral recovery through sample processing; however, we observed 22%–43% recovery of phage T3 through sample processing (Supplementary Table S1). All concentrations are provided in Supplementary Table S13.

Discussion

Spike-in standards facilitate the quantification of microbial targets in metagenomes at accuracies similar to quantitative PCR methods [6–8, 11, 12]. The major advantage of quantitative metagenomics is the ability to simultaneously quantify thousands of targets. Our research aims to enhance the reliability of these methods by rigorously defining their detection and quantification limits, thereby improving data trustworthiness. Specifically, we applied spike-in standards to establish detection thresholds and identify and correct read mapping errors in metagenomes (Fig. 1). Incorporation of a new detection threshold and read mapping error correction improved the relationships between the expected absolute abundances and observed relative abundances of spike-in standards (Figs 2 and 3).

We assessed two methods of quantifying targets: (i) reference-based, by mapping reads to database reference sequences, and (ii) contig-based, by mapping reads to de novo assembled contigs. To assess the detection threshold (i.e. minimum detectable absolute abundance) of these two approaches, we quantified the spike-in standards and a bacteriophage genome that was spiked into samples at low concentrations. For reference-based quantification, the entropy-based detection threshold (Equation 1) corresponded to an absolute abundance of approximately 500 copies/μl for the different targets. With contig-based quantification, the absolute abundance necessary to assemble a target was higher than that needed to exceed the entropy detection thresholds. Results from marine phage HM1 contigs and standards’ contigs suggest that the detection limit of our contig-based quantification was approximately 1000 copies/μl. The minimum absolute abundances detectable with our approach will differ widely between studies and will depend on sequencing depth and sample complexity. Lower quantification thresholds are expected with lower community complexity and increased sequencing depth. Community complexity can be reduced with target enrichment steps, such as the virus enrichment performed on our wastewater samples to increase the virus-to-cellular genome ratio [23]. The detection thresholds in our wastewater samples were approximately 100-fold lower than those previously reported in manure metagenomes [12], despite the previous study having less stringent thresholds (e.g. one read mapped required for detection). That study had four- to five-fold lower sequencing effort and more complex communities than our enriched wastewater viral communities. We note that our detection thresholds are higher than those of quantitative PCR methods, such as qPCR or ddPCR, which can be <10 copies/μl [54]. Quantitative PCR therefore remains a more appropriate method for quantifying low abundance targets. As sequencing costs continue to decline, however, greater sequencing efforts and lower sequencing error rates will result in lower detection thresholds for metagenomics.

Our reference-based quantification involved mapping reads to database sequences representing previously sampled and sequenced population variants archived in a public sequence database. To quantify crAss-like phages using this approach, reads must closely match crAss-like phage genomes in RefSeq. In contrast, the contig-based quantification method maps reads to de novo contigs generated from population variants present in a sample. This method captures population variants that may be absent from databases, which could otherwise be missed in the reference-based method. Future applications of QuantMeta can incorporate varying levels of population variation when selecting references—such as contigs, metagenome-assembled genomes, or sequences from databases like genomes or genes—to quantify targets. The choice of population variation depends on the specific goals of the study. For example, to quantify the concentration of a strain-level variant, reads would need to be mapped to a specific reference genome or to populations defined with minimal genome variation. Alternatively, quantifying a broader target group, such as all crAss-like phages, would involve using a reference population that accounts for greater population-level variation.

One of the most powerful applications of this approach on our samples was the ability to quantify total viruses in a sample. This has not been possible with quantitative metagenomic methods that rely on normalizing by viral counts or qPCR quantification. We addressed this challenge by incorporating single and double-stranded DNA spike-in synthetic standards in wastewater metagenomes that were highly purified for viruses. The measured total DNA virus concentrations in wastewater influent and effluent samples ranged 5 × 108 to 2 × 109 copies/ml, with effluent samples containing slightly more DNA viruses than influent samples. Previous studies using epifluorescent microscopy or flow cytometry to measure virus-like particle (VLP) concentrations in influent and effluent have reported similar or slightly lower concentrations, ranging from 1.0 × 108–7.1 × 108 VLP/ml and 1.0 × 108–4.0 × 108 VLP/ml in influent and effluent, respectively [55–57]. These similarities in total virus concentrations across a variety of methods lends confidence to the reliability of the QuantMeta approach. The slight differences in total virus concentrations may be due to the reliance of epifluorescent microscopy and flow cytometry on intercalating dyes, which may underestimate counts of viruses with smaller genomes, including ssDNA viruses [58]. Alternatively, the accuracy of the quantitative metagenomics approach depends on our ability to distinguish viral sequences from cellular genomes in silico. Therefore, the accuracy of this approach will continue to improve as our ability to identify viral sequences in metagenomic datasets improves [1].

The QuantMeta method allows for the simultaneous quantification of numerous viruses without introducing biases from PCR primers, which is particularly valuable for detecting human viruses in environmental samples such as municipal wastewater. In our study, we measured mean crAss-like phage concentrations of 6.5 × 106 copies/ml in influent samples and 1.8 × 105 copies/ml in effluent samples. By comparison, previous studies reported crAss-like phage marker gene concentrations ranging from 6.9 × 101 to 1.1 × 109 copies/ml in influent samples and 5.6 × 102 to 1.0 × 106 copies/ml in effluent samples [59–65]. We hypothesized that the higher concentrations in our study were due to the limitations of the commonly used CPQ056 primer set, which was designed in 2017 based on just one of the now 129 available crAss-like phage genomes. This primer set may not capture the full genomic diversity of the crAss-like phage population in our samples. When we limited the in silico quantification of crAss-like phage to those detected by the CPQ056 primer set, the average crAss-like phage concentrations dropped by 81% for reference-based quantification and 42% for contig-based quantification (P-values = .012 and .072, respectively). This highlights a key advantage of quantitative metagenomics over qPCR or ddPCR: it avoids primer bias, which can miss portions of the target population. These findings are consistent with similar observations made when using quantitative metagenomics to quantify antibiotic resistance genes in agricultural systems [12].

When we measured DNA virus pathogen concentrations, reads mapped onto adenoviruses, herpesviruses, bocaviruses, papillomaviruses, and polyomaviruses (Fig. 5). However, only a few pathogens achieved our detection thresholds: polyomaviruses, papillomaviruses, and bocavirus. Our quantitative metagenomics-based measurements of JC and BK polyomavirus concentrations (6.8 × 103–2.1 × 104 copies/ml) align with previously reported ranges for influent samples (8.9 × 100–2.0 × 105 copies/ml) [59–62, 66]. The wastewater concentration corresponding to our detection threshold (approximately 500 copies/μl of DNA extract) was relatively high compared to the concentrations of many pathogens in wastewater. Consequently, this quantitative metagenomics approach is not currently sensitive enough for wastewater-based epidemiology efforts that rely on sensitive detection thresholds (<100 copies/ml). Additional sequencing effort would be necessary to confidently determine the presence and quantify other virus pathogens in the wastewater samples despite sequencing approximately 200 million reads per sample. The high detection thresholds of quantitative metagenomics relative to quantitative PCR methods impedes implementing the method to monitor pathogens in environmental matrices.

The QuantMeta method enables confident detection and precise quantification of populations in DNA extracts, offering significant utility for metagenomic studies. Our quantitative metagenomic approach is freely available as QuantMeta (github.com/klangenf/QuantMeta), with R notebooks that allow users to customize detection thresholds, read depth variability regressions, and thresholds to suit their specific applications. Users can apply more or less stringent entropy detection thresholds based on their own coverage and read distribution requirements. For example, [44] provided parameters specifically for bacterial population detection, while KrakenUniq [67] offers an alternative k-mer based approach for reference-based detection. Technical variability can be further assessed with standards and replicates, as demonstrated in the DIVERS approach [68].

This approach has some limitations, particularly concerning sequencing depth, library preparation, and viral enrichment methods. For instance, the observed minimum absolute abundances, read depth variability regressions, and detection thresholds reported here may be specific to our sequencing setup—using Illumina NovaSeq SP flow cells with 251-bp paired-end reads and no amplification during library preparation. QuantMeta was designed for shotgun sequencing applications and is not suitable for amplicon sequencing. Our reported concentrations in the original wastewater samples are based on fold-changes through viral enrichment and nucleic acid extraction steps and do not account for the expected differential recovery of populations during processing [23]. Prior research has addressed differential recovery by adding whole cells from various domains prior to sequencing [69]. Although we included ssDNA standards, our linear regression model (Fig. 2B) did not incorporate DNA structure, which may influence abundances. Despite these limitations, QuantMeta offers a robust and flexible tool for quantitative metagenomics, enabling more accurate assessments of microbial populations across diverse sample types.

Supplementary Material

gkaf118_Supplemental_Files

Acknowledgements

We thank Jacob Evans for improving the efficiency of the script listing the average GC content and read depths of 49-bp sliding windows and Eric Bastian for providing the viral RefSeq database divided into open reading frames. We thank the lead investigator of the NSF PIRE award, Peter Vikesland, for his leadership of the research study.

Author contributions: Kathryn Langenfeld (Conceptualization, Data curation, Formal analysis, Funding acquisition, Investigation, Methodology, Software,  Validation, Visualization, Writing—original draft), Bridget Hegarty (Conceptualization, Methodology, Validation, Writing—review & editing), Santiago Vidaurri (Formal analysis, Methodology, Software), Emily Crossette (Conceptualization, Writing—review & editing), Melissa Duhaime (Conceptualization, Funding acquisition, Methodology, Project administration, Resources, Supervision, Writing—review & editing), Krista Wigginton (Conceptualization, Funding acquisition, Methodology, Project administration, Resources, Supervision, Writing—review & editing)

Contributor Information

Kathryn Langenfeld, Department of Civil and Environmental Engineering, University of Michigan, Ann Arbor, MI 48109, United States.

Bridget Hegarty, Department of Civil and Environmental Engineering, Case Western Reserve University, Cleveland, OH 44106, United States.

Santiago Vidaurri, Department of Civil and Environmental Engineering, University of Michigan, Ann Arbor, MI 48109, United States.

Emily Crossette, Department of Civil and Environmental Engineering, University of Michigan, Ann Arbor, MI 48109, United States.

Melissa B Duhaime, Department of Ecology and Evolutionary Biology, University of Michigan, Ann Arbor, MI 48109, United States.

Krista R Wigginton, Department of Civil and Environmental Engineering, University of Michigan, Ann Arbor, MI 48109, United States.

Supplementary data

Supplementary data is available at NAR online.

Conflict of interest

None declared.

Funding

This research was financially supported by NSF PIRE [1 545 756 to K.R.W. and M.B.D.] and partially supported by a University of Michigan Integrated Training in Microbial Systems (ITiMS) Mini-Grant to K.L., University of Michigan research funding to M.B.D., and a University of Michigan Rackham graduate student research grant to K.L. K.L. and E.C. were funded by NSF GRFPs and ITiMS fellowships. The ITiMS program at the University of Michigan is supported by the Burroughs Wellcome Fund.

Data availability

All sequencing data are available in the NCBI BioProject database under the accession PRJNA853368. All relevant code is compiled as QuantMeta and available on Github at github.com/klangenf/QuantMeta, and on Zenodo at https://doi.org/10.5281/zenodo.14805418. Code generated for analyzing our wastewater viromes is available at github.com/klangenf/QuantMeta_Analysis.

References

  • 1. Tas  N, de Jong  AE, Li  Y  et al.  Metagenomic tools in microbial ecology research. Curr Opin Biotechnol. 2021; 67:184–91. 10.1016/j.copbio.2021.01.019. [DOI] [PubMed] [Google Scholar]
  • 2. Yang  Y, Jiang  X, Chai  B  et al.  ARGs-OAP: online analysis pipeline for antibiotic resistance genes detection from metagenomic data using an integrated structured ARG-database. Bioinformatics. 2016; 32:2346–51. 10.1093/bioinformatics/btw136. [DOI] [PubMed] [Google Scholar]
  • 3. Vandeputte  D, Kathagen  G, D’Hoe  K  et al.  Quantitative microbiome profiling links gut community variation to microbial load. Nature. 2017; 551:507–11. 10.1038/nature24460. [DOI] [PubMed] [Google Scholar]
  • 4. Jian  C, Luukkonen  P, Yki-Jarvinen  H  et al.  Quantitative PCR provides a simple and accessible method for quantitative microbiota profiling. PLoS One. 2020; 15:e0227285. 10.1371/journal.pone.0227285. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5. Majeed  HJ, Riquelme  MV, Davis  BC  et al.  Evaluation of metagenomic-enabled antibiotic resistance surveillance at a conventional wastewater treatment plant. Front Microbiol. 2021; 12:657954. 10.3389/fmicb.2021.657954. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6. Hardwick  SA, Chen  WY, Wong  T  et al.  Synthetic microbe communities provide internal reference standards for metagenome sequencing and analysis. Nat Commun. 2018; 9:3096. 10.1038/s41467-018-05555-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7. Santini  NS, Lovelock  CE, Hua  Q  et al.  Natural and regenerated saltmarshes exhibit similar soil and belowground organic carbon stocks, root production and soil respiration. Ecosystems. 2019; 22:1803–22. 10.1007/s10021-019-00373-x. [DOI] [Google Scholar]
  • 8. Reis  ALM, Deveson  IW, Wong  T  et al.  A universal and independent synthetic DNA ladder for the quantitative measurement of genomic features. Nat Commun. 2020; 11:3609. 10.1038/s41467-020-17445-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9. Shen  J, McFarland  A, Blaustein  R  et al.  An improved workflow for accurate and robust healthcare environmental surveillance using metagenomics. Microbiome. 2022; 10:206. 10.1186/s40168-022-01412-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10. Yang  Y, Che  Y, Liu  L  et al.  Rapid absolute quantification of pathogens and ARGs by nanopore sequencing. Sci Total Environ. 2022; 809:152190. 10.1016/j.scitotenv.2021.152190. [DOI] [PubMed] [Google Scholar]
  • 11. Li  B, Li  X, Yan  T  A quantitative metagenomic sequencing approach for high-throughput gene quantification and demonstration with antibiotic resistance genes. Appl Environ Microb. 2021; 87:e0087121. 10.1128/AEM.00871-21. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12. Crossette  E, Gumm  J, Langenfeld  K  et al.  Metagenomic quantification of genes with internal standards. mBio. 2021; 12:e03173-20. 10.1128/mbio.03173-20. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13. Satinsky  BM, Gifford  SM, Crump  BC  et al.  Use of internal standards for quantitative metatranscriptome and metagenome analysis. Methods Enzymol. 2013; 531:237–50. 10.1016/B978-0-12-407863-5.00012-5. [DOI] [PubMed] [Google Scholar]
  • 14. Stammler  F, Glasner  J, Hiergeist  A  et al.  Adjusting microbiome profiles for differences in microbial load by spike-in bacteria. Microbiome. 2016; 4:28. 10.1186/s40168-016-0175-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15. Lin  Y, Gifford  S, Ducklow  H  et al.  Towards quantitative microbiome community profiling using internal standards. Appl Environ Microb. 2019; 85:e02634-18. 10.1128/AEM.02634-18. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16. Mercer  TR  Sequins built for metagenomics. 2020; 2022:Garvan Institute of Medical Researchwww.sequinstandards.com/metagenome/. [Google Scholar]
  • 17. Weinroth  MD, Thomas  KM, Doster  E  et al.  Resistomes and microbiome of meat trimmings and colon content from culled cows raised in conventional and organic production systems. Anim Microbiome. 2022; 4:21. 10.1186/s42523-022-00166-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18. Armbruster  D, Pry  T  Limit of blank, limit of detection and limit of quantitation. Clin Biochem Rev. 2008; 29:S49–52. [PMC free article] [PubMed] [Google Scholar]
  • 19. Forootan  A, Sjoback  R, Bjorkman  J  et al.  Methods to determine limit of detection and limit of quantification in quantitative real-time PCR (qPCR). Biomol Detect Quantif. 2017; 12:1–6. 10.1016/j.bdq.2017.04.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20. Shen  J, McFarland  AG, Young  VB  et al.  Toward accurate and robust environmental surveillance using metagenomics. Front Genet. 2021; 12:600111. 10.3389/fgene.2021.600111. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21. Zhou  Z, Luhmann  N, Alikhan  N-F  et al.  Accurate reconstruction of microbial strains using representative reference genomes. Research in Computational Molecular Biology: 22nd Annual International Conference. 2018; 225–40. 10.1007/978-3-319-89929-9_15. [DOI] [Google Scholar]
  • 22. Hsieh  PH, Oyang  YJ, Chen  CY  Effect of de novo transcriptome assembly on transcript quantification. Sci Rep. 2019; 9:8304. 10.1038/s41598-019-44499-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23. Langenfeld  K, Chin  K, Roy  A  et al.  Comparison of ultrafiltration and iron chloride flocculation in the preparation of aquatic viromes from contrasting sample types. PeerJ. 2021; 9:e11111. 10.7717/peerj.11111. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24. Lievens  A, Jacchia  S, Kagkli  D  et al.  Measuring digital PCR quality: performance parameters and their optimization. PLoS One. 2016; 11:e0153317. 10.1371/journal.pone.0153317. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25. Warwick-Dugdale  J, Solonenko  N, Moore  K  et al.  Long-read viral metagenomics captures abundant and microdiverse viral populations and their niche-defining genomic islands. PeerJ. 2019; 7:e6800. 10.7717/peerj.6800. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26. Giordano  F, Aigrain  L, Quail  MA  et al.  De novo yeast genome assemblies from MinION, PacBio and MiSeq platforms. Sci Rep. 2017; 7:3935. 10.1038/s41598-017-03996-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27. Brown  BL, Watson  M, Minot  SS  et al.  MinION nanopore sequencing of environmental metagenomes: a synthetic approach. Gigascience. 2017; 6:1–10. 10.1093/gigascience/gix007. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28. Meslier  V, Quinquis  B, Da  Silva K  et al.  Benchmarking second and third-generation sequencing platforms for microbial metagenomics. Sci Data. 2022; 9:694. 10.1038/s41597-022-01762-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29. Roux  S, Enault  F, Hurwitz  BL  et al.  VirSorter: mining viral signal from microbial genomic data. PeerJ. 2015; 3:e985. 10.7717/peerj.985. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30. Guo  J, Bolduc  B, Zayed  AA  et al.  VirSorter2: a multi-classifier, expert-guided approach to detect diverse DNA and RNA viruses. Microbiome. 2021; 9:37. 10.1186/s40168-020-00990-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31. Kieft  K, Zhou  Z, Anantharaman  K  VIBRANT: automated recovery, annotation and curation of microbial viruses, and evaluation of viral community function from genomic sequences. Microbiome. 2020; 8:90. 10.1186/s40168-020-00867-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32. Ren  J, Song  K, Deng  C  et al.  Identifying viruses from metagenomic data using deep learning. Quant Biol. 2020; 8:64–77. 10.1007/s40484-019-0187-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33. Menzel  P, Ng  KL, Krogh  A  Fast and sensitive taxonomic classification for metagenomics with Kaiju. Nat Commun. 2016; 7:11257. 10.1038/ncomms11257. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34. Nayfach  S, Camargo  AP, Schulz  F  et al.  CheckV assesses the quality and completeness of metagenome-assembled viral genomes. Nat Biotechnol. 2021; 39:578–85. 10.1038/s41587-020-00774-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35. Hegarty  B, Riddell  J, Bastien  E  et al.  Benchmarking informatics approaches for virus discovery: caution is needed when combining in silico identification methods. mSystems. 2024; 9:e01105–23. 10.1128/msystems.01105-23. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36. Kieft  K, Adams  A, Salamzade  R  et al.  vRhyme enables binning of viral genomes from metagenomes. Nucleic Acids Res. 2022; 50:e83. 10.1093/nar/gkac341. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37. Kuhl  MA, Stich  B, Ries  DC  Mutation-simulator: fine-grained simulation of random mutations in any genome. Bioinformatics. 2021; 37:568–9. 10.1093/bioinformatics/btaa716. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38. Pickett  BE, Sadat  EL, Zhang  Y  et al.  ViPR: an open bioinformatics database and analysis resource for virology research. Nucleic Acids Res. 2012; 40:D593–8. 10.1093/nar/gkr859. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39. Borchardt  MA, Boehm  AB, Salit  M  et al.  The Environmental Microbiology Minimum information (EMMI) Guidelines: qPCR and dPCR quality and reporting for environmental microbiology. Environ Sci Technol. 2021; 55:10210–23. 10.1021/acs.est.1c01767. [DOI] [PubMed] [Google Scholar]
  • 40. Peet  R  The measurement of species diversity. Annu Rev Ecol Syst. 1974; 5:285–307. 10.1146/annurev.es.05.110174.001441. [DOI] [Google Scholar]
  • 41. Boyle  TP, Smillie  GM, Anderson  JC  et al.  A sensitivity analysis of nine diversity and seven similarity indices. Res J Water Pollution Control Federation. 1990; 62:749–62. [Google Scholar]
  • 42. Tithi  SS, Aylward  FO, Jensen  RV  et al.  FastViromeExplorer: a pipeline for virus and phage identification and abundance profiling in metagenomics data. PeerJ. 2018; 6:e4227. 10.7717/peerj.4227. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43. Roux  S, Solonenko  NE, Dang  VT  et al.  Towards quantitative viromics for both double-stranded and single-stranded DNA viruses. PeerJ. 2016; 4:e2777. 10.7717/peerj.2777. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44. Castro  JC, Rodriguez  RL, Harvey  WT  et al.  imGLAD: accurate detection and quantification of target organisms in metagenomes. PeerJ. 2018; 6:e5882. 10.7717/peerj.5882. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45. Shannon  C  The mathematical theory of communication. The Bell System Technical Journal. 1948; 27:379–423.https://doi.org/10.1002/j.1538-7305.1948.tb01338.x. [Google Scholar]
  • 46. Ludwig  J, Reynolds  J  Statistical Ecology: A Primer in Methods and Computing. 1988; Hoboken, NJ, USA: John Wiley & Sons. [Google Scholar]
  • 47. Ekblom  R, Smeds  L, Ellegren  H  Patterns of sequencing coverage bias revealed by ultra-deep sequencing of vertebrate mitochondria. BMC Genomics. 2014; 15:467. 10.1186/1471-2164-15-467. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48. Browne  PD, Nielsen  TK, Kot  W  et al.  GC bias affects genomic and metagenomic reconstructions, underrepresenting GC-poor organisms. Gigascience. 2020; 9:giaa008. 10.1093/gigascience/giaa008. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49. Commichaux  S, Shah  N, Ghurye  J  et al.  A critical assessment of gene catalogs for metagenomic analysis. Bioinformatics. 2021; 37:2848–57. 10.1093/bioinformatics/btab216. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50. Zeng  W, Mao  P, Hong  Y  et al.  Complete genome sequence of the Salmonella enterica serovar paratyphi A bacteriophage LSPA1 isolated in China. Genome Announc. 2015; 3:e01011-14. 10.1128/genomeA.01011-14. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51. Shkoporov  AN, Khokhlova  EV, Fitzgerald  CB  et al.  PhiCrAss001 represents the most abundant bacteriophage family in the human gut and infects Bacteroides intestinalis. Nat Commun. 2018; 9:4781. 10.1038/s41467-018-07225-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52. Koonin  EV, Yutin  N  The crAss-like Phage Group: how metagenomics reshaped the human virome. Trends Microbiol. 2020; 28:349–59. 10.1016/j.tim.2020.01.010. [DOI] [PubMed] [Google Scholar]
  • 53. Stachler  E, Kelty  C, Sivaganesan  M  et al.  Quantitative CrAssphage PCR assays for human fecal pollution measurement. Environ Sci Technol. 2017; 51:9146–54. 10.1021/acs.est.7b02703. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 54. Wang  Y, Zheng  G, Wang  D  et al.  Occurrence of bacterial and viral fecal markers in municipal sewage sludge and their removal during sludge conditioning processes. J Environ Manage. 2022; 310:114802. 10.1016/j.jenvman.2022.114802. [DOI] [PubMed] [Google Scholar]
  • 55. Ma  L, Mao  G, Liu  J  et al.  Rapid quantification of bacteria and viruses in influent, settled water, activated sludge and effluent from a wastewater treatment plant using flow cytometry. Water Sci Technol. 2013; 68:1763–9. 10.2166/wst.2013.426. [DOI] [PubMed] [Google Scholar]
  • 56. Rosario  K, Nilsson  C, Lim  YW  et al.  Metagenomic analysis of viruses in reclaimed water. Environ Microbiol. 2009; 11:2806–20. 10.1111/j.1462-2920.2009.01964.x. [DOI] [PubMed] [Google Scholar]
  • 57. Wu  Q, Liu  WT  Determination of virus abundance, diversity and distribution in a municipal wastewater treatment plant. Water Res. 2009; 43:1101–9. 10.1016/j.watres.2008.11.039. [DOI] [PubMed] [Google Scholar]
  • 58. Kaletta  J, Pickl  C, Griebler  C  et al.  A rigorous assessment and comparison of enumeration methods for environmental viruses. Sci Rep. 2020; 10:18625. 10.1038/s41598-020-75490-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 59. Tandukar  S, Sherchan  SP, Haramoto  E  Applicability of crAssphage, pepper mild mottle virus, and tobacco mosaic virus as indicators of reduction of enteric viruses during wastewater treatment. Sci Rep. 2020; 10:3616. 10.1038/s41598-020-60547-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 60. Malla  B, Ghaju  Shrestha R, Tandukar  S  et al.  Performance evaluation of human-specific viral markers and application of pepper mild mottle virus and CrAssphage to environmental water samples as fecal pollution markers in the Kathmandu Valley, Nepal. Food Environ Virol. 2019; 11:274–87. 10.1007/s12560-019-09389-x. [DOI] [PubMed] [Google Scholar]
  • 61. Crank  K, Li  X, North  D  et al.  CrAssphage abundance and correlation with molecular viral markers in Italian wastewater. Water Res. 2020; 184:116161. 10.1016/j.watres.2020.116161. [DOI] [PubMed] [Google Scholar]
  • 62. Wu  Z, Greaves  J, Arp  L  et al.  Comparative fate of CrAssphage with culturable and molecular fecal pollution indicators during activated sludge wastewater treatment. Environ Int. 2020; 136:105452. 10.1016/j.envint.2019.105452. [DOI] [PubMed] [Google Scholar]
  • 63. Ahmed  W, Lobos  A, Senkbeil  J  et al.  Evaluation of the novel crAssphage marker for sewage pollution tracking in storm drain outfalls in Tampa, Florida. Water Res. 2018; 131:142–50. 10.1016/j.watres.2017.12.011. [DOI] [PubMed] [Google Scholar]
  • 64. Ahmed  W, Payyappat  S, Cassidy  M  et al.  Novel crAssphage marker genes ascertain sewage pollution in a recreational lake receiving urban stormwater runoff. Water Res. 2018; 145:769–78. 10.1016/j.watres.2018.08.049. [DOI] [PubMed] [Google Scholar]
  • 65. Garcia-Aljaro  C, Balleste  E, Muniesa  M  et al.  Determination of crAssphage in water samples and applicability for tracking human faecal pollution. Microb Biotechnol. 2017; 10:1775–80. 10.1111/1751-7915.12841. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 66. McQuaig  SM, Scott  TM, Lukasik  JO  et al.  Quantification of human polyomaviruses JC Virus and BK Virus by TaqMan quantitative PCR and comparison to other water quality indicators in water and fecal samples. Appl Environ Microb. 2009; 75:3379–88. 10.1128/AEM.02302-08. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 67. Breitwieser  FP, Baker  DN, Salzberg  SL  KrakenUniq: confident and fast metagenomics classification using unique k-mer counts. Genome Biol. 2018; 19:198. 10.1186/s13059-018-1568-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 68. Ji  BW, Sheth  RU, Dixit  PD  et al.  Quantifying spatiotemporal variability and noise in absolute microbiota abundances using replicate sampling. Nat Methods. 2019; 16:731–6. 10.1038/s41592-019-0467-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 69. Rao  C, Coyte  KZ, Bainter  W  et al.  Multi-kingdom ecological drivers of microbiota assembly in preterm infants. Nature. 2021; 591:633–8. 10.1038/s41586-021-03241-8. [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

gkaf118_Supplemental_Files

Data Availability Statement

All sequencing data are available in the NCBI BioProject database under the accession PRJNA853368. All relevant code is compiled as QuantMeta and available on Github at github.com/klangenf/QuantMeta, and on Zenodo at https://doi.org/10.5281/zenodo.14805418. Code generated for analyzing our wastewater viromes is available at github.com/klangenf/QuantMeta_Analysis.


Articles from Nucleic Acids Research are provided here courtesy of Oxford University Press

RESOURCES