Codon Plot

Generate an ASCII codon plot using codon frequency data to highlight usage bias across a sequence.

Tool Configuration
Configure the parameters for Codon Plot

Paste raw DNA or FASTA-formatted sequence (limit 50,000,000 bases). Only IUPAC DNA characters are retained.

Provide a codon usage table in GCG format. Fractions are recalculated per amino acid to match legacy SMS behavior.

1

Enter DNA Sequence

Paste a DNA sequence (up to 50 million bases) in FASTA format or raw text. The tool accepts only valid IUPAC DNA characters (A, T, G, C, and ambiguities like N, R, Y). Non-DNA characters are automatically removed.

2

Provide Codon Usage Table

Enter a codon usage table in GCG format showing codon frequencies for your organism. The default table is for E. coli. You can obtain organism-specific tables from the Codon Usage Database. The tool recalculates fractions per amino acid to normalize usage.

3

Interpret the ASCII Plot

The output shows an ASCII bar chart for each codon in your sequence. Each line displays the codon position, the codon triplet, amino acid, and a bar whose length represents the relative frequency of that codon for its amino acid. Longer bars indicate more commonly used codons.

4

Applications

Use codon plots to visualize codon bias in genes, identify rare codons that may slow translation, optimize genes for heterologous expression, detect horizontal gene transfer, or compare native and synthetic gene sequences. Highly biased usage appears as consistently long bars for certain codons.

How to Interpret
Understanding the ASCII plot output

Per-Codon Rows

Each codon is printed with its position in the sequence and the corresponding amino acid assignment from the usage table.

Bar Length

The bar of X characters is proportional to the codon‘s fraction within its amino acid family (0 to 1.0). Longer bars indicate preferred codons.

Custom Tables

Paste alternative codon usage tables from species-specific databases to compare expression compatibility or visualize codon bias.

Sequence Design

Identify clusters of rare codons that may reduce translation efficiency when designing synthetic genes or optimizing heterologous expression.