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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: snapgene_reader-0.1.19.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.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.7

File hashes

Hashes for snapgene_reader-0.1.19.tar.gz
Algorithm Hash digest
SHA256 483dd911b94ecf6b42f69085acf3fc856a50f985e9596205f0ed8e21fc650675
MD5 424ae50fb20702806362f34550e14455
BLAKE2b-256 ea6c96c78774d4c8d1d01d918e2769ae86ccfb34da9b80a6dc96e94c53f57e7e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: snapgene_reader-0.1.19-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.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.7

File hashes

Hashes for snapgene_reader-0.1.19-py3-none-any.whl
Algorithm Hash digest
SHA256 f89ca37f365673642e453836a19218b4c38887541c61ffe3c88cc564867e220c
MD5 4c0cb7311bed2dd130f685dbe601e87c
BLAKE2b-256 e81dc4d7ae96d9a9ec4c41cfcec90ad7e9d23dda10443103fd5eaf1488e3385d

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