Skip to content

Edinburgh-Genome-Foundry/SnapGeneReader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SnapGene Reader

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!

About

👓 Python library to parse Snapgene *.dna files to dict or biopython seqrecord.

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Python 100.0%