From b0b8f7ffbf563f341745e86bfe85f080f6a8db27 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 8 Dec 2021 11:59:37 +0100 Subject: A bunch of changes --- posts/2019-01-03-encoding-binary-data-into-dna-sequence.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'posts/2019-01-03-encoding-binary-data-into-dna-sequence.md') diff --git a/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md b/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md index 6f6b3d7..fdbdf5b 100644 --- a/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md +++ b/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md @@ -83,7 +83,7 @@ Deoxyribonucleic acid, a self-replicating material which is **present in nearly The nucleotide in DNA consists of a sugar (deoxyribose), one of four bases (cytosine (C), thymine (T), adenine (A), guanine (G)), and a phosphate. Cytosine and thymine are pyrimidine bases, while adenine and guanine are purine bases. The sugar and the base together are called a nucleoside. -![DNA](/assets/dna-sequence/dna-basics.jpg.dith.gif) +![DNA](/assets/dna-sequence/dna-basics.jpg) *DNA (a) forms a double stranded helix, and (b) adenine pairs with thymine and cytosine pairs with guanine. (credit a: modification of work by Jerome Walker, Dennis Myts)* @@ -248,7 +248,7 @@ Then we encode FASTA file from previous operation to encode this data into PNG. After encoding into PNG format this file looks like this. -![Encoded Quote in PNG format](/assets/dna-sequence/quote.png.dith.gif) +![Encoded Quote in PNG format](/assets/dna-sequence/quote.png) The larger the input stream is the larger the PNG file would be. @@ -315,7 +315,7 @@ dd if=<(openssl enc -aes-256-ctr -pass pass:"$(dd if=/dev/urandom bs=128 count= Our freshly generated 1KB file looks something like this (its full of garbage data as intended). -![Sample binary file 1KB](/assets/dna-sequence/sample-binary-file.png.dith.gif) +![Sample binary file 1KB](/assets/dna-sequence/sample-binary-file.png) We create following binary files: - 1KB.bin -- cgit v1.2.3