Entering edit mode
18 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,
.dna
files appear to be in a binary format so more than likely not.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/)