Codon usage

Codon optimizer

Codon-optimize a protein (or coding DNA) for an expression host by picking the most-frequent codon per residue.

Batchable via POST /batch.

Chainable in workflows (passes its dna field to the next step).

post/codon_optimize

Request

  • Base URL: https://seqbench.com/api/v1
  • URL: https://seqbench.com/api/v1/codon_optimize
  • Auth: none required

Request body

proteinstring required

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 optimized).

organism'ecoli' | 'human' | 'yeast' | 'cho' | 'pichia' | 'insect' | 'arabidopsis' | 'zebrafish'
inputType'auto' | 'protein' | 'dna'

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.

Response

Tool ran successfully.

okunknown required
toolstring required

The tool slug that ran.

resultobject required

Tool-specific output object. Its shape depends on the tool — call GET /{tool} or see the docs for each tool's fields.

Example response

{
  "provenance": {
    "apiVersion": "1.1.0"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.