/dna-compression

A simple example which shows how DNA data can be efficiently stored in C++.

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Functional tests Static code analysis

Description

This project is a simple example which shows how DNA data can be efficiently stored in C++. It implements the algorithm described here.

License

All code from this project is licensed under the GPLv3. See the LICENSE file for more information.

Usage instructions

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.

Contributors & contact information

Diego Assencio / diego@assencio.com