6.4.9 · HinglishBioinformatics & Computational Biology

Explain RNA-seq data analysis basics

1,809 words8 min readRead in English

6.4.9 · Biology › Bioinformatics & Computational Biology


WHAT is RNA-seq?

WHY do we care? Ek hi DNA wale do cells bilkul alag ho sakti hain (jaise neuron aur skin cell) kyunki wo alag genes express karti hain. Disease, drug response, aur development sab expression mein changes ke roop mein dikhte hain. RNA-seq un changes detect karne ka standard tool hai.


HOW: the pipeline, step by step

Analysis ek chain hai. Har step ka output agli step ka input hota hai.

Figure — Explain RNA-seq data analysis basics

1. Wet-lab → raw reads (FASTQ)

RNA extract ki jaati hai, cDNA mein reverse-transcribe ki jaati hai, fragment ki jaati hai, aur sequence ki jaati hai. Tumhe millions of short reads (~50–150 bp) FASTQ files mein milte hain. Har read mein ek base sequence hoti hai aur ek per-base quality score hota hai.

2. Quality control & trimming

Tools (FastQC) low-quality tails aur adapter contamination flag karte hain; trimming unhe remove karti hai. WHY? Kharab bases downstream mein galat alignments karte hain — garbage in, garbage out.

3. Alignment / mapping

Har read ko ek reference genome par place kiya jaata hai (aligners: STAR, HISAT2) ya transcriptome se match kiya jaata hai (pseudo-aligners: Salmon, kallisto). RNA reads exon–exon junctions span kar sakti hain (introns remove ho jaate hain), isliye aligners splice-aware hone chahiye.

4. Quantification → count matrix

Count karo ki kitni reads har gene par fall karti hain. Result: ek gene × sample count matrix = gene ke liye sample mein reads ki sankhya.

5. Normalization

Raw counts comparable nahi hote kyunki samples mein sequencing depth (total reads) alag hoti hai aur genes ki length alag hoti hai. Hume dono ke liye correct karna padta hai.

6. Differential expression (DE)

Ek gene ke counts ko conditions ke beech compare karo (jaise treated vs control) DESeq2 / edgeR jaise tools use karke, jo counts ko negative binomial distribution se model karte hain.


Worked examples


Common mistakes (steel-manned)


Recall

Recall Flashcards checkpoint (flip karne se pehle try karo)
  • TPM har sample ke column ke baare mein kya guarantee karta hai? → tak sum karta hai.
  • Poisson ki jagah negative binomial kyun? → overdispersion (variance > mean).
  • FDR correction kyun? → many-genes multiple testing.
Recall Feynman: ek 12-saal ke bacche ko explain karo

Har cell mein same bada recipe book hota hai (DNA). Lekin ek cell sirf kuch recipes ek time par banaati hai. RNA-seq jaisa hai jaise kitchen mein ghus ke count karo ki abhi kitni copies kaunse recipe cards use ho rahe hain. Agar kisi beemar insaan mein healthy insaan se zyada chocolate-cake cards milte hain, toh shayad "chocolate cake" (ek gene) bimari mein involved hai. Kyunki humne har kitchen mein alag amount ka paper dekha, hum pehle counts ko fairly rescale karte hain, phir compare karte hain ki kaun se recipes sabse zyada bdale.


Flashcards

RNA-seq kya measure karta hai?
RNA molecules ki identity aur abundance, yaani gene expression, high-throughput sequencing ke zariye.
Raw sequencing reads + quality scores kis file format mein hote hain?
FASTQ.
Phred quality Q aur error probability P ko jodne wala formula?
.
Phred score 30 ka matlab kya hai?
Error probability (1000 mein 1 galat base).
RNA-seq ke aligners splice-aware kyun hone chahiye?
Reads exon–exon junctions span kar sakti hain kyunki introns splice out ho jaate hain.
CPM define karo.
Counts per million: , sequencing depth ke liye correct karta hai.
Gene length se normalize kyun karte hain?
Lambi genes equal expression par zyada read fragments capture karti hain, raw counts bias hote hain.
Ek sample mein TPM ki key property kya hai?
TPM values tak sum karti hain, columns comparable proportions banaati hain.
RPKM aur TPM ke calculation order mein kya difference hai?
TPM pehle length se divide karta hai, phir per-sample total se; RPKM pehle depth se divide karta hai.
Count modeling ke liye negative binomial kyun?
RNA-seq counts overdispersed hote hain (variance > mean); NB ek dispersion term add karta hai .
log2FC kya hai aur +1 ka matlab kya hai?
(treated/control); +1 matlab expression doubled ho gayi.
FDR-adjusted p-values kyun use karte hain?
~20,000 simultaneous tests se bahut false positives aate hain; BH false discovery rate control karta hai.
Biological replicates essential kyun hain?
Reliable DE calls ke liye biological variability/dispersion estimate karne ke liye (≥3 per group).
Do cheezein jinhe raw counts account nahi karte?
Sequencing depth aur gene length.

Connections

Concept Map

goal

produces

encodes error

cleaned by

feeds

maps onto

feeds

corrected by

motivates

yields

infers

RNA-seq measures gene expression

Wet-lab: RNA to cDNA sequenced

Raw reads FASTQ + quality

Phred score Q = -10log P

QC and trimming

Alignment splice-aware

Reference genome / transcriptome

Gene x sample count matrix

Normalization

Sequencing depth + gene length bias

CPM RPKM TPM

Differential expression