translate_sequence
Convert DNA or RNA sequences into protein sequences using genetic code translation tables for bioinformatics analysis.
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
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sequence | Yes | ||
| table | No | ||
| to_stop | No |