Metagenomics

Metagenomics

How sequencing all the DNA in an environmental or clinical sample reveals which microbes are present and what genes they carry, without culturing them.

What it is

Metagenomics studies the collective genetic material of all the organisms in a sample, such as soil, seawater, a gut microbiome, a hospital surface or a patient specimen, by sequencing the DNA directly, without first isolating or growing individual species. Because the vast majority of microbes cannot be cultured in the laboratory, this approach opens up the “microbial dark matter” and describes whole communities and their functional potential.

It answers questions such as: Which bacteria, archaea, viruses and fungi are in this sample, and in what proportions? What are they able to do, which metabolic pathways, antibiotic resistance genes or virulence factors do they carry? How does the gut microbiome differ between healthy and diseased individuals? Which pathogen is causing an infection of unknown origin? Can the genomes of new, uncultured organisms be reconstructed? Metagenomics is used in microbial ecology, human microbiome research, clinical diagnostics, public health surveillance, agriculture, biotechnology and enzyme discovery.

Fundamentals

Amplicon versus shotgun

There are two main strategies. Amplicon sequencing (metabarcoding) uses PCR to amplify a marker gene that is universal but variable, such as the 16S rRNA gene for bacteria and archaea (usually hypervariable regions V3–V4), the ITS region for fungi or 18S rRNA for eukaryotes. It is inexpensive and sensitive for profiling who is there (taxonomy), but it is limited to genus-level resolution, is affected by primer bias and 16S copy-number variation, and gives only indirect functional information. Shotgun metagenomics randomly fragments and sequences all the DNA in the sample, covering all domains of life, viruses and plasmids, and gives strain-level resolution and direct information on gene content, at higher cost and with greater computational demand. Strictly speaking, the term metagenomics is often reserved for the shotgun approach.

Sample handling and DNA extraction

Results begin with sample collection and storage (immediate freezing at −80 °C or use of stabilizing buffers) and DNA extraction. Lysis protocols, such as bead-beating, influence which cells open, since Gram-positive bacteria, spores and fungi are tough, so extraction bias affects community profiles. Host DNA can dominate in clinical samples (often over 90% in tissue or respiratory samples) and may be depleted or filtered. Negative controls (extraction and reagent blanks) and mock communities of known composition detect contamination and bias, which is vital for low-biomass samples.

Sequencing technologies

Short-read Illumina sequencing (2 × 150 bp) provides high accuracy and depth at low cost. Long-read platforms (PacBio HiFi, Oxford Nanopore) produce reads of 5–100 kb or more, which assemble repeats, plasmids and mobile elements more completely and enable full-length 16S sequencing for species-level identification; nanopore sequencing is also portable and provides rapid, real-time pathogen detection in clinical or field settings.

Taxonomic profiling and diversity

For amplicon data, reads are denoised into amplicon sequence variants (ASVs) using DADA2 or Deblur, or clustered into operational taxonomic units, then classified against references (SILVA, Greengenes, UNITE) using QIIME 2 or mothur. For shotgun data, reads are classified by k-mer matching (Kraken2 with Bracken for abundance estimation) or marker-gene approaches (MetaPhlAn). Community structure is described with alpha diversity (within sample; richness, Shannon index H′ = −Σ pi ln pi, where pi is the proportion of species i) and beta diversity (between samples; Bray–Curtis, UniFrac), visualized by ordination (PCoA), and tested with PERMANOVA. Microbiome data are compositional, so relative abundances sum to one and standard statistics can mislead; methods such as ANCOM-BC, ALDEx2 or CLR transformation are recommended.

Assembly, binning and functional analysis

Reads can be assembled into contigs (MEGAHIT, metaSPAdes), and contigs grouped by sequence composition and coverage across samples into metagenome-assembled genomes (MAGs) using binners such as MetaBAT2 or CONCOCT, with quality assessed by CheckM2 (completeness above 90% and contamination below 5% for high-quality MAGs). Genes are predicted (Prodigal) and annotated against databases (KEGG, eggNOG, CAZy, CARD for antibiotic resistance genes) to infer metabolic potential. Read-based functional profiling (HUMAnN) quantifies pathway abundances directly. Viruses and plasmids can be identified with specialized tools (VirSorter2, geNomad). Metagenomics reveals potential, not activity, which is addressed by metatranscriptomics, metaproteomics and metabolomics.

Typical applications and limits

Typical applications include comparing gut microbiomes across cohorts, tracking antibiotic resistance, finding pathogens in culture-negative infections, environmental monitoring and discovering novel enzymes. Limitations are contamination in low-biomass samples, reference database bias (poor classification of unknown organisms), extraction and PCR biases, relative rather than absolute abundance (unless spike-ins or quantitative methods are used), and difficulties in assembling closely related strains. Causal claims require experimental validation.

Basic operation

  1. Design the study. Define groups, replicates and metadata, and include negative controls and mock communities.
  2. Collect and preserve samples. Use sterile technique, and freeze immediately or use preservation buffer.
  3. Extract DNA. Use a validated kit with mechanical lysis, and check yield and quality; deplete host DNA if necessary.
  4. Prepare libraries. For amplicon studies, amplify the marker region with barcoded primers; for shotgun studies, fragment and tag DNA (tagmentation).
  5. Sequence. Run on a platform with the appropriate depth (for example 5–10 Gb per gut sample for shotgun).
  6. Process the data. Quality filter, remove host reads, then profile taxonomy and function or assemble and bin genomes.
  7. Analyze statistically. Compare diversity and abundances across groups with compositional-aware methods.
  8. Collect the output. You obtain taxonomic tables, diversity plots, gene catalogs and MAGs; contamination control and interpretation are covered in the video.

Good practice

  • Include negative and positive controls. Blanks and mock communities are essential, especially for low-biomass work.
  • Standardize collection and extraction. Variations between batches can exceed biological differences.
  • Record metadata thoroughly. Diet, medication, location and time are key covariates.
  • Use compositional statistics. Avoid naive tests on relative abundances.
  • Deposit data. Share raw reads in public repositories (SRA, ENA) with metadata.
  • Follow biosafety and ethics rules. Clinical and environmental samples may contain pathogens, human DNA is subject to consent and privacy rules.

Key terms

  • Microbiome — the community of microorganisms and their genes in a habitat.
  • 16S rRNA gene — a bacterial marker gene used for amplicon-based identification.
  • Shotgun metagenomics — sequencing all DNA in a sample without targeted amplification.
  • Metagenome-assembled genome (MAG) — a genome reconstructed from mixed community data.
  • Alpha / beta diversity — diversity within a sample and difference between samples.
  • ASV — amplicon sequence variant, a denoised unique sequence.
  • Compositional data — data where only relative proportions are meaningful.

Video coming soon

About five minutes on Metagenomics: how it works in detail, how the data is acquired, and how it is analyzed.

Shopping cart

0
image/svg+xml

No products in the cart.

Continue Shopping