Bio.SeqIO.SnapGeneIO module

Bio.SeqIO support for the SnapGene file format.

The SnapGene binary format is the native format used by the SnapGene program from GSL Biotech LLC.

class Bio.SeqIO.SnapGeneIO.SnapGeneIterator(source)

Bases: SequenceIterator

Parser for SnapGene files.

modes = 'b'
__init__(source)

Parse a SnapGene file and return a SeqRecord object.

Argument source is a file-like object or a path to a file.

Note that a SnapGene file can only contain one sequence, so this iterator will always return a single record.

__next__()

Return the next SeqRecord.

This method must be implemented by the subclass.

__abstractmethods__ = frozenset({})
__parameters__ = ()