From 3ed2f4ef720a1ccb56c61a1cd49c022baf4e7fdf Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Mon, 7 Nov 2022 15:44:41 +0100 Subject: Added charts --- ...2019-01-03-encoding-binary-data-into-dna-sequence.md | 6 +++++- static/assets/dna-sequence/chart-1.png | Bin 0 -> 64760 bytes static/assets/dna-sequence/chart-2.png | Bin 0 -> 74241 bytes 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 static/assets/dna-sequence/chart-1.png create mode 100644 static/assets/dna-sequence/chart-2.png diff --git a/content/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md b/content/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md index 4f00f21..8fcf5e7 100755 --- a/content/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md +++ b/content/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md @@ -130,7 +130,7 @@ using a single nucleotide. In this way, we are able to use the 4 bases that comp | 01 | **C** (Cytosine) | | 11 | **T** (Thymine) | -With this in mind we can simply encode any data by using two-bit to Nucleotides conversion +With this in mind we can simply encode any data by using two-bit to Nucleotides conversion. ```python { Algorithm 1: Naive byte array to DNA encode } @@ -355,6 +355,10 @@ gzip -9 < 10MB.fa > 10MB.fa.gz [Download ODS file with benchmarks](/dna-sequence/benchmarks.ods). +![Sample binary file 1KB](/assets/dna-sequence/chart-1.png) + +![Sample binary file 1KB](/assets/dna-sequence/chart-2.png) + ## References - https://www.techopedia.com/definition/948/encoding diff --git a/static/assets/dna-sequence/chart-1.png b/static/assets/dna-sequence/chart-1.png new file mode 100644 index 0000000..c017e43 Binary files /dev/null and b/static/assets/dna-sequence/chart-1.png differ diff --git a/static/assets/dna-sequence/chart-2.png b/static/assets/dna-sequence/chart-2.png new file mode 100644 index 0000000..80b922b Binary files /dev/null and b/static/assets/dna-sequence/chart-2.png differ -- cgit v1.2.3