Mutalyzer序列突变子。
mutalyzer-mutator的Python项目详细描述
这个库提供了一个突变DNA参考序列的接口 根据一个变种列表。在
安装
软件通过PyPI分发。它可以与pip
一起安装:
pip install mutalyzer-mutator
来源
要安装最新的开发版本,请使用以下命令:
^{pr2}$使用
frommutalyzer_mutatorimportmutatesequences={"reference":"AAGG","other":"AATTAA"}variants=[{"type":"deletion_insertion","source":"reference","location":{"type":"range","start":{"type":"point","position":2},"end":{"type":"point","position":2},},"inserted":[{"sequence":"CC","source":"description"},{"source":"other","location":{"type":"range","start":{"type":"point","position":2},"end":{"type":"point","position":4},},},],}]observed=mutate(sequences,variants)# observed = 'AACCTTGG'
- 项目
标签: