diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2021-12-08 11:59:37 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2021-12-08 11:59:37 +0100 |
| commit | b0b8f7ffbf563f341745e86bfe85f080f6a8db27 (patch) | |
| tree | c56029d1d0939d899a622c60309dfccd0b84e7bb /posts/2019-01-03-encoding-binary-data-into-dna-sequence.md | |
| parent | 2a373fcbb6dc6eb864f1c9f3351efe4b5ed2abf0 (diff) | |
| download | mitjafelicijan.com-b0b8f7ffbf563f341745e86bfe85f080f6a8db27.tar.gz | |
A bunch of changes
Diffstat (limited to 'posts/2019-01-03-encoding-binary-data-into-dna-sequence.md')
| -rw-r--r-- | posts/2019-01-03-encoding-binary-data-into-dna-sequence.md | 6 |
1 files changed, 3 insertions, 3 deletions
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 | |||
| 83 | 83 | ||
| 84 | 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. | 84 | 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. |
| 85 | 85 | ||
| 86 |  | 86 |  |
| 87 | 87 | ||
| 88 | *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)* | 88 | *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)* |
| 89 | 89 | ||
| @@ -248,7 +248,7 @@ Then we encode FASTA file from previous operation to encode this data into PNG. | |||
| 248 | 248 | ||
| 249 | After encoding into PNG format this file looks like this. | 249 | After encoding into PNG format this file looks like this. |
| 250 | 250 | ||
| 251 |  | 251 |  |
| 252 | 252 | ||
| 253 | The larger the input stream is the larger the PNG file would be. | 253 | The larger the input stream is the larger the PNG file would be. |
| 254 | 254 | ||
| @@ -315,7 +315,7 @@ dd if=<(openssl enc -aes-256-ctr -pass pass:"$(dd if=/dev/urandom bs=128 count= | |||
| 315 | 315 | ||
| 316 | Our freshly generated 1KB file looks something like this (its full of garbage data as intended). | 316 | Our freshly generated 1KB file looks something like this (its full of garbage data as intended). |
| 317 | 317 | ||
| 318 |  | 318 |  |
| 319 | 319 | ||
| 320 | We create following binary files: | 320 | We create following binary files: |
| 321 | - 1KB.bin | 321 | - 1KB.bin |
