Skip to content

eshnil2000/dna-fountain

 
 

Repository files navigation

DNA-Fountain code
=================

This code is described in the following manuscript:

    Capacity-approaching DNA storage
    Yaniv Erlich, Dina Zielinski
    doi: http://dx.doi.org/10.1101/074237
    BioRxiv: http://biorxiv.org/content/early/2016/09/09/074237

Visit http://dnafountain.teamerlich.org/ for more information.

Contact: yaniv@cs.columbia.edu

License: GPLv3 (or later)

### Instructions
#### replace maketrans with str.maketrans
#### python setup.py build_ext --inplace
#### comment out from sets import Set
#### replace md5 with hashlib.md5
#### instead of adding "\0", convert to bytes ==> data += str.encode("\0") * pad #zero padding.
#### tar -b1 -czvvf info_to_code.tar.gz ./info_to_code/
#### truncate -s2116608 ./dna-fountain-input-files.tar.gz
#### python encode.py --file_in dna-fountain-input-files.tar.gz --size 32 -m 3 --gc 0.05 --rs 2 --delta 0.001 --c_dist 0.0125 --out dna-fountain-input-files.tar.gz.dna --stop 72000

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%