skbio.sequence.GeneticCode.from_ncbi¶
- classmethod GeneticCode.from_ncbi(table_id=1)[源代码]¶
返回表ID指定的NCBI遗传代码。
状态:0.4.0稳定。
- 参数:
table_id (int, optional) -- 要返回的NCBI遗传代码的表ID。
- 返回:
NCBI基因代码由 table_id .
- 返回类型:
备注
本方法中可用的表ID和遗传代码以及整个示例中使用的表ID和遗传代码在中定义 [1].
引用
示例
获取NCBI Thrastochytrium线粒体遗传密码(23):
>>> tmgc = GeneticCode.from_ncbi(23) >>> tmgc.name 'Thraustochytrium Mitochondrial'