translate_sequence
Translate DNA or RNA sequences into protein using customizable genetic code tables. Optionally stop at first stop codon for accurate peptide prediction.
Instructions
Translate a DNA or RNA sequence to protein.
Args: sequence: DNA or RNA sequence string table: Genetic code table to use (default: 1 for standard code) to_stop: Stop translation at first stop codon (default: False)
Returns: Dictionary containing the translated protein sequence and metadata
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sequence": "<sequence>"
},
"name": "translate_sequence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sequence | Yes | ||
| table | No | ||
| to_stop | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||