This project is a simple example which shows how DNA data can be efficiently stored in C++. It implements the algorithm described here.
All code from this project is licensed under the GPLv3. See the
LICENSE
file for more information.
To compile the project, create a subdirectory called build
and run the
following commands inside it:
cmake ..
make
This will generate an executable called dna
. This executable runs a test for
a randomly generated DNA sequence, i.e., it generates a DNA sequence first,
compresses it into a sequence of bits, then recovers it back as a sequence of
characters. If the recovered sequence differs from the original one, the test
fails.
Diego Assencio / diego@assencio.com