转换snapgene*.dna文件dict/json/biopython。
snapgene_reader的Python项目详细描述
snapgene reader是一个python库,用于将snapgene*.dna文件解析为dictionnaries或biopython seqrecords:
fromsnapgene_readerimportsnapgene_file_to_dict,snapgene_file_to_seqrecordfile_path='./snap_gene_file.dna'dictionnary=snapgene_file_to_dict(filepath)seqrecord=snapgene_file_to_seqrecord(filepath)
安装
使用pip安装:
pip install snapgene_reader
使用pytest进行测试:
python -m pytest (or simply "pytest")
许可证=麻省理工学院
snapgene reader是一个开源软件,最初由cai实验室的Isaac Luo编写。这个fork在Github上根据麻省理工学院的许可证(版权所有isaac luo和cai lab)发布,由爱丁堡基因组铸造厂维护。欢迎大家投稿。