Skip to main content

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

Project description

GitHub Actions 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(file_path)
seqrecord = snapgene_file_to_seqrecord(file_path)

Installation

Install with PIP:

pip install snapgene_reader

Test with Pytest:

pytest --cov=snapgene_reader tests/

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

Uploaded Source

Built Distribution

snapgene_reader-0.1.21-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: snapgene_reader-0.1.21.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.12

File hashes

Hashes for snapgene_reader-0.1.21.tar.gz
Algorithm Hash digest
SHA256 b786cb8f9f6d8a0961057882ebcb68e318c185091a2ed36f552a2954df887a26
MD5 f18eab33aada8c531a5e949ac829dd2d
BLAKE2b-256 f112f3b731358d78545600ec2260766195d0ba93965f6b9f3197a937919d189c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snapgene_reader-0.1.21-py3-none-any.whl
Algorithm Hash digest
SHA256 f1d7b883a061072afe68c5cb226de1c6aad4875b680e160cab8bb3bcffcddb61
MD5 b1b18c97490a6433bbf8b0be6671e2e4
BLAKE2b-256 152ef61cdd2632295341ee00179a8c5174958c6ab02e1f547c7593e59d4b6cdf

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