WHY do we care? Two cells with the same DNA can be wildly different (a neuron vs a skin cell) because they express different genes. Disease, drug response, and development all show up as changes in expression. RNA-seq is the standard tool to detect those changes.
RNA is extracted, reverse-transcribed to cDNA, fragmented, and sequenced. You receive millions of short reads (~50–150 bp) in FASTQ files. Each read carries a base sequence + a per-base quality score.
Tools (FastQC) flag low-quality tails and adapter contamination; trimming removes them. WHY? Bad bases cause wrong alignments downstream — garbage in, garbage out.
Each read is placed onto a reference genome (aligners: STAR, HISAT2) or matched to a transcriptome (pseudo-aligners: Salmon, kallisto). RNA reads may span exon–exon junctions (introns removed), so aligners must be splice-aware.
Compare a gene's counts between conditions (e.g. treated vs control) using tools like DESeq2 / edgeR, which model counts with the negative binomial distribution.
Every cell has the same giant recipe book (DNA). But a cell only cooks some recipes at a time. RNA-seq is like sneaking into the kitchen and counting how many copies of each recipe card are being used right now. If we count more chocolate-cake cards in a sick person than a healthy one, maybe "chocolate cake" (a gene) is involved in the sickness. Because we peeked at different amounts of paper in each kitchen, we first fairly rescale the counts, then compare which recipes changed the most.
Dekho, har cell mein DNA same hota hai, lekin har cell alag genes ko "on" rakhta hai. RNA-seq ka kaam hai — jitni bhi RNA molecules cell mein active hain, unko count karna. Zyada RNA matlab wo gene zyada "busy" hai (high expression), kam RNA matlab wo gene lagbhag off hai. Isse hum compare kar sakte hain ki treated aur control sample mein kaunse genes badle.
Pipeline simple chain hai: pehle sequencer se short reads milte hain FASTQ file mein (saath quality score, jise Phred score kehte hain, formula Q=−10log10P). Phir quality check aur trimming, phir reads ko genome pe align karna (splice-aware aligner, kyunki introns cut ho chuke hote hain), phir har gene ke reads count karke ek count matrix banate hain.
Yahan ek important baat: raw counts ko directly compare mat karo! Kyunki ek sample zyada deeply sequence hua ho sakta hai (zyada total reads) aur lambe genes zyada reads pakadte hain. Isliye normalize karte hain — CPM depth ka correction karta hai, aur TPM depth + length dono. TPM ki khaas baat: har sample ke TPM ka total hamesha 106 hota hai, isliye columns fair comparison dete hain.
Aakhri step differential expression — DESeq2/edgeR negative binomial model use karte hain (kyunki counts mein variance mean se zyada hoti hai, overdispersion). log2 fold change batata hai kitna up/down gaya (+1 = double), aur kyunki hum ~20,000 genes ek saath test karte hain, FDR (Benjamini-Hochberg) correction lagana zaroori hai warna false positives aa jayenge. Bas yahi hai RNA-seq analysis ka core!
Test yourself — Bioinformatics & Computational Biology