covabio_codon_adaptation
Compute the Codon Adaptation Index (CAI) of a DNA coding sequence against host codon usage. Returns the score, how many codons were scored, how many hit the host's optimal codon, and a classification (highly_optimized >0.8 / well_optimized >0.6 / moderately_optimized >0.4 / poorly_optimized). Use to judge an expression construct before ordering synthesis, or to compare two vendor optimizations.
Scored against the optimal codon per amino acid, so it measures optimal-codon fraction rather than the geometric-mean CAI of Sharp & Li 1987. Stop codons are excluded. For mRNA therapeutics use covabio_mrna, which adds GC, CpG and uridine content.
Parameters:
dna_sequence: Coding DNA sequence (ATG...stop).
organism: Host codon table — "ecoli" (default) or "human".
Returns: {cai_score, total_codons, optimal_codons, scored_codons, organism, classification}Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| organism | No | ecoli | |
| dna_sequence | Yes |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |