Skip to main content

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

Project description

Travis CI build status https://coveralls.io/repos/github/Edinburgh-Genome-Foundry/SnapGeneReader/badge.svg?branch=master

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

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:

pip install snapgene_reader

Test with Pytest:

python -m pytest
# or simply "pytest"

Licence = MIT

SnapGene Reader is an open-source software originally written by Isaac Luo at the Cai Lab. This fork is released on Github under the MIT licence. Everyone is welcome to contribute!

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.18.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

snapgene_reader-0.1.18-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file snapgene_reader-0.1.18.tar.gz.

File metadata

  • Download URL: snapgene_reader-0.1.18.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for snapgene_reader-0.1.18.tar.gz
Algorithm Hash digest
SHA256 e7a8ef6ac367890ee1534e826d080321d072e382dac5f6f3552c8ad44e254335
MD5 a94935c7e3bf809ecde6ce629f13af86
BLAKE2b-256 7cda7368c075315b882e6a1d593266e5920f98d7fb38612a962424f7fa743faf

See more details on using hashes here.

File details

Details for the file snapgene_reader-0.1.18-py3-none-any.whl.

File metadata

  • Download URL: snapgene_reader-0.1.18-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for snapgene_reader-0.1.18-py3-none-any.whl
Algorithm Hash digest
SHA256 0e3ea0a344361f6fd274667df59d9aaac9bc5d382c9ac8ef4a4c0ce2b68eb4dc
MD5 199203cb2a03f50fcf02f9360eeb774b
BLAKE2b-256 21434b61e9e18beb29d684e5b07d7b704e134edb8d87fc658a4332241c74d051

See more details on using hashes here.

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