转录与翻译:参数与补充说明¶
用法和示例见功能教程。
各功能按作用、API、输入、输出、示例代码和结果说明介绍。运行前按说明准备凭据、本地文件与可选依赖;远程结果随数据库版本与查询时间变化。
翻译三个正向阅读框并查找最长开放阅读框¶
dnakit.databases.dna_translate_reading_frames(*, operation=None, sequence, frame=None, genetic_code=None, verbose=True)
| 参数 | 类型 | 必填 / 默认值 | 说明与约束 |
|---|---|---|---|
operation |
string | None | Operation type |
sequence |
string | 必填 | DNA sequence (A, T, G, C only). Case insensitive. Spaces and newlines are stripped. |
frame |
string | null | None | Reading frame to translate: '1', '2', '3', or 'all' (default). Frame 1 starts at position 0, frame 2 at position 1, frame 3 at position 2. |
genetic_code |
integer | null | None | NCBI genetic code number. Only 1 (the standard code) is implemented; any other value is rejected with an error rather than translated with the standard table. Alternative code tables (2 = vertebrate mitochondrial, 3 = yeast mitochondrial, 11 = bacterial, etc.) are not supported by this tool. |
verbose |
bool | True | 运行提示开关。 |