13 — Metagenomics and the microbiome

The other genomes.

+ The questionWhen a sample holds a thousand species, how do we tell whose DNA is whose?

A second genome, carried everywhere

A man weighing 70 kg carries an estimated 38 trillion bacterial cells and about 30 trillion human ones, so his body holds roughly as many bacterial cells as human cells. Sender, Fuchs and Milo of the Weizmann Institute of Science reached those figures in a widely cited 2016 estimate for a reference man aged 20 to 30. They worked organ by organ from published volumes and cell densities, and they placed most of the bacteria in the colon.

Collectively those microbes carry far more genes than the human genome, and they do chemistry the body cannot do alone. They digest fibers, make vitamins and short-chain fatty acids, modify drugs, and train the immune system, and the metabolites of Chapter 10 are partly theirs. So the question "what is this person's molecular state?" includes a question about other organisms' genomes. Metagenomics reads those genomes from a mixed sample without growing each organism in culture, which most of them resist.

Marker-gene sequencing: who is there, cheaply

Every bacterium carries a gene for 16S ribosomal RNA, about 1,500 bases long. Parts of the gene are nearly identical across all bacteria, while nine other parts differ between lineages and are called the hypervariable regions. That structure is ideal for a census: primers that pair with the conserved stretches amplify a hypervariable region from every bacterium in the sample at once, so sequencing the products shows which lineages were present and roughly in what proportions. Fungi are surveyed the same way with a different marker region.

The method is cheap and sensitive, and it has three known limits. It usually resolves organisms only to genus, the level above species, because closely related species share the same marker sequence. Amplification favors some sequences over others. And bacteria carry between one and about fifteen copies of the 16S gene, depending on species, which means a species with many copies looks more abundant than it is unless the analysis corrects for the number of copies.

Shotgun metagenomics: who is there, and what they can do

Shotgun metagenomics skips the amplification of a marker and sequences all the DNA in the sample, as the genome sequencing of Chapter 4 does, but without a single reference genome. Software assigns the reads to species, and often to strains, by matching them against genome databases, and it catalogs the genes directly. The gene catalog shows what the community is equipped to do, including which antibiotic-resistance genes it carries.

The costs are money and interference from the host. Deep shotgun sequencing costs several times more per sample than a marker census, although shallow shotgun sequencing narrows the gap. In clinical samples most of the DNA is often human, so most reads are spent on the host unless the laboratory depletes human DNA first. Sequencing RNA instead of DNA, which is called metatranscriptomics, adds which genes the community is actively using, the same step from genome to transcriptome that Chapter 7 describes.

25 — Two ways to read a community
SAMPLE microbes + host cells 16S AMPLICON one marker gene region, amplified many times who is there, usually to genus Genus A Genus B Genus C Genus D other 0 % 100 % relative abundance (schematic) SHOTGUN microbial DNA host DNA — often the majority in clinical samples all DNA, fragmented who is there (species/strain) + which genes they carry (function) relative abundances sum to 100 %: when one taxon grows, the others appear to shrink even if they did not change
DNAFocal detail
Plate 25 — Amplifying one marker gene shows who is present, cheaply; sequencing everything shows who is there and what they can do, at higher cost and with host DNA in the way. Either way the result is a share, not a count, and shares can mislead.

A share can fall while the count stays the same

Both methods produce relative abundances: each organism's share of the reads. Because the shares must sum to 100 %, a rise in one organism lowers the shares of all the others, even when their numbers have not changed.

Solved example: how the shares change when one species doubles

Species A and species B each make up 50 % of the reads, and each is present at 1 billion cells per gram. Species A then doubles to 2 billion cells per gram while B stays at 1 billion, so the community holds 3 billion cells per gram, of which A is 2 ÷ 3, or 67 %, and B is 1 ÷ 3, or 33 %. B's share has fallen by a third, from 50 % to 33 %, although not one B cell was lost. The same shares of 67 % and 33 % would follow if B had halved to 0.5 billion cells per gram while A stayed at 1 billion, so from shares alone "A increased" and "B decreased" are equally consistent with the data.

The effect is the composition effect that Chapter 7 met in RNA sequencing, where one abundant gene absorbs reads from all the others, and the remedies are similar. A laboratory can add a known quantity of a reference organism or DNA, called a spike-in, to each sample before extraction, so that shares can be converted into absolute amounts. It can measure the total microbial load independently, for example by quantitative PCR or by counting cells. Or its analysts can use statistical methods designed for proportions, which compare ratios between organisms rather than shares.

26 — Shares hide the total load
CELLS PER GRAM · IN THE SAMPLE 0 1 billion 2 billion 3 billion B · 1 billion A · 1 billion BEFORE B · 1 billion A · 2 billion AFTER B unchanged sequenced SHARE OF READS · WHAT SEQUENCING REPORTS 0 % 50 % 100 % B · 50 % A · 50 % BEFORE B · 33 % A · 67 % AFTER B: 50 % → 33 % not one B cell lost Illustrative values from the solved example in Chapter 13. The same 67 % and 33 % follow if B halves to 0.5 billion and A stays at 1 billion.
ReadoutFocal detail
Plate 26 — Sequencing reports each organism's share of the reads, and the shares must sum to 100 percent. When species A doubles, species B's share falls by a third although its cells are unchanged; a spike-in or an independent measure of total load is needed to turn shares back into amounts.

Low biomass and contamination

Laboratory reagents are not sterile at the level of DNA: extraction kits and water carry traces of bacterial DNA. In a stool sample, which is rich in microbes, those traces vanish among the sample's own DNA. Blood, spinal fluid and tissue biopsies are low-biomass samples, with little microbial DNA of their own, and in them the traces can dominate the result. A few published claims of microbes in supposedly sterile sites have been traced to contamination. The defense is procedural. A laboratory processes blank samples alongside real ones through every step, includes a mock community of known composition, and treats any organism that also appears in the blanks with suspicion.

Metagenomics in the clinic

Unbiased sequencing is valuable where the cause of an infection is unknown, because it does not require a hypothesis about which pathogen to test for. In 2024 Benoit and colleagues at the University of California San Francisco reported seven years of results from their laboratory's clinical metagenomic test of cerebrospinal fluid, 4,828 samples tested from June 2016 to April 2023. Five of the paper's 20 authors gave the company Delve Bio as an affiliation. A trade-press report of the study states that the senior author and colleagues co-founded Delve Bio in 2023 and that the company licensed the test's technology from the university.

The San Francisco team compared the test's results with the diagnoses that reviewers reached from the medical charts behind 1,164 of those samples, from 1,053 patients, and in that chart-reviewed subset the test detected 63 % of infections. That figure is the test's sensitivity: the share of true infections that a test detects. Metagenomic sequencing alone identified about one in five of the 220 infections diagnosed in the subset, 48 in all, and every other test run had missed them.

Nanopore sequencing has been tested for speed in research settings: in 2019 Charalampous and colleagues at the University of East Anglia described a nanopore method for bacterial lower respiratory infection that went from sample to result in about six hours. Oxford Nanopore, the sequencer's maker, part-funded the work, and one of the authors was a full-time employee of the company. The team tested the optimized version of the method on 41 respiratory samples and compared its results with culture. Specificity is the companion measure to sensitivity: the share of samples without the target that the test correctly reports as negative. Against culture, the method's sensitivity was 96.6 % and its specificity 41.7 %, and both rose to 100 % once confirmatory tests were applied.

A metagenomic detection needs thresholds and context to become a diagnosis

A read from an organism shows that its DNA was in the tube. That DNA may come from dead organisms, from harmless colonization, from a neighboring body site picked up during sampling, or from reagents. Turning a metagenomic detection into a diagnosis needs thresholds calibrated against controls, knowledge of what is normally present at that site, and clinical judgment.

Another test reads microbial DNA from blood rather than from cerebrospinal fluid or respiratory samples: it sequences the cell-free DNA that microbes shed into the bloodstream, and its maker states that the test can identify more than a thousand pathogens. In May 2024 the maker stated that it offered the test as a laboratory-developed test, one that a single laboratory designs and runs itself (Chapter 25). In the same announcement the maker reported that the US Food and Drug Administration, FDA, had granted the test Breakthrough Device designation for suspected lung infections in immunocompromised patients. The designation covers that one intended use, a purpose that the maker states for the test. Breakthrough Device designation is a status the FDA gives some devices before the agency decides on them, and it is neither a clearance nor an approval, two of the decisions that let a test be sold as a device in the United States (Chapter 25).

In practice

Carry negative controls through every metagenomic run from extraction onward, and include a positive control of known composition. Report the fraction of reads that were host, and the depth that remained for microbes. If a decision depends on how much of an organism is present rather than whether it is present, add a spike-in or an independent load measurement, because relative abundance cannot answer that question. For a diagnostic claim, state the threshold at which a detection is reported, and the controls and the background of the body site against which that threshold was set.

+ What this chapter established
  • Microbial communities are read from mixed DNA without culture, by marker-gene census or by shotgun sequencing.
  • Marker genes show who is present, cheaply, and shotgun sequencing adds species, strains and gene function.
  • Results are shares that sum to 100 %, so a stable organism can appear to fall, and a spike-in or an independent load measurement restores absolute amounts.
  • In low-biomass samples contamination can dominate, so blanks and mock communities are essential.