Skip to main content

Convert Snapgene *.dna files dict/json/biopython.

Project description

SnapGene Reader
===============

SnapGene Reader is a Python library to parse Snapgene ``*.dna`` files into dictionnaries or Biopython SeqRecords:

.. code:: python

from snapgene_reader import snapgene_file_to_dict, snapgene_file_to_seqrecord

file_path = './snap_gene_file.dna'
dictionnary = snapgene_file_to_dict(filepath)
seqrecord = snapgene_file_to_seqrecord(filepath)

Installation
------------

Install with PIP:

.. code:: bash

pip install snapgene_reader

Test with Pytest:

.. code:: bash

python -m pytest
(or simply "pytest")

Licence = MIT
-------------

SnapGene Reader is an open-source software originally written by `Isaac Luo <https://github.com/IsaacLuo>`_ at the Edinburgh Genome Foundry and released on Github <https://github.com/Edinburgh-Genome-Foundry/SnapGeneReader>`_ under the MIT licence (¢ Edinburg Genome Foundry).

```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snapgene_reader-0.1.12.tar.gz (3.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page