Support for some binary sequence formats for BioPython.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Damien Goutte-Gattat 4078e160ab Write Features segment to SnapGene file. 2 years ago
incenp Write Features segment to SnapGene file. 2 years ago
.gitignore Ignore generated distribution files. 3 years ago
LICENSE.txt Improve packaging. 3 years ago Add README file. 2 years ago Improve packaging. 3 years ago

BinSeqs - Support for binary sequence formats in Bioython

BinSeqs is a Python package intended to enrich the SeqIO framework from Biopython by adding support for some binary sequence formats.

Formats supported

  • xdna format, used by DNA Strider and Serial Cloner: reading and writing supported
  • snapgene format, used by SnapGene: reading support only


The BinSeqs parsers and writers are not designed to be used independently and should instead be used through the Biopython's SeqIO module.

Simply import the module to make the parsers and writers available to Biopython's SeqIO:

from Bio import SeqIO

records = list(SeqIO.parse('snapgene_file.dna', 'snapgene'))
SeqIO.write(records, 'serialcloner_file.xdna', 'xdna')


BinSeqs is free software and distributed under the terms of a BSD-like license. The full license is included in the LICENSE.txt file of the source distribution.

Homepage and contact

The latest source code is available at git:// and may also be browsed using the Gitweb interface at;a=summary.

To contact the author, use the following address: Damien Goutte-Gattat