6.4.5 · Biology › Bioinformatics & Computational Biology
Intuition Ek saanss mein core idea
Jab hum do protein sequences ko align karte hain, toh hume matches ko reward aur mismatches ko penalize karna hota hai — lekin sabhi substitutions equal nahi hoti! Leucine ki jagah Isoleucine lagana (dono fatty, hydrophobic hain) protein ko almost nahi badalta, jabki Leucine ki jagah charged Aspartate lagana use tباh kar sakta hai. Ek scoring matrix ek 20 × 20 table hoti hai jo har amino-acid pair ko ek log-odds score deti hai: positive agar woh substitution real evolution mein chance se zyada hoti hai, negative agar kam. BLOSUM aur PAM aise matrices ki do families hain jo real alignment data se bani hain.
Definition Problem kya hai
Sequences align karne ke liye, ek algorithm (Needleman–Wunsch, Smith–Waterman) ko candidate alignments ko numerically compare karna hota hai. Use ek number s ( a , b ) chahiye — "residue a ko residue b ke against align karna kitna achha hai?" Ek naive rule — "+1 match, −1 mismatch" — biochemistry aur evolution ko ignore karta hai. Hume aisa matrix chahiye jo bata sake: yeh substitution evolutionarily plausible hai, woh nahi.
Score ko KISI CHEEZ ko represent karna chahiye? Sahi quantity yeh hai: kya yeh pairing zyada likely hai kyunki dono residues truly homologous hain (common ancestor se related), ya yeh sirf random coincidence hai? Yeh ek likelihood ratio hai.
Yeh step kyun? Kyunki log-odds H 1 vs H 0 test karne ke liye statistically optimal score hai (Neyman–Pearson lemma ka consequence). Sign ka matlab:
s ( a , b ) > 0 : substitution chance se zyada dekhi gayi → conserved/favorable.
s ( a , b ) < 0 : chance se kam dekhi gayi → disruptive.
s ( a , b ) = 0 : bilkul chance se expected jaisi.
Henikoff & Henikoff (1992) ne BLOCKS database se banaya, jo ungapped, conserved local alignments (blocks) ka collection hai. Substitution frequencies ko inn blocks mein directly observed kar ke count karta hai — kisi evolutionary model ki zaroorat nahi.
Number KAISE kaam karta hai (yahan sabse zyada confuse hote hain log):
Common mistake Steel-man: "BLOSUM62 ka matlab 62% identity hai, aur zyada number = zyada distant sequences."
Kyun sahi lagta hai: bada number sunne mein "zyada evolution/zyada distance" jaisa lagta hai.
Sach yeh hai: Number clustering threshold hai. BLOSUM62 banane ke liye, ek block mein jo sequences ≥ 62% identical hain unhe cluster karke ek maana jaata hai , taaki near-duplicates ko zyada count karne se bache. Toh:
High number (BLOSUM80) → zyada similar sequences rakhta hai → closely related proteins ke liye achha.
Low number (BLOSUM45) → zyada merge karta hai → distantly related proteins ke liye achha.
Fix mnemonic: High BLOSUM = High similarity searches.
Margaret Dayhoff (1978) ne ek evolutionary model se banaya. 1 PAM = evolution ki woh maatra jisme 1 accepted point mutation per 100 residues hua ho (average par 1% positions change hue). "Accepted" = natural selection ne fix kar diya.
Higher-PAM matrices KAISE bante hain — extrapolation:
Closely-related sequences se directly ek 20 × 20 mutation probability matrix M banao 1 PAM ke liye.
Zyada distant sequences model karne ke liye, matrix ko khud se multiply karo :
M ( n ) = M n ⇒ PAM250 = M 250 .
Yeh assume karta hai ki mutations ek Markov process ki tarah accumulate hoti hain (har step past se independent).
M n ko upar wale formula se log-odds mein convert karo.
Common mistake Steel-man: "PAM aur BLOSUM ke numbers ek hi direction mein chalte hain."
Kyun sahi lagta hai: dono sirf "matrices par numbers" hain.
Sach — woh OPPOSITE direction mein chalte hain!
High PAM (PAM250) → distant sequences (zyada mutations accumulate hue).
High BLOSUM (BLOSUM80) → close sequences.
Fix: PAM = time/distance ; BLOSUM = identity kept . Woh roughly inverses hain: BLOSUM62 ≈ PAM250 jaisi usefulness general searches ke liye... actually BLOSUM62 ≈ PAM160–200 behavior mein; BLOSUM80 ≈ PAM120; BLOSUM45 ≈ PAM250.
Worked example Example 1 — Score interpret karna
BLOSUM62 mein, s ( L , I ) = + 2 lekin s ( L , D ) = − 4 .
L↔I ke liye odds ratio compute karo (half-bit units, toh score = 2 log 2 ( q / p a p b ) ):
2 = 2 log 2 r ⇒ log 2 r = 1 ⇒ r = 2.
Yeh step kyun? BLOSUM half-bits mein hai, toh bits pane ke liye score ko 2 se divide karo, phir 2 bits odds deta hai. L↔I chance se do guna zyada hota hai → biochemically conservative (dono hydrophobic). L↔D: r = 2 − 2 = 0.25 → chance se chaar guna kam → disruptive. ✔
Worked example Example 2 — Identical residues alag kyun score karte hain
BLOSUM62 mein, s ( W , W ) = + 11 (Tryptophan) lekin s ( L , L ) = + 4 .
Kyun? Trp rare hai (p W chhota), toh W↔W dekhna random case mein bahut zyada surprising hai → q W W / ( p W p W ) bahut bada hai → bada positive score. Leu common hai, toh L↔L match kam informative hai.
Yeh step kyun matter karta hai: score information content encode karta hai, na sirf "same letter."
Worked example Example 3 — Matrix choose karna
Aap ek human protein ko ek distantly related bacterial protein (~25% identity) ke against BLAST karte ho.
Kaun sa matrix? BLOSUM45 ya PAM250 use karo — dono divergent sequences ke liye tuned hain.
Kyun? Distant homologs mein few identities share hoti hain; aapko aisa matrix chahiye jo conservative substitutions ko credit de aur kaafi changes tolerate kare. BLOSUM80 use karna (close sequences ke liye banaya) hit miss kar dega. ✔
Worked example Example 4 — Mini alignment score karna
WLI vs WLD ko BLOSUM62 se align karo (ungapped):
s = s ( W , W ) + s ( L , L ) + s ( I , D ) = 11 + 4 + ( − 3 ) = 12.
Sum kyun? Kyunki log-odds independent columns ke across additive hote hain (upar derive kiya). Total = +12 , toh yeh alignment random se bahut better hai. ✔
Recall Positive vs negative matrix entry ka kya matlab hota hai?
Positive → substitution chance se zyada hoti hai (conserved/favorable). Negative → chance se kam (disruptive). Zero → chance se expected jaisi.
Recall PAM aur BLOSUM ke liye "distant" kis direction mein hai?
PAM high = distant (zyada mutations). BLOSUM high = close (higher identity clustering). Woh opposite direction mein chalte hain.
Recall Odds ratio ka logarithm kyun lete hain?
Taaki per-column scores add up ho sakein multiply karne ki jagah — yeh match karta hai is baat se ki alignment algorithms scores sum karte hain aur independent probabilities combine hoti hain.
Recall Feynman: ek 12-saal ke baache ko explain karo
Trading cards imagine karo. Kuch swaps fair hain ("main tujhe ek common card deta hoon ek common card ke badle") aur kuch unfair. Ek scoring matrix ek cheat sheet hai jo batata hai ki har swap kitna fair hai. Yeh real card-trading history (real proteins jo evolve hue) dekhta hai aur plus points deta hai un swaps ko jo log actually bahut karte hain (kyunki woh cards basically interchangeable hain) aur minus points un swaps ko jo almost koi nahi karta (kyunki woh cards bilkul alag hain). Hum points add karte hain yeh decide karne ke liye ki do poore decks (proteins) cousins hain ya nahi.
Scoring-matrix entry s ( a , b ) kis quantity ko represent karta hai? Ek scaled log-odds ratio: λ 1 log 2 p a p b q ab — pair (a,b) real alignments mein kitni baar occur karta hai vs chance se.
Log-odds score mein log kyun liya jaata hai? Per-column scores additive banane ke liye (logs independent column probabilities ke product ko sum mein convert karte hain).
BLOSUM62 mein "62" ka kya matlab hai? Clustering threshold: ek block ke andar ≥62% identical sequences ko substitutions count karne se pehle merge/ek maana jaata hai.
Higher BLOSUM number kin sequences ke liye hai? Zyada closely related (higher identity) sequences ke liye.
1 PAM unit ka kya matlab hai? Ek evolutionary distance jahan 1 accepted point mutation per 100 residues hua ho (1% change).
High-PAM matrices kaise generate kiye jaate hain? 1-PAM mutation matrix ko khud se multiply karke: PAM250 = M^250 (Markov extrapolation).
Higher PAM number kin sequences ke liye hai? Zyada distantly related (zyada accumulated mutations wali) sequences ke liye.
BLOSUM vs PAM: unke numbers directionally kaise relate karte hain? Opposite — high BLOSUM = close; high PAM = distant. (e.g. BLOSUM62 ≈ PAM160–200 behavior.)
W↔W +11 score karta hai lekin L↔L sirf +4 BLOSUM62 mein kyun? Trp rare hai, toh Trp match statistically surprising hai (high info), bada log-odds deta hai; Leu common hai, toh uska match kam informative hai.
~25% identity distant homolog search ke liye kaun sa matrix? BLOSUM45 ya PAM250.
Kaun sa statistical principle log-odds ko optimal score banata hai? Neyman–Pearson lemma (homology H1 vs random H0 ke liye likelihood-ratio test).
BLOSUM kin data se bana hai? BLOCKS database ke ungapped, conserved local protein alignments se (directly observed).
PAM kin model se bana hai? Closely related proteins par fit kiye gaye point mutations ke ek Markov evolutionary model se (Dayhoff).
Mnemonic Directions yaad karna
"BLOSUM Big = Buddies (close). PAM Plenty = Parted (distant)."
Aur score sign ke liye: P ositive = P lausible substitution.
Sequence Alignment — scoring matrices Needleman-Wunsch Algorithm & Smith-Waterman Algorithm mein feed hoti hain.
BLAST — default matrix BLOSUM62 hai; choice sensitivity affect karti hai.
Log-odds and Likelihood Ratios — statistical backbone (Neyman–Pearson).
Markov Chains — PAM extrapolation matrix powers M n ke zariye.
Amino Acid Properties — hydrophobicity/charge explain karta hai kyun kuch substitutions high score karti hain.
Gap Penalties — alignment score ka doosra aadha hissa.
Needleman-Wunsch / Smith-Waterman
Evolutionary point mutations