Import or read Snapgene .dna files into R
0
0
Entering edit mode
12 months ago
eggrandio ▴ 40

Hello,

I was wondering if there is any package that allows reading Snapgene .dna files directly into R. Even if it does not conserve the features/primers/annotations it would be enough.

I know I can export them from Snapgene into fasta or genbank format, but I am looking for a way to import them directly in .dna format.

Best,

R .dna snapgene • 873 views
ADD COMMENT
0
Entering edit mode

.dna files appear to be in a binary format so more than likely not.

ADD REPLY
0
Entering edit mode

They are binary files, but their format is well established (https://incenp.org/dvlpt/docs/binary-sequence-formats/binary-sequence-formats.pdf) and they should be "easy" to import. In fact, there are libraries for Python that import them directly as dictionaries or Biopython SeqRecords (https://pypi.org/project/snapgene-reader/)

ADD REPLY

Login before adding your answer.

Traffic: 1373 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6