Bio.SeqIO.SnapGeneIO模块
Bio.SeqIO支持SnapGene文件格式。
SnapGene二进制格式是GSL Biotech LLC的SnapGene程序使用的原生格式。
- class Bio.SeqIO.SnapGeneIO.SnapGeneIterator(source)
-
SnapGene文件的解析器。
- modes = 'b'
- __init__(source)
解析SnapGene文件并返回SeqRecord对象。
参数源是类似文件的对象或文件的路径。
请注意,SnapGene文件只能包含一个序列,因此此迭代器将始终返回单个记录。
- __next__()
返回下一个SeqRecord。
此方法必须由子类实现。
- __abstractmethods__ = frozenset({})
- __annotations__ = {}
- __firstlineno__ = 291
- __parameters__ = ()
- __static_attributes__ = ('packets',)