WHAT: Sequencing gives you raw DNA — billions of letters. But raw sequence does not tell you which stretches actually code for proteins or functional RNA.
WHY it's hard:
There are no obvious markers separating a gene from junk DNA.
In eukaryotes, genes are interrupted: coding pieces (exons) are broken up by non-coding pieces (introns) that get spliced out.
Any DNA stretch has 6 reading frames (3 forward, 3 reverse), and most are meaningless.
HOW we attack it: We look for statistical signals and sequence signals that real genes leave behind, then combine them.
WHY ORFs matter: In prokaryotes, genes are (mostly) continuous ORFs, so ORF-finding alone works well. In eukaryotes, introns break the ORF, so ORFs are only part of the story.
A sequence S=s1s2…sn. Under a k-th order Markov model:
P(S)=P(s1…sk)∏i=k+1nP(si∣si−1,…,si−k)
Why this product form? We apply the chain rule of probability and then make the Markov assumption: each base depends only on the previous k bases, not the entire history. This makes the huge joint probability tractable (only need 4k+1 parameters).
We then compute a log-likelihood ratio score comparing a coding model vs a non-coding (null) model:
GHMM (Generalized Hidden Markov Model): tools like GENSCAN, AUGUSTUS, GeneMark, Glimmer use HMMs where hidden states = {exon, intron, intergenic, 5'UTR, splice site, ...}. The predictor finds the most probable state path (via the Viterbi algorithm) that explains the observed DNA — that path is the predicted gene structure.
The computational identification of genes (exon/intron boundaries, regulatory signals) in genomic DNA, from sequence alone or with external evidence.
Two main families of gene prediction methods?
Ab initio (intrinsic, uses sequence + statistical models) and homology/evidence-based (extrinsic, compares to known sequences).
Difference between signal sensors and content sensors?
Signal sensors detect short specific motifs (start/stop codons, splice sites); content sensors measure region-wide statistics (codon bias, GC content, ORF length).
Define an ORF.
A DNA stretch from a start codon (ATG) to a stop codon with no in-frame stop in between.
The three stop codons?
TAA, TAG, TGA.
Splice donor and acceptor consensus?
Donor = GT (5' end of intron), Acceptor = AG (3' end of intron) — the "GT...AG rule".
Probability a random codon is a stop, and expected run length?
3/64 ≈ 0.047; expected ~64/3 ≈ 21 codons before a stop.
Formula for amino acids from ORF of n nucleotides?
L_aa = n/3 − 1 (stop codon codes no amino acid).
Why are Markov models used in gene finding?
Coding DNA has biased base-neighbor statistics (codon usage); a k-th order Markov model captures P(next base | previous k bases), differing for coding vs non-coding.
What does the Viterbi algorithm do in a GHMM gene finder?
Finds the most probable hidden-state path (exon/intron/intergenic) explaining the DNA = the predicted gene structure.
Why is eukaryotic gene finding harder than prokaryotic?
Eukaryotic genes are split by introns and need splice-site + UTR modeling; prokaryotic genes are mostly continuous ORFs.
Name two ab initio eukaryotic gene finders.
GENSCAN and AUGUSTUS (also GeneMark).
Name two prokaryotic gene finders.
Glimmer and Prodigal (also GeneMarkS).
Why combine ab initio with homology/evidence?
Ab initio finds novel genes but errs on boundaries; homology/evidence is accurate but blind to unknown genes — combining gives best accuracy.
What is the log-odds coding score and why use log?
log[P(seq|coding)/P(seq|non-coding)]; log converts a product of tiny probabilities into a stable sum where sign indicates coding.
Recall Feynman: explain to a 12-year-old
Imagine a super-long string of only four letters — A, T, G, C — with NO spaces. Somewhere in there are "recipes" (genes) that tell the cell how to build things, but they're hidden in a sea of gibberish. Gene prediction is like a smart word-search: we know real recipes always start with a special "GO" word (ATG) and end with a "STOP" word, and their letters follow certain patterns that gibberish doesn't. The computer scores every chunk: "does this look like a real recipe, or random junk?" We also peek in a big cookbook of known recipes to double-check. When both the pattern-clues and the cookbook agree — jackpot, we found a gene!
Socho ki poora genome ek aisi kitaab hai jisme sirf 4 letters hain — A, T, G, C — aur beech me koi space ya full-stop nahi. Gene prediction ka matlab hai is bina-space wali kitaab me asli "recipes" yaani genes ko dhoondhna: kahan se gene shuru hota hai, kahan khatam. Ye mushkil hai kyunki genome me bahut saara "junk" hota hai, aur eukaryotes me toh gene ke beech me introns (kaat ke phenke jaane wale tukde) bhi hote hain, jo exons ko todte hain.
Do main tarike hote hain. Ab initio method sirf sequence ke patterns dekhta hai — jaise start codon ATG, stop codons (TAA/TAG/TGA), aur splice sites (GT...AG rule). Iske saath ye "content" bhi check karta hai: kya is region me codon bias aur base-neighbour statistics gene jaisi lagti hain? Iske liye Markov models aur HMM use hote hain (GENSCAN, AUGUSTUS, GeneMark) jo Viterbi algorithm se best gene structure nikalte hain. Dusra tarika homology-based hai — sequence ko known proteins ya RNA-seq/EST data se compare karo (BLAST wagairah); jahan match milta hai wahan gene hone ke chances zyada.
Ek zaroori intuition: random DNA me har ~21 codons ke baad ek stop aa jaata hai (kyunki 3 out of 64 codons stop hain). Isliye agar koi ORF sau-do-sau codons tak bina stop ke chalta hai, toh ye chance se hona bahut mushkil hai — matlab ye asli
Test yourself — Bioinformatics & Computational Biology