SECTION 1
Historical Context & Motivation
For most of human history, DNA was invisible and mysterious. Scientists knew that traits were inherited from parents to children, but they had no way to read the actual code hidden inside cells. The breakthrough came when researchers figured out how to sequence DNA — that is, to determine the exact order of the chemical letters (A, T, C, and G) that make up our genetic instructions. Once scientists could read DNA, they needed tools and formats to organize, display, and interpret the massive amounts of data that sequencing produces.
1977 • Sanger Sequencing Invented
2003 • Human Genome Project Completed
2005 • Next-Generation Sequencing Arrives
2010s • Variant Calling Becomes Standard
2020s • Affordable Personal Genomics
Today, sequencing machines produce enormous files filled with letters and numbers. The central question this lesson addresses is: How do we read and make sense of sequencing and variant call outputs? Understanding these data formats is the first step toward using genetics to solve real-world problems in medicine, agriculture, and forensics.
SECTION 2
Core Principles & Definitions
Before diving into data outputs, you need to understand a few foundational ideas. Sequencing data is built on a simple concept: your DNA is a long string of four chemical bases — adenine (A), thymine (T), cytosine (C), and guanine (G). A sequencing machine reads these bases and records them in order. But no machine reads the entire genome in one pass. Instead, the DNA is broken into short overlapping fragments called reads. Software then lines these reads up against a reference genome, like fitting puzzle pieces onto a picture on the box.
Read
Reference Genome
Alignment
Variant
Quality Score
KEY TAKEAWAY
SECTION 3
Visual Explanation — From Reads to Variants
The diagram below shows how raw sequencing reads are aligned to a reference genome. Notice that several reads overlap the same region. Where all the reads agree with the reference, the bases are shown in their normal color. Where one or more reads show a different letter, a variant is flagged.
In the diagram above, you can see the power of having multiple reads covering the same region. If only one read showed the T, it might just be a machine error. But because three out of five reads agree on the change, the software calls it a real variant with much higher confidence. This concept — requiring multiple reads to confirm a finding — is called read depth or coverage. More coverage means more confidence.
SECTION 4
How Variant Calling Works — The Pipeline
Sequencing data doesn't arrive ready to interpret. It goes through a series of processing steps, often called a bioinformatics pipeline. Think of it like an assembly line in a factory — raw materials go in one end, and a finished product comes out the other. Each step cleans, organizes, or analyzes the data a little further.
The Four Main Steps
Step 1 — Sequencing & Raw Data: The machine reads millions of short DNA fragments and outputs them in a file format called FASTQ. Each entry in a FASTQ file contains the sequence of bases and a quality score for each base. The quality score is a number that tells you how confident the machine is about each letter it read.
Step 2 — Alignment: Software takes each read and finds where it best fits on the reference genome, like matching puzzle pieces. The output is saved in a BAM file (Binary Alignment Map), which stores each read's position and how well it matched.
Step 3 — Variant Calling: Another program scans through all the aligned reads, compares them to the reference, and identifies positions where the sample differs. The output is stored in a VCF file (Variant Call Format) — a structured table listing every detected variant.
Step 4 — Annotation & Interpretation: Each variant is annotated with information like which gene it falls in, whether it changes a protein, and whether it has been seen before in databases. This is the step where data becomes meaningful biological information.
VARIANT ALLELE FREQUENCY
VAF = Variant Allele Frequency, the percentage of reads that show the alternate base. A VAF near 50% suggests a heterozygous variant (one copy changed). A VAF near 100% suggests a homozygous variant (both copies changed).
QUALITY SCORE (PHRED)
Q = quality score (higher is better). P = probability of an error. For example, Q = 30 means a 1 in 1,000 chance of error (99.9% accuracy). Q = 20 means a 1 in 100 chance (99% accuracy).
SECTION 5
Key File Formats — FASTQ, BAM, and VCF
Understanding sequencing data means knowing the three main file formats you'll encounter. Each format serves a different purpose in the pipeline. The diagram below shows a simplified view of what each file looks like and what information it contains.
| File Format | Full Name | Contains | Typical Size |
|---|---|---|---|
| FASTQ | FASTQ (quality-scored FASTA) | Raw base sequences + quality scores for each base | 50–200 GB per whole genome |
| BAM | Binary Alignment Map | Reads mapped to reference positions with alignment details | 30–100 GB per whole genome |
| VCF | Variant Call Format | List of positions where the sample differs from reference | 50–500 MB (much smaller) |
Comparison of the three primary sequencing file formats
SECTION 6
Worked Example — Reading a VCF Entry
Let's walk through how to read a real variant call from a VCF file. Imagine you are a genetics researcher and you receive the following VCF entry for a patient. Your job is to figure out what it means.
SAMPLE VCF LINE
chr7 117199646 rs113488022 G A 99 PASS DP=85;AF=0.47 GT 0/1Interpreting the VCF Entry Step by Step
- 1
Step 1 — Identify the Location
The first two fields tell us the chromosome and position. This variant is on chromosome 7 at position 117,199,646. Think of this like a street address for the variant — it tells us exactly where on the genome to look.Location: chr7, position 117,199,646 - 2
Step 2 — Check the Variant ID
The third field,rs113488022, is a known variant ID from the dbSNP database. The "rs" prefix means it has been seen and catalogued before. This is a well-studied variant in the CFTR gene, which is linked to cystic fibrosis.Known variant: rs113488022 (in CFTR gene) - 3
Step 3 — Read the Base Change
The fourth and fifth fields show the reference allele (G) and the alternate allele (A). This means the reference genome has a G at this position, but this patient's DNA shows an A instead. This is a single nucleotide polymorphism (SNP).Base change: G → A (SNP) - 4
Step 4 — Evaluate Quality and Depth
The quality score is 99, which is very high — it means the software is extremely confident this variant is real and not a sequencing error. The filter field says PASS, meaning it cleared all quality checks. The info field shows DP=85, meaning 85 reads covered this position, and AF=0.47, meaning about 47% of reads showed the alternate base A.High confidence: Q=99, PASS, 85× coverage, 47% VAF - 5
Step 5 — Determine the Genotype
The last field shows the genotype:0/1. In VCF notation, 0 represents the reference allele and 1 represents the alternate allele. So 0/1 means this patient has one copy of the reference (G) and one copy of the alternate (A). This is a heterozygous variant — consistent with the ~47% VAF we calculated above.Genotype: 0/1 → heterozygous (one G, one A)
KEY TAKEAWAY
SECTION 7
Types of Variants & Their Significance
Not all variants are created equal. Some are harmless differences that make each person unique, while others can cause serious diseases. Understanding the different types of variants and their potential effects is essential for interpreting sequencing data in a meaningful way.
| Variant Type | What It Looks Like | Example | Possible Effect |
|---|---|---|---|
| SNP (Single Nucleotide Polymorphism) | One base is swapped for another | Reference: A → Sample: G | May change a protein, be harmless, or cause disease |
| Insertion | Extra bases are added | Reference: ATG → Sample: ATCG | Can shift the reading frame, often disrupting a protein |
| Deletion | Bases are removed | Reference: ATGC → Sample: ATC | Can shift the reading frame or remove part of a gene |
| Indel | Insertion and deletion combined | Complex rearrangement at one location | Effects depend on size and location |
| Structural Variant | Large-scale rearrangement (>50 bases) | Large deletion, duplication, or inversion | Can remove or duplicate entire genes |
Common variant types found in sequencing data
Impact Categories
Variant Impact Spectrum
KEY TAKEAWAY
SECTION 8
Connection to Advanced Genomic Analysis
The basic interpretation skills you've learned in this lesson are the foundation for much more advanced analyses. As you progress in genetics, you'll encounter larger datasets, more complex variant types, and sophisticated tools for understanding what variants mean for human health and evolution.
| Introductory Concept (This Lesson) | Advanced Application |
|---|---|
| Reading a single VCF entry | Filtering thousands of variants to find disease-causing mutations using population databases like gnomAD |
| Understanding SNPs | Genome-wide association studies (GWAS) that link SNPs to complex traits like height or diabetes risk |
| Quality scores for individual bases | Machine learning algorithms that evaluate variant quality across millions of positions simultaneously |
| Heterozygous vs. homozygous genotypes | Inheritance pattern analysis for genetic counseling (autosomal dominant, recessive, X-linked) |
| Variant allele frequency in one sample | Tumor mutation analysis where mixed populations of normal and cancer cells create complex allele frequencies |
How today's concepts connect to advanced genomic analysis
One exciting frontier is pharmacogenomics — using a patient's sequencing data to choose the best medication and dose. Some variants in drug-processing genes mean that a standard dose could be too strong or too weak for certain patients. By reading VCF data, doctors can personalize treatment plans. Another growing area is prenatal screening, where sequencing tiny amounts of fetal DNA floating in a pregnant person's blood can reveal chromosomal conditions early in pregnancy.
LOOKING AHEAD
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
chr17 7577121 . G GA 45 PASS DP=30;AF=0.50 GT 0/1 Identify: (a) the type of variant, (b) the genotype, (c) the read depth, and (d) one concern you might have about this variant call.Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
Summary
DNA sequencing machines break genomes into millions of short reads and record them with quality scores in FASTQ files. Software then aligns these reads to a reference genome, producing BAM files. A variant caller compares the aligned reads to the reference and outputs a VCF file listing every position where the sample's DNA differs — these differences are called variants. Each VCF entry records the chromosome, position, reference base, alternate base, quality score, and genotype (0/0 for homozygous reference, 0/1 for heterozygous, 1/1 for homozygous alternate).
Key metrics for evaluating variant calls include read depth (DP) — the number of reads covering a position — and variant allele frequency (VAF), the fraction of reads showing the alternate base. Variants range from benign (harmless) to pathogenic (disease-causing), and include types like SNPs, insertions, deletions, and structural variants. These foundational skills in reading sequencing data connect directly to advanced applications in personalized medicine, cancer genomics, and genetic counseling.