WHAT should the score represent? The right quantity is: is this pairing more likely because the two residues are truly homologous (related by descent), or is it just random coincidence? That is a likelihood ratio.
Why this step? Because the log-odds is the statistically optimal score for testing H1 vs H0 (a consequence of the Neyman–Pearson lemma). Sign meaning:
s(a,b)>0: substitution seen more than chance → conserved/favorable.
Build a 20×20mutation probability matrixM for 1 PAM directly from closely-related sequences.
To model more distant sequences, multiply the matrix by itself:
M(n)=Mn⇒PAM250=M250.
This assumes mutations accumulate as a Markov process (each step independent of the past).
Recall What does a positive vs negative matrix entry mean?
Positive → substitution occurs more often than chance (conserved/favorable). Negative → less than chance (disruptive). Zero → as expected by chance.
Recall Which direction is "distant" for PAM and for BLOSUM?
PAM high = distant (more mutations). BLOSUM high = close (higher identity clustering). They run opposite.
Recall Why do we take the logarithm of the odds ratio?
So that per-column scores add up instead of multiplying — matching how alignment algorithms sum scores and how independent probabilities combine.
Recall Feynman: explain to a 12-year-old
Imagine trading cards. Some swaps are fair ("I'll give you a common card for a common card") and some are unfair. A scoring matrix is a cheat sheet telling you how fair each swap is. It looks at real card-trading history (real proteins evolving) and gives plus points to swaps that people actually make a lot (because those cards are basically interchangeable) and minus points to swaps almost nobody makes (because those cards are totally different). We add up the points to decide if two whole decks (proteins) are cousins.
Dekho, jab hum do proteins ko align karte hain, toh har position pe do amino acids match ho rahe hote hain. Lekin sab substitutions barabar nahi hote — Leucine ko Isoleucine se badalna almost harmless hai (dono hydrophobic hain), par Leucine ko charged Aspartate se badalna protein ko kharab kar sakta hai. Isliye humein ek scoring matrix chahiye jo har pair ko ek number de: positive agar wo swap evolution mein chance se zyada dikhta hai, negative agar kam dikhta hai. Yeh number nikalta hai log-odds se: log2(qab/(papb)) — matlab "observed frequency divided by random frequency", phir log le lo taaki columns ke scores add ho sakein (kyunki independent probabilities multiply hoti hain, aur log unhe addition mein badal deta hai).
BLOSUM aur PAM do families hain. BLOSUM real conserved alignments (BLOCKS database) se seedha count karke banti hai. Yaad rakho: BLOSUM ka number = clustering threshold, aur HIGH BLOSUM = closely related sequences ke liye (BLOSUM80 close, BLOSUM45 distant). PAM ek evolutionary Markov model se banti hai — 1 PAM matlab 100 residues mein 1 accepted mutation. Distant sequences ke liye matrix ko khud se multiply karte hain (PAM250 = M250), isliye HIGH PAM = distant.
Sabse important trap: PAM aur BLOSUM ke numbers ulti direction mein chalte hain! High PAM = door ke rishtedar, High BLOSUM = kareebi rishtedar. Exam mein yahi confuse karte hain students. Mnemonic yaad rakho: "BLOSUM Big = Buddies, PAM Plenty = Parted."
Kyun important hai? Kyunki BLAST search karte waqt sahi matrix choose karna padta hai. Agar aap distant homolog dhoond rahe ho (~25% identity), toh BLOSUM45/PAM250 use karo — warna hit miss ho jayega. Yeh matrix hi decide karti hai ki algorithm asli homology dhoondh payega ya nahi.
Test yourself — Bioinformatics & Computational Biology