Shotgun Sequencing and Metagenomic Sequencing in Bioinformatics

  • Shotgun sequencing and metagenomic sequencing are important approaches in modern genomics and bioinformatics for investigating DNA sequences from complex biological samples. These methods allow researchers to analyse large numbers of DNA fragments without requiring prior knowledge of the complete sequence of the organisms being studied. They are widely used in microbial genomics, environmental biology, infectious disease research, human microbiome studies, agriculture, biotechnology, ecology, and evolutionary biology. Their ability to examine genetic material from multiple organisms makes them particularly valuable for studying microbial communities that cannot easily be cultured under laboratory conditions.
  • Shotgun sequencing is a general DNA sequencing strategy in which genomic DNA is randomly fragmented into smaller pieces, and the resulting fragments are sequenced. The term shotgun refers to the random sampling of DNA fragments from across the genome rather than sequencing the genome in a predetermined order. Bioinformatics tools subsequently use the resulting reads to reconstruct genome sequences, identify genetic features, detect variations, or compare sequences with reference databases. Shotgun sequencing can be applied to the genome of a single organism, such as a bacterium, plant, animal, or human, as well as to DNA extracted from a mixture of organisms.
  • Metagenomic sequencing is the study of genetic material recovered directly from an environmental or biological sample containing multiple organisms. Samples may originate from soil, freshwater, seawater, sediments, wastewater, food, animal digestive systems, human body sites, or other environments. A metagenomic sample may contain DNA from bacteria, archaea, fungi, viruses, and other organisms, depending on the sample type and extraction method. Metagenomics makes it possible to investigate microbial diversity, community composition, functional potential, and interactions without isolating and culturing every organism individually.
  • Shotgun metagenomic sequencing is a specific application of shotgun sequencing in which DNA from an entire microbial community is randomly fragmented and sequenced. It is important to distinguish this method from amplicon-based metagenetic approaches, such as 16S ribosomal RNA gene sequencing and fungal internal transcribed spacer (ITS) sequencing. Amplicon sequencing targets selected marker-gene regions using PCR primers, whereas shotgun metagenomic sequencing attempts to sequence DNA fragments from throughout the extracted community DNA. Consequently, shotgun metagenomics can provide information about both microbial identity and the genes present in a community, although the amount and type of information recovered depend on sequencing depth, sample composition, DNA preparation, and analytical methods.
  • The term shotgun sequencing therefore describes a sequencing strategy, while metagenomic sequencing describes the investigation of genetic material from a community of organisms. Shotgun sequencing can be used for a single genome, whereas metagenomic sequencing can use shotgun sequencing or targeted marker-gene approaches. In many current studies, the expression shotgun metagenomic sequencing specifically refers to untargeted sequencing of DNA from a mixed microbial community.
  • The first stage of shotgun and metagenomic sequencing is sample collection. Appropriate sampling is essential because microbial communities can vary substantially across locations, environments, time points, and experimental conditions. Researchers may collect soil, water, faecal material, intestinal contents, tissue, saliva, swabs, or other biological materials. Sample collection procedures should minimize contamination and preserve the original biological composition as much as possible. Environmental conditions, storage temperature, transport time, preservatives, and extraction procedures can influence the quality and composition of recovered DNA.
  • DNA extraction is another critical stage. The extraction method must recover DNA from the organisms present in the sample while minimizing degradation and contamination. Microbial communities can contain organisms with different cell-wall structures and physical properties, making efficient DNA extraction challenging. For example, some Gram-positive bacteria, bacterial spores, fungi, and other organisms may require stronger cell disruption than many Gram-negative bacteria. Mechanical disruption, enzymatic digestion, chemical lysis, and combinations of these methods may be used. Inadequate lysis can result in underrepresentation of particular organisms, while aggressive extraction procedures may damage DNA.
  • After extraction, DNA quality and quantity are assessed. Common measurements include DNA concentration, purity, and fragment integrity. Fluorometric methods can provide estimates of double-stranded DNA concentration, while spectrophotometric measurements can help identify possible protein or chemical contamination. Gel electrophoresis or other fragment-analysis methods can provide information about DNA integrity and fragment size. High-molecular-weight DNA is particularly important for long-read sequencing and metagenomic assembly because longer fragments can improve the reconstruction of genomes and repetitive regions.
  • For short-read shotgun sequencing, extracted DNA is commonly fragmented into smaller pieces using mechanical or enzymatic methods. Library preparation involves end repair, adapter ligation, and sometimes size selection and amplification. Sequencing adapters allow DNA fragments to bind to the sequencing platform and undergo sequencing. Sample-specific index sequences may be incorporated to enable multiplexing, allowing several samples to be processed in a single sequencing run. Unique molecular identifiers (UMIs) may also be included in specialized workflows to distinguish original DNA molecules and help control amplification-related errors.
  • For long-read shotgun sequencing, library preparation is designed to preserve longer DNA molecules. PacBio sequencing uses circularized DNA templates known as SMRTbell libraries, while Oxford Nanopore sequencing uses adapters that enable DNA molecules to pass through nanopores. Long-read sequencing can be particularly useful for reconstructing complete or near-complete microbial genomes, resolving repetitive regions, identifying structural variation, and linking genes to their genomic contexts. However, long-read workflows require suitable DNA quality and may have different sequencing accuracy, throughput, and cost characteristics from short-read methods.
  • The sequencing stage generates large numbers of DNA reads. Short-read platforms such as Illumina produce relatively short sequences, often in paired-end format, while long-read platforms such as Oxford Nanopore and PacBio can produce much longer DNA sequences. Paired-end sequencing reads both ends of a DNA fragment, providing information that can help with genome assembly and read alignment. The resulting data are commonly stored in FASTQ files, which contain nucleotide sequences and corresponding base-quality scores. These scores indicate the estimated confidence of the base-calling process.
  • Sequencing depth is an important factor in shotgun and metagenomic studies. In single-organism genome sequencing, depth is commonly calculated by dividing the total number of sequenced bases by the estimated genome size. In metagenomics, the situation is more complex because DNA from different organisms may be present at very different abundances. A high-abundance organism may receive substantial coverage, while a rare organism may be represented by only a small number of reads. Therefore, the total number of sequenced bases does not guarantee that every organism in a community will be detected or reconstructed adequately.
  • Quality control is performed before downstream analysis to identify sequencing errors, adapter contamination, low-quality bases, unusual GC-content distributions, and other technical problems. FastQC is widely used to inspect FASTQ files, while fastp can perform quality filtering, adapter trimming, and other preprocessing operations. MultiQC combines reports from multiple tools into a consolidated quality-control report. For long-read data, tools such as NanoPlot and NanoStat can summarize read length, quality, and other sequencing characteristics. PacBio data can be assessed using platform-specific tools and reports.
  • An illustrative short-read quality-control workflow is:

# Inspect raw sequencing reads

fastqc sample_R1.fastq.gz sample_R2.fastq.gz

# Perform adapter trimming and quality filtering

fastp \

  -i sample_R1.fastq.gz \

  -I sample_R2.fastq.gz \

  -o sample_R1.trimmed.fastq.gz \

  -O sample_R2.trimmed.fastq.gz \

  –html fastp_report.html \

  –json fastp_report.json

# Summarize quality-control reports

multiqc .

  • The exact preprocessing parameters should be selected according to the sequencing platform, library preparation method, read quality, and research objectives. Excessive trimming can remove useful sequence information, while insufficient filtering can allow low-quality reads to affect downstream analyses.
  • One of the major challenges in metagenomic sequencing is that the sample contains DNA from many organisms. Before analysis, researchers may remove reads originating from the host organism when the study involves human, animal, or plant samples. For example, human-associated microbiome studies may contain substantial amounts of human DNA. Host-read removal can improve the proportion of sequencing data available for microbial analysis and reduce unnecessary processing of host sequences. Tools such as Bowtie2, BWA-MEM2, and minimap2 can be used for host-read alignment, depending on the read type and workflow. However, host-read removal must be performed carefully, particularly when microbial sequences share similarity with host genomic regions.
  • After quality control and optional host-read removal, shotgun metagenomic reads can be analysed using reference-based or assembly-based approaches. Reference-based analysis compares reads directly with existing genome or sequence databases. This approach is useful when researchers want to identify organisms, detect known genes, or estimate the relative representation of known microbial groups. Assembly-based analysis reconstructs longer sequences, known as contigs, from overlapping sequencing reads. These contigs can then be used for gene prediction, taxonomic classification, functional annotation, and genome reconstruction.
  • Taxonomic profiling aims to determine which organisms are represented in a metagenomic sample. It may identify bacteria, archaea, fungi, viruses, or other biological groups, depending on the reference database and analytical method. Tools such as Kraken2 classify reads using sequence information from reference databases, while Bracken estimates taxonomic abundance based on Kraken classification results. MetaPhlAn uses clade-specific marker genes to profile microbial communities. Centrifuge is another classification tool designed for rapid sequence identification using compressed indexes. The performance of these methods depends on database completeness, reference quality, sequence similarity, and the presence of closely related organisms.
  • A simplified example of taxonomic classification using Kraken2 is:

kraken2 \

  –db kraken2_database \

  –paired \

  sample_R1.trimmed.fastq.gz \

  sample_R2.trimmed.fastq.gz \

  –report sample_kraken_report.txt \

  –output sample_kraken_output.txt

  • This example assumes that a suitable Kraken2 database has already been prepared. The resulting report contains taxonomic classification information, while the output file records the classification results for individual reads. Database selection and version should be documented because classification results can change when databases are updated or expanded.
  • Metagenomic assembly is used to reconstruct longer DNA sequences from sequencing reads. Assembly can help identify microbial genomes, genes, plasmids, genomic islands, and other genetic elements. Short-read assemblers such as MEGAHIT and metaSPAdes are widely used for metagenomic data. Long-read assemblers such as metaFlye can be used with suitable long-read datasets, while hybrid approaches combine short and long reads to take advantage of their complementary characteristics. Assembly performance depends on sequencing depth, read length, community complexity, strain diversity, genome abundance, and sequencing errors.
  • A simplified short-read metagenomic assembly command using MEGAHIT is:

megahit \

  -1 sample_R1.trimmed.fastq.gz \

  -2 sample_R2.trimmed.fastq.gz \

  -o megahit_output

  • The resulting contigs can be evaluated using tools such as QUAST, although metagenomic assemblies require interpretation beyond conventional single-genome assembly metrics. Researchers should examine assembly size, contig length distribution, coverage, possible contamination, and the representation of different organisms. Assembly quality can also be affected by closely related strains because reads from different organisms or strains may be incorrectly combined into the same contigs.
  • After assembly, contigs can be grouped into metagenome-assembled genomes (MAGs) through a process known as binning. Binning attempts to assign contigs originating from the same organism to the same genomic group. It uses characteristics such as sequence composition, GC content, k-mer patterns, coverage across samples, and other genomic features. Tools such as MetaBAT2, MaxBin2, and CONCOCT are commonly used for binning. Multiple binning methods can be combined using tools such as DAS Tool to improve the selection of genome bins.
  • The quality of MAGs is commonly assessed by estimating completeness and contamination. CheckM and CheckM2 use marker-gene information to evaluate genome quality, while GUNC can help identify certain forms of genomic contamination and chimerism. GTDB-Tk can be used for taxonomic classification of bacterial and archaeal genomes using the Genome Taxonomy Database framework. MAGs may be classified as high-quality, medium-quality, or low-quality according to defined quality criteria, but these labels should be interpreted in the context of the applicable standards and the completeness of the available evidence. A MAG is a reconstructed genomic representation and should not automatically be treated as a complete, isolated, or experimentally verified genome.
  • Gene prediction and functional annotation are important stages in metagenomic analysis. Once contigs or MAGs have been generated, coding sequences can be identified using tools such as Prodigal, including its metagenomic mode. Predicted genes can then be compared with protein and functional databases to identify likely biological roles. Tools such as DIAMOND support fast sequence similarity searches, while eggNOG-mapper can assign functional annotations using orthology-based information. InterProScan can identify protein domains and families, and databases such as Pfam, KEGG, and the Gene Ontology provide information about protein families, pathways, and biological functions.
  • Functional profiling can also be performed directly from sequencing reads without first assembling the complete community. HUMAnN is widely used to estimate the representation of microbial gene families and metabolic pathways in metagenomic samples. Such analyses can help investigate the functional potential of microbial communities, including pathways involved in carbohydrate metabolism, amino acid metabolism, energy production, nutrient cycling, and other biological processes. However, the presence of a gene or pathway does not necessarily demonstrate that it is actively expressed or that the corresponding biochemical process is occurring. Metatranscriptomics, metaproteomics, and metabolomics can provide complementary evidence about microbial activity and biochemical products.
  • Shotgun metagenomic sequencing is widely used in microbiome research. Human microbiome studies investigate microbial communities in the gastrointestinal tract, oral cavity, skin, respiratory system, and other body sites. Researchers use these data to examine associations between microbial composition, diet, health conditions, immune responses, and environmental exposures. Animal microbiome studies investigate microbial communities in the rumen, intestine, skin, and reproductive tract, with applications in animal nutrition, health, productivity, and disease research. In agriculture, soil and plant-associated microbiomes are studied to understand nutrient cycling, plant growth, soil fertility, and resistance to environmental stress.
  • Environmental metagenomics is another major application. Soil metagenomic studies can identify microorganisms involved in carbon cycling, nitrogen cycling, phosphorus transformations, decomposition, and other ecological processes. Marine and freshwater metagenomics can investigate microbial diversity, aquatic ecosystem functions, and responses to environmental changes. Wastewater metagenomics can be used to monitor microbial populations, investigate antimicrobial resistance genes, and study pathogen-associated sequences. These applications can provide valuable information about ecosystem composition and functional potential, although sampling design and environmental variation must be carefully considered.
  • Metagenomic sequencing is also important in infectious disease research. It can help identify pathogens in samples where the causative organism is unknown or difficult to culture. Unlike targeted PCR tests, which require prior selection of a specific target, untargeted metagenomic sequencing can potentially detect a broad range of microbial genetic material in a sample. It may also identify unexpected pathogens, co-infections, and antimicrobial resistance-associated genes. However, pathogen detection can be complicated by low pathogen abundance, host DNA background, contamination, incomplete reference databases, and the presence of non-pathogenic organisms. Detection of a microbial sequence alone does not establish that the organism is causing disease.
  • Antimicrobial resistance surveillance is another important application. Shotgun metagenomic data can be screened for known antimicrobial resistance genes using specialized databases and tools. ResFinder and CARD are examples of resources used in resistance-gene analysis, while tools such as AMRFinderPlus can identify antimicrobial resistance-associated genes and other relevant markers. The detection of a resistance gene does not necessarily prove that a microorganism is phenotypically resistant to a particular drug. Gene expression, genetic context, organism identity, and experimental susceptibility testing may all be relevant to interpretation.
  • Viral metagenomics, sometimes called viromics, focuses on viral genetic material present in a sample. Viral sequences may be investigated in environmental samples, animal populations, human clinical specimens, and wastewater. Viral metagenomic workflows can include virus-particle enrichment, nucleic acid extraction, sequencing, sequence classification, assembly, and comparison with viral reference databases. However, viral DNA and RNA may require different extraction and library preparation strategies. RNA viruses require reverse transcription or sequencing approaches capable of handling RNA, and some viral sequences may remain difficult to identify because reference databases are incomplete.
  • Shotgun metagenomic sequencing can also be used to investigate microbial diversity and community structure. Alpha diversity measures describe diversity within individual samples, while beta diversity measures compare community composition between samples. Common alpha-diversity measures include observed feature counts, Shannon diversity, and Simpson diversity. Beta-diversity methods include Bray–Curtis dissimilarity and UniFrac distances when suitable phylogenetic information is available. Statistical and visualization tools in R, including vegan and phyloseq, can support community analysis. Researchers should account for differences in sequencing depth, sample characteristics, experimental design, and compositional data properties when interpreting diversity results.
  • An important consideration in metagenomic analysis is the distinction between relative abundance and absolute abundance. Most sequencing-based taxonomic profiles describe the relative proportion of reads assigned to particular organisms or taxa. Because these proportions sum to a fixed total, an increase in the relative abundance of one organism can occur even when its absolute quantity has not increased. Absolute abundance estimation may require additional measurements, such as quantitative PCR, flow cytometry, internal standards, or other quantitative methods. Sequencing read counts should therefore not automatically be interpreted as direct measurements of microbial cell numbers.
  • Shotgun sequencing also has important applications in single-organism genome analysis. In this context, genomic DNA from an isolated organism is randomly fragmented and sequenced, and the reads are used for genome assembly, annotation, and comparative analysis. This approach is widely used for bacterial genome sequencing, pathogen characterization, plant and animal genomics, and evolutionary studies. Unlike metagenomic sequencing, the intended sample may contain DNA from a single organism, although contamination can still occur. The same fundamental shotgun sequencing principle is used, but the biological interpretation and analytical workflow differ from those used for complex microbial communities.
  • Several limitations affect shotgun and metagenomic sequencing. Sequencing depth is a major factor because low-abundance organisms may not receive enough reads for reliable detection or genome reconstruction. DNA extraction bias can underrepresent organisms that are difficult to lyse. Host DNA and environmental contaminants can consume a substantial proportion of sequencing resources. Closely related species and strains can be difficult to distinguish, while incomplete reference databases can lead to unclassified or incorrectly classified reads. Assembly can be complicated by community complexity, strain variation, repeated sequences, and uneven coverage. In addition, sequencing-based measurements are affected by DNA extraction, library preparation, amplification, sequencing technology, and bioinformatics choices.
  • Contamination control is especially important in low-biomass samples, where small amounts of contaminating DNA can represent a substantial proportion of the sequencing data. Contamination may originate from laboratory reagents, extraction kits, sample handling, environmental sources, or cross-sample transfer. Negative extraction controls, library preparation controls, and suitable positive controls can help identify contamination and assess assay performance. Sample randomization, physical separation of laboratory stages, and careful record keeping can further improve reliability. Computational contamination screening may be useful, but it cannot always distinguish genuine low-abundance organisms from contaminants without supporting experimental information.
  • Reproducibility is essential in shotgun and metagenomic sequencing projects. Researchers should record sample collection procedures, DNA extraction methods, library preparation protocols, sequencing platform, read configuration, reference databases, database versions, software versions, and analytical parameters. Original FASTQ files, sample metadata, quality-control reports, assembly files, taxonomic profiles, functional annotations, and analysis scripts should be preserved. Workflow managers such as Snakemake and Nextflow can help organize analysis pipelines, while Docker and Apptainer can support reproducible software environments. Version control systems such as Git can track changes in analysis scripts and configuration files.
  • The choice between amplicon sequencing and shotgun metagenomic sequencing depends on the research question. Amplicon sequencing is often less expensive and suitable for profiling selected marker genes, but it provides limited information about genes outside the amplified regions and may be affected by primer bias. Shotgun metagenomic sequencing generally provides broader information about the DNA present in a sample, including taxonomic and functional information, but it usually requires more sequencing resources, computational capacity, and careful analysis. It can also recover information about viruses and other genetic elements when they are represented in the extracted nucleic acid and adequately covered by the workflow. Neither method is universally superior; the appropriate strategy depends on sample type, biological objectives, budget, and required resolution.
  • In conclusion, shotgun sequencing and metagenomic sequencing are powerful approaches for investigating genomic information from individual organisms and complex biological communities. Shotgun sequencing uses random DNA fragmentation and sequencing, while metagenomic sequencing investigates genetic material obtained directly from samples containing multiple organisms. Shotgun metagenomic sequencing combines these approaches to provide broad information about microbial diversity, genes, metabolic potential, and genome content. Through appropriate sampling, DNA extraction, sequencing, quality control, taxonomic classification, assembly, binning, and functional annotation, these methods support important discoveries in medicine, microbiology, ecology, agriculture, biotechnology, and environmental science. Their reliability depends on careful experimental design, suitable bioinformatics tools, comprehensive reference resources, and cautious interpretation of sequencing results.

Author:

Leave a Reply

Your email address will not be published. Required fields are marked *