Skip to main content

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

Project description

Travis CI build status

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

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:

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 (¢ Isaac Luo and Cai Lab) and maintained by the Edinburgh Genome Foundry. 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.13.tar.gz (5.2 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for snapgene_reader-0.1.13.tar.gz
Algorithm Hash digest
SHA256 1cd0a513b502cb99f4f9a93cfe09c81ae620b267fe60955be1ff93848fc2b49b
MD5 0a6417d23c7348e5dc25b46175d32559
BLAKE2b-256 5ce886958ada6ad8ff39f8a24c31b6f327cf17f6ce72b8f5a8ef26f9c24e811e

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