diff options
Diffstat (limited to 'content/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md')
| -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 |
