aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2022-11-07 15:44:41 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2022-11-07 15:44:41 +0100
commit3ed2f4ef720a1ccb56c61a1cd49c022baf4e7fdf (patch)
tree8505fad53ade77598c2808fcb742c01f1b969e6e
parentbf49274b4022483ead8cdd7215b1b321db22e14e (diff)
downloadmitjafelicijan.com-3ed2f4ef720a1ccb56c61a1cd49c022baf4e7fdf.tar.gz
Added charts
-rwxr-xr-xcontent/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md6
-rw-r--r--static/assets/dna-sequence/chart-1.pngbin0 -> 64760 bytes
-rw-r--r--static/assets/dna-sequence/chart-2.pngbin0 -> 74241 bytes
3 files changed, 5 insertions, 1 deletions
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
130| 01 | **C** (Cytosine) | 130| 01 | **C** (Cytosine) |
131| 11 | **T** (Thymine) | 131| 11 | **T** (Thymine) |
132 132
133With this in mind we can simply encode any data by using two-bit to Nucleotides conversion 133With this in mind we can simply encode any data by using two-bit to Nucleotides conversion.
134 134
135```python 135```python
136{ Algorithm 1: Naive byte array to DNA encode } 136{ Algorithm 1: Naive byte array to DNA encode }
@@ -355,6 +355,10 @@ gzip -9 < 10MB.fa > 10MB.fa.gz
355 355
356[Download ODS file with benchmarks](/dna-sequence/benchmarks.ods). 356[Download ODS file with benchmarks](/dna-sequence/benchmarks.ods).
357 357
358![Sample binary file 1KB](/assets/dna-sequence/chart-1.png)
359
360![Sample binary file 1KB](/assets/dna-sequence/chart-2.png)
361
358## References 362## References
359 363
360- https://www.techopedia.com/definition/948/encoding 364- 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
--- /dev/null
+++ b/static/assets/dna-sequence/chart-1.png
Binary files 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
--- /dev/null
+++ b/static/assets/dna-sequence/chart-2.png
Binary files differ