A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

RNA-seq Analysis Pipeline

Research Depth 244 in the knowledge graph ☐ I know this ☆ Set as goal
34topics build on this
1,604prerequisites beneath it
See this on the map →
Central Dogma of Molecular BiologyDNA Sequencing Technologies+3 more→→Differential Gene Expression AnalysisEpigenomics: ChIP-seq and ATAC-seq+4 more
RNA-seq transcriptomics read-mapping gene-expression FPKM TPM

Core Idea

RNA-seq quantifies gene expression by sequencing the RNA molecules present in a sample. The standard analysis pipeline involves quality control of raw reads, alignment to a reference genome or transcriptome (using splice-aware aligners like STAR or HISAT2), quantification of reads per gene or transcript, and normalization to account for sequencing depth and gene length differences. Key normalization metrics include TPM (transcripts per million) for within-sample comparisons and methods like DESeq2's size factors for between-sample comparisons. The pipeline transforms raw sequencing data into a gene-by-sample expression matrix suitable for downstream analysis.

How It's Best Learned

Process a small RNA-seq dataset end-to-end: run FastQC on raw reads, trim adapters with Trimmomatic, align to a reference with STAR, count reads per gene with featureCounts, and normalize. Compare raw counts to TPM values for a housekeeping gene versus a tissue-specific gene to understand why normalization matters.

Common Misconceptions

Explainer

RNA-seq has become the standard method for measuring gene expression genome-wide. Rather than measuring predetermined targets (like microarrays), RNA-seq sequences whatever RNA is present in the sample, providing an unbiased, quantitative snapshot of the transcriptome. But going from raw sequencing reads to reliable expression estimates requires a multi-step pipeline, each step with important decisions that affect the final results.

The pipeline begins with quality control and preprocessing. FastQC or MultiQC examines raw reads for adapter contamination, quality score distributions, GC content bias, and duplication levels. Adapter sequences (ligated during library preparation) are trimmed, and low-quality bases are removed. This step is straightforward but essential — contaminated or low-quality reads introduce noise and waste computational resources in alignment.

Alignment maps reads to their genomic origin. Because mRNA has been spliced, reads that span exon-exon junctions must be split across the intron in the genome alignment. Splice-aware aligners like STAR and HISAT2 use known splice site annotations (and can discover novel junctions) to handle these split reads correctly. An alternative approach, pseudoalignment (Salmon, kallisto), skips genomic alignment entirely and quantifies expression by matching reads to a transcriptome reference, trading some information (genomic location) for dramatic speed improvements. The choice depends on whether downstream analyses need genomic coordinates (variant calling, splice analysis) or only gene/transcript quantification.

Quantification counts how many reads map to each gene or transcript. Tools like featureCounts and HTSeq-count assign aligned reads to genomic features using gene annotation files. The output is a count matrix: rows are genes, columns are samples, and each entry is the number of reads observed for that gene in that sample. These raw counts must then be normalized to be interpretable. Within-sample normalization (TPM, FPKM) corrects for gene length and sequencing depth, enabling comparison of expression levels between genes in the same sample. Between-sample normalization (DESeq2's median-of-ratios, edgeR's TMM) adjusts for differences in library composition and size between samples, enabling differential expression analysis — the subject of the next topic.

The entire pipeline, from raw FASTQ files to a normalized expression matrix, can be run using workflow managers like Nextflow (nf-core/rnaseq) or Snakemake, which ensure reproducibility and handle the orchestration of multiple tools. Understanding each step is nonetheless essential, because parameter choices at every stage — alignment stringency, multi-mapping handling, counting mode, normalization method — affect the biological conclusions drawn from the data.

Practice Questions 3 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → One-to-One Correspondence → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Making 10 as an Addition Strategy → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Iterated Integrals and Fubini's Theorem → Double Integrals in Cartesian Coordinates → Double Integrals in Polar Coordinates → Double Integrals in Polar Coordinates → Double Integrals: Definition and Setup → Iterated Integrals and Fubini's Theorem → Double Integrals over Rectangular Regions → Double Integrals over General Regions → Applications of Double Integrals: Area, Mass, and Moments → Triple Integrals in Cartesian Coordinates → Triple Integrals in Cylindrical and Spherical Coordinates → Change of Variables and the Jacobian Determinant → Applications of Triple Integrals: Volume and Mass → Vector Fields and Their Representations → Line Integrals of Vector Fields → Work and Circulation → Line Integrals of Scalar and Vector Functions → Fundamental Theorem for Line Integrals → Conservative Vector Fields → Conservative Vector Fields and Potential Functions → Curl and Divergence of Vector Fields → Curl and Divergence → Divergence Theorem → Electric Flux and Divergence Theorem → Gauss's Law: Integral Form and Meaning → Solving Problems with Gauss's Law → Conductors in Electrostatic Equilibrium → Capacitance and Capacitors → Dielectrics → Dielectric Constant and Relative Permittivity → Electric Field Inside Dielectric Materials → Dielectric Materials and Polarization → Dielectric Susceptibility and Permittivity → Energy Density in Electric Fields → Electric Current and Current Density → Electrical Resistance and Resistivity → Ohm's Law and Circuit Elements → Electromotive Force (EMF) and Batteries → Kirchhoff's Circuit Laws: Voltage and Current → DC Circuit Network Analysis Methods → Transient Response in RC Circuits → RC Circuits → LC and RLC Circuits → AC Circuits: Fundamentals → Impedance and Reactance → AC Power and Resonance → Electromagnetic Waves → Postulates of Special Relativity → Time Dilation → Length Contraction → Lorentz Transformation → Relativistic Velocity Addition → Relativistic Momentum and Energy → Mass-Energy Equivalence and E=mc² → Photons as Particles with Energy and Momentum → Planck-Einstein Relation: Energy and Frequency → Photoelectric Effect → The Photon: Light as Quanta → Compton Scattering → Wave-Particle Duality → de Broglie Wavelength → The Schrödinger Equation → State Vectors and Wavefunctions → Quantum Superposition → The Measurement Problem → Interpretations of Quantum Mechanics → Postulates of Quantum Mechanics → Observables and Quantum Operators → Commutators and Commutation Relations → Quantum Angular Momentum → Quantum Mechanical Treatment of Hydrogen → Solving the Schrödinger Equation for Hydrogen Atom → Quantum Numbers → Electron Configuration → Periodic Trends → Covalent Bonding → Electronegativity and Bond Polarity → Ionic Bonding → Lewis Structures → VSEPR Theory and Molecular Geometry → Molecular Geometry and Electron Pair Geometry → Molecular Polarity and Dipole Moments → Intermolecular Forces → States of Matter and Phase Changes: Melting, Boiling, and Sublimation → Gas Laws and the Ideal Gas Equation → Gas Stoichiometry and Volume-Volume Calculations → Thermochemistry and Enthalpy → Heat Capacity and Calorimetry → Entropy and Molecular Disorder → Spontaneity and ΔG → Entropy and Gibbs Free Energy → Chemical Equilibrium → Acid-Base Chemistry → Weak Acid Ionization → Weak Base Ionization → Acid and Base Strength: Ka, Kb, and Ionization → Leaving Groups and Nucleofugality → SN2 Substitution Reactions → SN1 Substitution Reactions → E1 Elimination Reactions → Alcohols and Ethers: Structure, Properties, and Nomenclature → Reactions of Alcohols → Aldehydes and Ketones: Structure and Reactivity → Oxidation Reactions in Organic Chemistry → Oxidation of Alcohols to Aldehydes and Ketones → Aldehyde and Ketone Structure and Nomenclature → Nucleophilic Addition to Aldehydes and Ketones → Carboxylic Acids and Their Derivatives → IUPAC Nomenclature of Carbonyls and Carboxylic Acids → IUPAC Nomenclature of Alkenes → Electrophilic Addition to Alkenes → Aromaticity and Benzene → Electrophilic Aromatic Substitution (EAS) → Nucleophilic Aromatic Substitution (SNAr) → Nucleophilic Acyl Substitution → Amines: Structure, Basicity, and Reactions → Amine Reactivity: Nucleophilicity and Basicity → Amino Acid Structure and Properties → Peptide Bonds and Polypeptide Formation → Protein Primary Structure → Protein Secondary Structure → Protein Tertiary Structure → Enzyme Structure and Function → Transcription: DNA to RNA → RNA Types and Structure → RNA Structure and Intramolecular Base Pairing → RNA Processing and Splicing → Translation: RNA to Protein → Ribosomes: Protein Synthesis Machines → Translation: Initiation and Elongation → Post-Translational Modifications → Proteasomal Degradation and Ubiquitin-Mediated Marking → Cell Cycle Regulation and Checkpoints → Mitosis → Cytokinesis → Meiosis → Chromosomal Theory of Inheritance → Mendelian Genetics → Dominance, Recessiveness, and Allelic Interactions → Sex-Linked Inheritance → Non-Mendelian Inheritance Patterns → Population Genetics and Hardy-Weinberg Equilibrium → Natural Selection → Adaptation and Fitness → Life History Strategies: r- and K-Selection → Predator-Prey Dynamics and the Lotka-Volterra Model → Community Ecology: Structure and Organization → Species Interactions: Competition, Predation, Mutualism, and Parasitism → Trophic Levels and Food Webs → Energy Flow and Ecological Efficiency → Biogeochemical Cycles: Carbon, Nitrogen, and Phosphorus → Nitrogen Fixation, Availability, and Cycling → Phosphorus Cycling and Freshwater-Marine Differences → Nucleotide Structure and Nomenclature → Purine Biosynthesis → Nucleotide Salvage Pathways → Nucleotide Synthesis Pathways (De Novo and Salvage) → Transcription Initiation and Gene Regulation → Gene Regulation in Eukaryotes → Promoters, Enhancers, Silencers, and Cis-Acting Elements → Chromatin Remodeling Complexes and Histone Acetylation → Genome Structure and Organization → Gene Prediction and Annotation → RNA-seq Analysis Pipeline

Longest path: 245 steps · 1604 total prerequisite topics

Prerequisites (5)

Leads To (6)