Codon optimiser
codon_optimizeCodon-optimise a protein (or coding DNA) for an expression host by picking the most-frequent codon per residue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| protein | Yes | Protein sequence (one-letter codes). Coding DNA/RNA is accepted and translated in frame +1 up to the first stop codon (residues after an in-frame stop are NOT optimised). | |
| organism | No | ecoli | |
| inputType | No | How to read `protein`. 'auto' guesses from the alphabet (>90% ACGTUN reads as DNA), which mis-files genuine Ala/Cys/Gly/Thr/Asn-only peptides — set 'protein' or 'dna' to force it. | auto |