• Home
  • Courses

Metagenomics Mini-Course

Curriculum

  • 12 Sections
  • 33 Lessons
  • 10 Minutes
Expand all sectionsCollapse all sections
  • Course Overview
    1
    • 1.1
      The Fascinating Field of Metagenomics
      10 Minutes
  • The Invisible World
    2
    • 2.1
      Welcome to Metagenomics: The Invisible World
      10 mins
    • 2.2
      The World Beyond Our Sight (Video)
      10 Minutes
  • Lab Foundations
    3
    • 3.1
      Metric System, Volume, Weight & Pipetting
      10 mins
    • 3.2
      Mastering the Pipette
      10 Minutes
    • 3.3
      The Value of Meticulous Measurement
      10 Minutes
  • DNA and Genomic DNA
    3
    • 4.1
      DNA & Genomic DNA: The Code Behind the Sample
      10 mins
    • 4.2
      What Is DNA? — Quick Review
      10 Minutes
    • 4.3
      The Code Behind the Sample (Video)
      10 Minutes
  • Site Selection & Field Sampling
    3
    • 5.1
      Learning Outcomes
      10 mins
    • 5.2
      Site Selection: A Walkthrough
      10 mins
    • 5.3
      Field Sampling: Hands-On Practice
      10 mins
  • DNA Extraction from Soil
    3
    • 6.1
      Learning Outcomes
      10 mins
    • 6.2
      DNA Extraction Walkthrough
      10 mins
    • 6.3
      DNA Extraction: Hands-On Practice
      10 mins
  • Quantitation and Nanodrop Analysis
    3
    • 7.1
      Learning Outcomes
      10 mins
    • 7.2
      Nanodrop Quantitation Walkthrough
      10 mins
    • 7.3
      Nanodrop Quantitation: Hands-On Practice
      10 mins
  • PCR: Testing DNA Purity
    3
    • 8.1
      Learning Outcomes
      10 mins
    • 8.2
      PCR Purity Walkthrough
      10 mins
    • 8.3
      PCR Purity: Hands-On Practice
      10 mins
  • Agarose Gel Electrophoresis
    3
    • 9.1
      Learning Outcomes
      10 mins
    • 9.2
      Gel Electrophoresis Walkthrough
      10 mins
    • 9.3
      Gel Electrophoresis: Hands-On Practice
      10 mins
  • Oxford Nanopore Library Prep
    3
    • 10.1
      Learning Outcomes
      10 mins
    • 10.2
      Nanopore Library Prep Walkthrough
      10 mins
    • 10.3
      Nanopore Library Prep: Hands-On Practice
      10 mins
  • Final Quantification
    3
    • 11.1
      Learning Outcomes
      10 mins
    • 11.2
      Final Quantification Walkthrough
      10 mins
    • 11.3
      Final Quantification: Hands-On Practice
      10 mins
  • Bioinformatics
    3
    • 12.1
      Learning Outcomes
      10 mins
    • 12.2
      Bioinformatics Walkthrough
      10 mins
    • 12.3
      Bioinformatics: Hands-On Practice
      10 mins

Learning Outcomes

Metagenomics Mini-Course

Bioinformatics: From Nanopore Reads to Biological Insight

🕐 12 min read
The Big Question

How do raw electrical signals from a sequencing machine transform into meaningful biological insights that can, for example, identify antibiotic resistance?

Welcome to the forefront of genomic analysis! This lesson introduces the critical journey of converting raw data from sequencing technologies, like Oxford Nanopore, into actionable biological knowledge. Understanding this process is fundamental to making sense of the vast genetic information around us.

LEARNING OUTCOMES

By the end of this lesson, you will be able to:

  • Explain what basecalling does.
  • Describe demultiplexing by barcode.
  • Identify FASTQ as a common sequence-read format.
  • Connect analysis tools to organism identification and interpretation.

Consider why a systematic, multi-step process is essential for converting raw data into reliable scientific conclusions.

COURSE READING

BIOINFORMATICS — From Nanopore Reads to Biological Insight

Pipeline Overview (Oxford Nanopore Technology)

1
Basecalling
Convert raw electrical signal to DNA sequence
→
2
Demultiplexing
Sort reads back to their barcoded samples
→
3
Trimming
Remove adapters and barcode sequences
→
4
Quality Control
Filter out low-quality reads (FastQC/MultiQC)
→
5
Alignment / Assembly
Map reads to a reference or build contigs
→
6
Genome Polishing
Correct errors to refine the sequence
→
7
Downstream Analysis
Identify taxa and interpret the community
The Nanopore bioinformatics pipeline turns raw electrical signal into biological insight, one stage at a time.

The journey from raw electrical signals to biological insight is a meticulously orchestrated pipeline. Each step plays a vital role in cleaning, organizing, and interpreting the massive amounts of data generated by sequencing technologies.

1. Basecalling (Guppy)

The first critical step in any sequencing analysis pipeline is Basecalling. This process converts the raw electrical signals detected by the nanopore sequencer into a sequence of nucleotides (A, T, C, G).

Basecalling

The computational process of interpreting raw electrical current fluctuations from a DNA sequencer into a sequence of DNA bases (A, T, C, G).

The output of basecalling is typically in FASTQ format, which includes both the nucleotide sequence and an associated quality score for each base.

Command structure: location_of_guppy_basecaller --num_callers 6 -i input -s output -c config.cfg

Want to go deeper? The FASTQ format explained…

The FASTQ format is a text-based format for storing both a nucleotide sequence and its corresponding quality scores. Each sequence typically consists of four lines:

  1. A sequence identifier (e.g., @M02137:1:000000000-A9W7C:1:1:16035:2029)
  2. The raw sequence letters (e.g., GATTTGGGGTTCAAAGCAGTATCGATCAAATAGTAAATCCATTTGTTCAACTCACAGTTT)
  3. A plus sign (+), optionally followed by the same sequence identifier.
  4. A string of ASCII characters encoding quality scores for each base in the sequence (e.g., !''((((+))%%%++)(%%%%).1-+''))**55CCF>>>>>>CCCCCCC65)

These quality scores are Phred scores, indicating the probability of an incorrect base call. Higher scores mean higher confidence.

Why is it crucial for basecalling software to be highly accurate? What are the implications of errors at this foundational stage?

2. Demultiplexing

When multiple samples are sequenced together in a single run (a process called multiplexing), they are often tagged with unique DNA barcodes. Demultiplexing is the process of sorting these mixed reads back into their original individual samples based on these unique barcode sequences.

Demultiplexing

The computational separation of sequencing reads from a mixed pool into individual samples, based on unique short DNA sequences (barcodes or adapters) added during library preparation.

💡 Did You Know?

Oxford Nanopore Technology (ONT) enables real-time sequencing, meaning data can be analyzed as it’s generated. This offers a significant advantage for rapid diagnostics and field-based research, where quick turnaround times are crucial.

3. Trimming

After demultiplexing, reads often contain remnants of the adapter sequences used in library preparation, or have low-quality bases at their ends. The trimming step removes these unwanted sequences and low-quality regions to ensure that only high-quality, relevant biological sequence data remains for downstream analysis.

❌ Common Misconception

Raw sequencing data is immediately ready for biological interpretation.

✅ The Reality

Raw data requires extensive processing—including basecalling, demultiplexing, and trimming—to remove errors and irrelevant sequences before meaningful analysis can begin.

4. Quality Control (FastQC / MultiQC)

Quality control (QC) is a continuous process, but dedicated QC steps are essential after initial processing. Tools like FastQC and MultiQC are used to thoroughly assess the quality of the cleaned reads. They generate reports on various metrics, including:

  • Read quality scores (overall distribution and per-base scores)
  • Read length distributions
  • GC content
  • Presence of overrepresented sequences or adapter contamination
  • Error rates

This step helps ensure that only high-quality data proceeds to the more complex and computationally intensive analysis stages.

  • Basecalling converts electrical signals to nucleotide sequences.
  • Demultiplexing sorts reads by sample using barcodes.
  • Trimming removes adapter sequences and low-quality regions.
  • Quality control assesses the reliability of sequencing data.
⏱ 5 minutes
Activity: Debugging the Pipeline

Imagine you’ve received a report from the “Quality Control” step, and it indicates a high percentage of reads still contain adapter sequences. What pipeline step might have failed or been insufficient, and what would be your first action?

  1. Identify the likely problematic step prior to QC.
  2. Propose a modification or re-run for that step.
  3. Explain why addressing this issue is critical before proceeding.

5. Alignment / Assembly

Once the reads are clean and of high quality, the next step is to reconstruct the original genomic information. This can be done in two main ways:

  • Reference-based Alignment: Using tools like MiniMap2, reads are mapped against an existing, known reference genome. This is efficient when a closely related reference is available.
  • De novo Assembly: For novel organisms or when no suitable reference genome exists, assemblers like Flye are used to piece together overlapping reads to reconstruct the genome from scratch, without a template.

The choice between reference-based alignment and de novo assembly is often dictated by the research question. Identifying known pathogens might use alignment, while discovering new microbial species requires de novo assembly.

6. Genome Polishing

De novo assembled genomes, while impressive, often contain small errors or gaps. Genome polishing is a refinement step that uses the original sequencing reads to improve the accuracy of the assembled genome. This typically involves using consensus sequences derived from multiple reads to correct individual base errors, leading to a higher-quality and more reliable assembly.

7. Downstream Analysis

With a high-quality, assembled or aligned genome, the real biological insights can begin to emerge. This final stage involves using specialized databases and platforms to extract meaningful information:

  • EPI2ME — Oxford Nanopore’s cloud analysis platform (WIMP workflow): A streamlined platform for pathogen identification, antimicrobial resistance gene detection, and more.
  • CARD — Comprehensive Antibiotic Resistance Database: A curated collection of antibiotic resistance genes and their associated mechanisms.
  • ResFinder 4.1 — Antimicrobial resistance gene finder: A tool that screens genomic data for known antimicrobial resistance genes.
🔗
Connected Concept

The ability to identify antibiotic resistance genes directly from environmental or clinical samples using these pipelines has revolutionized public health and epidemiology.

The systematic transformation of raw electrical signals into interpretable biological insights is the backbone of modern metagenomics, empowering discoveries from novel pathogens to antibiotic resistance.

+50 XP

What is the primary function of the “Basecalling” step in the Oxford Nanopore sequencing pipeline?

Review the “Basecalling (Guppy)” section above to find the answer.

Reflect on the entire bioinformatics pipeline. Which step do you believe is the most crucial for ensuring the reliability of the final biological insights, and why?

0 words Take your time — depth matters more than length
Key Takeaway

The bioinformatics pipeline is a multi-stage process that systematically transforms raw sequencing data into accurate and interpretable biological information, enabling critical discoveries in fields like microbial genomics and public health.

+50 XP

Which file format is commonly used to store both nucleotide sequences and their associated quality scores after basecalling?

Review the “Basecalling (Guppy)” section and the “FASTQ format explained” Deep Dive to find the answer.
SHIFT

The Shift

  • Bioinformatics provides a systematic pipeline for converting raw sequencing data into meaningful biological insights.
  • Each step, from basecalling and demultiplexing to quality control and assembly, is crucial for data accuracy and reliability.
  • Specialized downstream analysis tools and databases are essential for interpreting genomic data, enabling applications like pathogen identification and antibiotic resistance detection.
End of lesson Ready for the next lesson?
Continue to next lesson  →
Final Quantification: Hands-On Practice
Prev
Bioinformatics Walkthrough
Next
YOUR DIGITAL ASSISTANT

Modal title

Main Content