Omics Field Guide
RNA layer

Transcriptomics

Measuring which genes are expressed, how much, and in which isoform. Bulk RNA-seq is the most widely used omics assay in biology, and its statistical tooling is the most mature, so it is the best place to learn the logic that every other layer reuses.

Research questions

Experimental choices that decide what you can analyse

RNA selection

Poly(A)+ captures mature mRNA; rRNA depletion keeps non-polyadenylated and pre-mRNA (intronic reads). Small-RNA libraries for miRNA. Degraded samples (FFPE) need depletion or capture.

Strandedness and length

Stranded libraries (dUTP) resolve antisense transcription. Paired-end 2×100–150 bp helps isoforms and fusions. 3′-tag methods (QuantSeq, BRB-seq) are cheap for gene counts but blind to isoforms.

Depth and replicates

~20–30M reads per sample is typical for gene-level DE; isoform work needs more. Biological replicates matter more than depth: aim for six or more per group when you can.

How transcriptomic data are generated

  1. Sample & stabiliseSnap-freeze, RNAlater or PAXgene (blood) within minutes; RNA degrades fast
  2. RNA extractionTRIzol or column kits; DNase treatment removes genomic DNA
  3. RNA QCRIN (1–10) or DV200 for FFPE; quantity by Qubit
  4. Select RNAPoly(A) capture with oligo-dT beads, or rRNA depletion (keeps non-polyadenylated RNA)
  5. Make cDNAFragment RNA → reverse transcription → second strand with dUTP (marks strand) → adapters → PCR
  6. Sequence~20–40 M read pairs, 2 × 100–150 bp; long-read cDNA or direct RNA for full isoforms

The end product of quantification is a count matrix: genes in rows, samples in columns, each entry the number of reads (or estimated fragments) assigned to that gene. Everything downstream works on this table.

The standard pipeline

  1. QC: FastQC/MultiQC, rRNA content, strand check (RSeQC infer_experiment, salmon's automatic library type), gene body coverage (3′ bias indicates degradation), RIN or DV200 from the lab.
  2. Quantification, two routes:
    • Alignment-based: STAR or HISAT2 to the genome, then featureCounts or HTSeq for gene counts; RSEM for isoforms. Gives BAMs for visual inspection, novel junctions and variant calling.
    • Pseudoalignment / selective alignment: salmon or kallisto match reads to transcript sequences and resolve multi-mapping reads with an EM algorithm. Fast and accurate for annotated transcripts; use salmon with a decoy-aware index. Import with tximport/tximeta to gene level.
  3. Filtering and normalisation: remove genes with very low counts (edgeR filterByExpr). Between-sample normalisation with DESeq2's median-of-ratios or edgeR's TMM. TPM and FPKM are within-sample units for display; do not feed them into count-based DE models.
  4. Exploration: variance-stabilising transform (vst/rlog), PCA, sample-distance heatmaps. Look for outliers, batch effects, sex mismatches (XIST, chrY genes) and sample swaps.
  5. Differential expression: negative binomial GLMs (DESeq2, edgeR) or linear models on log-CPM with precision weights (limma-voom). Include batch and covariates in the design matrix. Use empirical Bayes shrinkage of dispersions and of fold changes (apeglm, ashr) for ranking.
  6. Multiple testing: Benjamini–Hochberg FDR. IHW (independent hypothesis weighting) can increase power.
  7. Interpretation: over-representation (clusterProfiler, g:Profiler, Enrichr), rank-based GSEA (fgsea, GSEA), sample-level scores (GSVA, ssGSEA, singscore), TF and pathway activity from footprints (DoRothEA/CollecTRI with decoupleR, PROGENy), co-expression modules (WGCNA, hdWGCNA for single-cell).
Why the negative binomial

Counts from technical replicates are roughly Poisson (variance = mean). Biological replicates vary more, so variance = μ + αμ², where α is the dispersion. With three replicates you cannot estimate α per gene reliably, so DESeq2 and edgeR borrow information across genes: they shrink each gene's dispersion toward a trend fitted against mean expression. That shrinkage is the main reason these tools work with small sample sizes.

Beyond gene counts

Tools

Benchmarks

Pitfalls
  • Confounded design: if all cases were sequenced in batch 1 and all controls in batch 2, no software can separate batch from biology.
  • Pseudoreplication: multiple wells from one donor are not independent biological replicates.
  • Calling a pathway "activated" from an over-representation test that ignores direction and gene–gene correlation.
  • Using a genome-wide background for enrichment when only expressed genes could have been detected.
  • Treating "not significant" as "not changed"; with low power, absence of evidence is not evidence of absence.
Research gap
  • Accurate isoform-level quantification and differential testing, especially from long reads at modest depth.
  • Calibrated DE in large heterogeneous cohorts, where standard parametric tools can inflate false positives.
  • Separating transcriptional from post-transcriptional regulation in standard steady-state data.
  • Robust deconvolution when reference single-cell data come from a different platform or disease state.