Genomic analysis turns measurements into evidence through several distinct steps. This introduction follows a typical workflow for identifying DNA variants using a reference genome. Allow about 35–45 minutes. You can complete every example on this page without installing software or supplying any data.
From a sample to an interpretation
The details depend on the question, sample and sequencing technology. Whole-genome, exome and targeted-panel experiments examine different portions of DNA; RNA sequencing asks different questions again. This outline is a useful starting point, rather than a universal recipe.
- Sample and library: obtain suitable DNA and prepare it for sequencing, recording the sample identity and preparation method.
- Reads: the instrument measures signals; base calling converts these into sequences with estimates of uncertainty.
- Quality control: examine read quality, contamination, adapters and consistency between samples.
- Alignment: find plausible locations for reads within a reference assembly.
- Variant calling: evaluate the evidence for differences from that reference and, where appropriate, infer genotypes.
- Annotation: add information such as affected transcripts, predicted consequences and database observations.
- Interpretation: assess what the evidence means for the research question or clinical context.
Quality assessment continues throughout the workflow. An error in sample identity cannot be corrected simply by applying a sophisticated variant caller. NHS Genomics Education: short-read sequencing.
Recognising the main file types
| Format | What it holds | Question it helps answer |
|---|---|---|
| FASTQ | Read identifiers, sequences and a quality character for each base. | What bases were called, and how uncertain were those calls? |
| SAM / BAM | Sequence records and alignment information; SAM is text and BAM is its binary equivalent. Unmapped reads can also be stored. | Where do reads align, and what supports that placement? |
| CRAM | Compressed sequence and alignment data, often using a reference sequence to improve compression. | How can alignment data be stored efficiently? |
| VCF | Variant records, alleles and associated information; it may also contain sample genotypes. | Which differences were reported, with what supporting information? |
Binary alignment files need suitable software to inspect them. Index files let tools retrieve a region efficiently without reading the whole data file. Keep the matching reference available for reference-dependent CRAM files. The GA4GH format specifications define the alignment and variant formats; the NCBI file-format guide also explains FASTQ.
Read a tiny FASTQ example
This invented record represents one four-base read. Sequencing reads are typically longer; the short example makes its structure visible.
@teaching_read_01
ACGT
+
IIII
The first line identifies the read, the second gives its sequence, the third is a separator and the fourth encodes base qualities. In Phred+33 encoding, I represents Q40. The scale is Q = −10 log10(estimated error probability): Q20 corresponds to 1%, Q30 to 0.1%, and Q40 to 0.01%. These are model-based estimates for individual base calls, not guarantees that a read or sample is correct. Illumina: quality-score definition.
Self-check: is a Q40 base necessarily aligned to the correct gene?
No. The base may have been measured confidently but the read may come from a repeated sequence with several plausible locations. Base-call quality and mapping quality address different uncertainties.
Alignment needs a named reference
A reference assembly supplies sequences and coordinates against which reads and variants can be described. Record the assembly and version: a coordinate in GRCh37 is not automatically interchangeable with the same number in GRCh38. A reference allele is a comparison value, not a label meaning healthy or common.
Short reads can match several locations, particularly in repeated or duplicated regions. Mapping quality expresses confidence in placement; base quality concerns the individual sequence letters. SAM includes separate fields for these quantities. A mapping-quality value of 255 means unavailable, not exceptionally confident. SAM specification.
Quality checks may reveal adapter sequence, unexpectedly poor bases or contamination. A warning is a prompt to investigate in the context of the experiment, rather than a universal instruction to discard data. Record any filtering and why it was appropriate. EMBL-EBI: sequencing quality control.
Depth and breadth answer different questions
Depth is how many reads cover a position, under the counting and filtering rules used. Breadth is how much of a specified region meets a coverage criterion. Always give the criterion and denominator: “95% of target bases at ≥20×” is more informative than “95% covered”. Samtools: coverage measures.
Imagine five equally weighted bases with depths 0, 10, 20, 30 and 40. Mean depth is 100 ÷ 5 = 20×. Four of five bases have at least one read, so breadth at ≥1× is 80%. Only three meet ≥20×, so breadth at that threshold is 60%. The mean conceals a completely uncovered base.
Self-check: do 100 reads always provide 100 independent observations?
No. Amplification can produce multiple reads derived from the same original molecule. Overlapping paired reads and other processing choices also affect counting. Depth summaries need their filtering and duplicate-handling rules. Samtools: depth-counting options.
Read a synthetic variant record
This teaching table shows selected VCF fields for an invented reference sequence called teaching_contig. It is not a patient record or a complete VCF file.
| CHROM | POS | REF | ALT | GT | DP |
|---|---|---|---|---|---|
| teaching_contig | 101 | A | G | 0/1 | 20 |
At position 101, numbered from 1, the reference base is A and the alternate base is G. Here 0/1 describes an unphased diploid heterozygous genotype: one reference allele and one first alternate allele. The slash does not identify which parent contributed either allele. The example reports sample depth of 20; real files define their fields in the header. VCF specification.
A caller combines evidence rather than merely counting letters. For example, 11 A-supporting and 9 G-supporting reads might support a heterozygous call, but confidence also depends on base quality, placement and possible artefacts. Those counts alone do not establish a reliable genotype.
A variant call is the beginning of interpretation
Annotation organises information; interpretation weighs it. A predicted change to a protein does not by itself demonstrate a disease mechanism. Relevance depends on the question, inheritance, phenotype, population evidence and functional evidence. Clinical interpretation requires an appropriate professional workflow. NHS Genomics Education: deciphering genomic data.
Self-check: if a variant is absent from a VCF, is that position definitely reference?
No. It may not have been assessed reliably, may have been filtered, or may fall outside the experiment's target or reporting scope. Check what the file represents and what evidence is available for that position.
Before interpreting a result, be able to name its sample type, assay, reference, processing steps and limitations. Those details connect the final claim to the evidence that produced it.
Updated September 2026.