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
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sequence | Yes | ||
| table | No | ||
| to_stop | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||