Sequence analysis

Codon Optimizer for Gene Synthesis

Rewrite a protein as DNA for E. coli, yeast or human codon usage at max CAI or with seeded usage-weighted sampling, with GC content and motif avoidance.

Codon Optimizer for Gene SynthesisRuns in your browser; nothing is uploaded
Checking your sign-in…

Learn the method behind this result in Gene Cloning & Recombinant DNA Technology, a Vedicgen course with a certificate · from ₹20,999 + GSTView course

What codon optimisation does

Sixty-one codons encode twenty amino acids, and a given organism does not use them equally: the codons that match its most abundant tRNAs are used more often, especially in highly expressed genes. When you express a gene in an unfamiliar host — a human enzyme in E. coli, a bacterial protein in yeast — the original codon choices can slow translation at exactly the positions where the host has little of the matching tRNA.

This tool takes a protein sequence (or a coding DNA sequence, which it translates first) and rebuilds it as DNA using your host’s codon habits. Only the third, silent position changes, so the amino-acid sequence you started with is exactly what comes back out of the ribosome.

Highest CAI versus harmonised choice

The codon adaptation index is the geometric mean of the relative adaptiveness of the codons you chose: for each residue, how close its codon is to the most-used synonymous one. CAI = 1 means every residue got the host favourite, and a gene whose synonymous codons were picked at random scores around 0.35.

Max CAI is the aggressive option, and it is not always the best one. In an AT-rich host such as yeast, pushing every residue to its favourite codon also drags GC content up and can create long runs and repeats that make the construct hard to synthesise or unstable. Harmonised choice instead draws each codon in proportion to how often the host actually uses it — seeded, so the same input and seed give the same sequence — which keeps the host’s overall codon and GC profile while still removing the worst codons. For stable-cell-line and mammalian expression work, harmonised is usually the safer starting point.

Keeping unwanted motifs out

List the sequences you do not want in the construct: restriction or assembly sites (GAATTC for EcoRI, GTCGAC for SalI), homopolymer runs that a synthesis provider flags, or a motif that would create an internal splice site or a promoter.

Motif avoidance is checked across codon junctions rather than codon by codon, because a site is often formed by the last bases of one codon plus the first of the next — a run of lysines becomes AAAAAA whichever individual codon you look at. When every synonymous choice, or its junction, recreates a motif it cannot be removed, so the tool keeps the preferred codon and tells you the motif is still present and how many times. Add the site to a flanking region or change your cloning strategy in that case.

Cite, link or share this tool

Cite this tool

Solagene. Codon Optimizer for Gene Synthesis [online tool]. Nayancode, Solagene; 2026. Available at: https://solagene.com/nayancode/tools/codon-optimizer/ (accessed 2026-11-23).

Add it to your lab or course page

<a href="https://solagene.com/nayancode/tools/codon-optimizer/" title="Free Codon Optimizer for Gene Synthesis by Solagene">Codon Optimizer for Gene Synthesis</a> (free, runs in your browser) by <a href="https://solagene.com/">Solagene</a>

FAQ

Frequently asked questions

Not answered here? Send us your question and we will reply by e-mail.

E. coli K-12 and baker’s yeast S288C are counted from the complete open reading frames of those RefSeq genomes, bundled with this site, and the human table is the published Kazusa coding-sequence usage table. Codon bias is a property of the organism, so a different strain or a Pichia/insect/CHO host needs its own table; the figures shown here are the ones that ship with the tool.

The sequence is one codon per residue of your input, so a methionine you pasted becomes ATG and no stop codon is added. Add your own stop, tag, linker or cloning overhangs after checking the result, and re-run the check on the final construct.

No. The calculation runs in your browser with JavaScript. Nothing you paste is sent to a server, which makes the tool safe for unpublished or confidential sequences.

Work with us

Want this done for you?

Send us your data and a short note. We reply with a fixed price.

Sent securely to Solagene. Your details are used only to answer this request.

Or order directly: Order an analysis.