Metadata-Version: 2.1
Name: snapgene-reader
Version: 0.1.20
Summary: Convert Snapgene *.dna files dict/json/biopython.
Author: yishaluo
Maintainer: EdinburghGenomeFoundry
License: MIT
Keywords: DNA sequence design format converter
Platform: UNKNOWN
License-File: LICENCE.txt

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

.. image:: https://github.com/Edinburgh-Genome-Foundry/Flametree/actions/workflows/build.yml/badge.svg
   :target: https://github.com/Edinburgh-Genome-Foundry/Flametree/actions/workflows/build.yml
   :alt: Travis CI build status

.. image:: https://coveralls.io/repos/github/Edinburgh-Genome-Foundry/SnapGeneReader/badge.svg?branch=master
    :target: https://coveralls.io/github/Edinburgh-Genome-Foundry/SnapGeneReader?branch=master


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

.. code:: python

  from snapgene_reader import snapgene_file_to_dict, snapgene_file_to_seqrecord

  file_path = './snap_gene_file.dna'
  dictionary = 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

    pytest --cov=snapgene_reader tests/


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

SnapGene Reader is an open-source software originally written by `Isaac Luo <https://github.com/IsaacLuo>`_ at the Cai Lab. This fork is released on `Github <https://github.com/Edinburgh-Genome-Foundry/SnapGeneReader>`_ under the MIT licence. Everyone is welcome to contribute!


