A minimal ORF starts at AUG, continues in that frame, and ends at the next stop codon.
highlighted = computed this step
Find the first AUG
The minimal rule begins at the first AUG. In this worked mRNA, that start codon begins at position 0.
start=AUG at position 0
Translate to the next in-frame stop
From the start codon, translation reads codons in the same frame until UAA ends it. The stop codon is not an amino acid in the peptide.
UAA⟶stop
The open reading frame is that stretch
The ORF spans the start through the stop, positions 0 through 15, and encodes MACK. Honesty note: real ORF finding also weighs Kozak or Shine-Dalgarno context and alternative starts; this is the minimal deterministic rule.