Open Reading Frame Calculator
Calculate ORF properties, reading frames, and expected coding sequence lengths.
Why Long ORFs Are Significant
In random sequence, three of the 64 codons are stop codons, so a stop appears on average every 64/3 ≈ 21 codons. Long open reading frames therefore occur by chance far less often than intuition suggests.
| ORF length | Probability by chance | Assessment |
|---|---|---|
| 21 codons | ~36% | Expected average |
| 50 codons | ~9.1% | Unremarkable |
| 100 codons | ~0.82% | Probably real |
| > 300 codons | < 10−6 | Almost certainly a gene |
This is why a 100-codon threshold is the common default for ORF finding. Below it, chance ORFs outnumber genuine ones; above it, the reverse holds sharply.
Why GC Content Changes the Threshold
All three stop codons — TAA, TAG, TGA — are AT-rich. In a GC-rich genome they arise less often by chance, so random ORFs are longer and the significance threshold must rise.
| Genome GC% | Effect on chance ORFs | Example organism |
|---|---|---|
| 30% | Shorter — stops frequent | Plasmodium |
| 50% | Baseline | E. coli |
| 70% | Longer — stops rare | Streptomyces |
Applying an E. coli threshold to a Streptomyces genome would produce many false positive genes. Modern gene finders build organism-specific models rather than using a universal cutoff.
Six Frames, and What ORF Length Cannot Tell You
Double-stranded DNA has six reading frames — three on each strand. All must be searched, and overlapping ORFs on opposite strands are common in compact genomes such as viruses.
Length alone is a weak criterion in eukaryotes, where introns interrupt coding sequence so genomic ORFs are short even for long genes. Ribosome profiling has also revealed many functional short ORFs that length-based finders discard, so the 100-codon convention excludes real biology as well as noise.
Worked Examples
Common Mistakes
Stop codons are AT-rich, so GC-rich genomes produce longer chance ORFs. An E. coli cutoff generates false positives in Streptomyces.
Double-stranded DNA has six. Genes on the reverse strand are missed entirely if only the forward frames are examined.
Introns break the reading frame, so genomic ORFs are short even for long genes. Use cDNA, or a gene finder that models splicing.
Ribosome profiling has identified many functional peptides under 100 codons. The conventional threshold trades sensitivity for specificity.