From 3ed2f4ef720a1ccb56c61a1cd49c022baf4e7fdf Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Mon, 7 Nov 2022 15:44:41 +0100 Subject: Added charts --- content/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'content/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md') 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 -- cgit v1.2.3