Random Coding DNA
Generate random open reading frames with start and stop codons

Maximum length: 4,000,000 codons. Each sequence starts with a start codon and ends with a stop codon.

💡 Quick Summary

Random Coding DNA generates random open reading frames — each beginning with a start codon and ending with a stop codon. You can choose the genetic code, the length in codons, and how many sequences to generate. Useful for creating null-model sequences to evaluate the significance of sequence analysis results.

📋 How to Use
  1. Enter the desired length in codons (default: 1000; maximum: 4,000,000). The output sequence will have length × 3 bases.
  2. Select the genetic code to use for choosing start, stop, and coding codons (default: Standard).
  3. Choose how many sequences to generate (1, 10, 50, or 100).
  4. Click Run. Each sequence is output as a FASTA record with an auto-generated title. Use Copy to copy the plain-text result.
🔬 Applications
  • Generating null-model sequences for benchmarking ORF finders or codon usage tools
  • Creating synthetic positive controls that begin with ATG and end with a stop codon
  • Testing alignment or pattern search tools against sequences with defined codon composition
  • Evaluating how random sequences score under various sequence analysis metrics
⚠️ Common Mistakes & Warnings
Sequences are randomly generated each run

Every click of Run produces a different random sequence. The codon at each position is chosen uniformly at random from the set of start, coding, or stop codons for the selected genetic code.

Large lengths or many sequences may be slow

Generating 100 sequences of 1,000,000 codons each creates 300,000,000 bases in the browser. For very large outputs, use a smaller count or length.

Start codons appear in the coding codon pool

In the original SMS logic, methionine (ATG) codons are included in both the start codon list and the coding codon list. This means internal Met residues can appear in the coding region.

❓ Frequently Asked Questions

What is the minimum sequence length?
The minimum is 2 codons (one start + one stop), which produces a 6-base sequence. A length of 1 produces only a start codon with no stop.
Are the codon frequencies biologically realistic?
No — each codon is drawn uniformly at random from the available set. The output does not reflect natural codon usage bias for any organism.
Why does the output have 60-character lines?
Sequences are wrapped at 60 characters per line, which is the standard FASTA format for nucleotide sequences.