Reading frame (source code)

= Reading frame
{wiki}

A <reading frame> specifies how consecutive <nucleotides> are grouped into <codons>. Starting at position 1 of AUGGCUUAA gives AUG / GCU / UAA; starting at position 2 gives UGG / CUU with AA left over. The letters are unchanged but the groups differ. A possible grouping alone does not establish an actual <biological translation> initiation site.

For the twelve-<nucleotide> example, number positions from the $5'$ end. The three possible forward <reading frames> start at positions 1, 2 and 3:
$$
\begin{aligned}
1:&\quad\mathrm{AUG\;GCU\;UUC\;UGA},\\
2:&\quad\mathrm{UGG\;CUU\;UCU}\quad(\mathrm{GA}),\\
3:&\quad\mathrm{GGC\;UUU\;CUG}\quad(\mathrm{A}).
\end{aligned}
$$
Parentheses enclose incomplete trailing groups. The second and third rows do not assert initiation of <biological translation> in a <biological cell>. A chosen start fixes which positions belong together; the <ribosome> then advances through consecutive <codons> rather than searching each three-letter window independently.