diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2022-11-07 15:44:41 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2022-11-07 15:44:41 +0100 |
| commit | 3ed2f4ef720a1ccb56c61a1cd49c022baf4e7fdf (patch) | |
| tree | 8505fad53ade77598c2808fcb742c01f1b969e6e /content/posts | |
| parent | bf49274b4022483ead8cdd7215b1b321db22e14e (diff) | |
| download | mitjafelicijan.com-3ed2f4ef720a1ccb56c61a1cd49c022baf4e7fdf.tar.gz | |
Added charts
Diffstat (limited to 'content/posts')
| -rwxr-xr-x | content/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md | 6 |
1 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 | ||
| 133 | With this in mind we can simply encode any data by using two-bit to Nucleotides conversion | 133 | With 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 |  | ||
| 359 | |||
| 360 |  | ||
| 361 | |||
| 358 | ## References | 362 | ## References |
| 359 | 363 | ||
| 360 | - https://www.techopedia.com/definition/948/encoding | 364 | - https://www.techopedia.com/definition/948/encoding |
