Simulation of DNA sequences based on LCG
Install and prepare tools:
sudo apt-get install gzip -y sudo apt-get install bzip2 -y cd src/ gcc rand.c -lm -o rand chmod +x RunRand.sh
Run simple simulation:
./rand 200 7 4
Run simple simulation and visualize as a DNA sequence (inside src/ folder):
./rand 200 7 4 | tr 'abcd' 'ACGT'
Run proof of incompressibility from common data compressors (inside src/ folder):
./RunRand.sh 20000 11 2
From the proof size of the compressed files we are able to notice that although a simple program created the sequence, the used data compressors are not able to efficiently minimize the sequence size without loss of information.