Next Article in Journal
EXIT Charts for Low-Density Algebra-Check Codes
Next Article in Special Issue
Reconstruction of Multiple Strings of Constant Weight from Prefix–Suffix Compositions
Previous Article in Journal
Parallel Bayesian Optimization of Thermophysical Properties of Low Thermal Conductivity Materials Using the Transient Plane Source Method in the Body-Fitted Coordinate
Previous Article in Special Issue
Properties of Maxentropic DNA Synthesis Codes
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A DNA Data Storage Method Using Spatial Encoding Based Lossless Compression

Computer Engineering Department, Düzce University, 81620 Düzce, Turkey
Entropy 2024, 26(12), 1116; https://doi.org/10.3390/e26121116
Submission received: 8 November 2024 / Revised: 11 December 2024 / Accepted: 18 December 2024 / Published: 20 December 2024
(This article belongs to the Special Issue Coding and Algorithms for DNA-Based Data Storage Systems)

Abstract

:
With the rapid increase in global data and rapid development of information technology, DNA sequences have been collected and manipulated on computers. This has yielded a new and attractive field of bioinformatics, DNA storage, where DNA has been considered as a great potential storage medium. It is known that one gram of DNA can store 215 GB of data, and the data stored in the DNA can be preserved for tens of thousands of years. In this study, a lossless and reversible DNA data storage method was proposed. The proposed approach employs a vector representation of each DNA base in a two-dimensional (2D) spatial domain for both encoding and decoding. The structure of the proposed method is reversible, rendering the decompression procedure possible. Experiments were performed to investigate the capacity, compression ratio, stability, and reliability. The obtained results show that the proposed method is much more efficient in terms of capacity than other known algorithms in the literature.

1. Introduction

Information technology has undergone extreme development in recent years, yielding new ways of processing data with secure and rapid characteristics. Inspired by the DNA (Deoxyribonucleic Acid) structure, in the near future, it will be possible to replace traditional silicon-based facilities with biological tools where computing with more than 0 and 1 is possible [1,2]. Data storage in DNA has rapidly gained interest because of its high density, long-term durability, and low maintenance costs [3]. Over time, a large amount of information that requires long-term storage has been produced by humanity. Stone, clay, papyrus, wood, paper, and other materials are reliable media in which information was stored in the late 1920s. Since then, other carriers such as silicon have been invented, and accordingly, the current digital revolution has been raised [4]. However, advances in DNA sequencing technology have reduced the cost of genome sequencing. This has led to several revolutionary advances in the genetic industry. NGS (next-generation sequencing) allows for the parallel sequencing of significant amounts of DNA and minimizes the need for comparatively inefficient fragment-cloning methods that are usually used in Sanger sequencing technologies. However, the management of such large volumes of data is an important issue, and this issue is still of interest to researchers [5].
Currently, in the Big Data era, a huge amount of data is produced every day. The global data volume is predicted to reach 175 ZB by 2025. Researchers are concerned that this increase in data volume will exceed the existing storage capacity [6]. This is because the amount of data increases by nearly 50% annually. It is predicted that this value will exceed three yottabytes by 2040. For this reason, more than 109 kg of highly pure silicon is required for their storage [7]. However, only 107–108 kg of silicon can be produced by 2040 [4]. DNA is a promising storage medium owing to its durability and ultrahigh density. It is known that one gram of DNA can store 215 GB of data, and the data stored in the DNA can be preserved for thousands of years [6]. To provide a concrete picture of the aforementioned information, the main digital information carriers are listed in Table 1. Here, it is clear that using DNA as a carrier has the main advantages in terms of capacity and lifetime, where access time is another issue to be tackled. Therefore, it is advisable to store only archival information in this biopolymer.
In the literature, there are two main approaches to DNA data storage: in vivo and in vitro. In vivo approaches are based on recombinant microorganisms that carry artificially embedded non-biological information within their genomes. Here, the information is stored via transmission from generation to generation. The main disadvantage of this approach is that only a small amount of information can be saved for living organisms [4].
Long-term in vitro storage is a widely studied area because it is suitable for computer-aided systems. This process consists of the following stages of DNA data storage: the conversion of information into nucleotide sequences (binarization), translation of binary code into DNA code (encoding), synthesis of oligos (DNA synthesis), storage of oligos under stable conditions (DNA storage after synthesis before sequencing), obtainment of a sufficient amount of informative DNA by amplification to retrieve the nucleobase code (DNA sequencing), and recovery of digital information from nucleotide sequences (decoding) [8]. Long-term in vitro storage constitutes a suitable background for researchers to reproduce novel methods by enhancing the given substages. Accordingly, this branch of research was addressed in this study.
In 2014, Hafeez et al. proposed a robust data-hiding model for watermarking DNA sequences called “DNA-LCEB”. In this model, the phenomenon of silent mutations (i.e., synonymous substitutions) for storing data in the degenerative codons of the DNA coding region has been exploited. The authors claimed that DNA-LCEB exploited the entire coding region for watermark storage, thus leading to a better storage capacity [9]. In 2018, Lee et al. proposed a method in which they addressed two approaches to reversible DNA data hiding using multiple difference expansions. In this method, the string sequences of four characters (A, T, C, G) of noncoding DNA sequences were converted into decimal-coded values, and the watermark was embedded into a coded value sequence using two approaches: DE-based multiple-bit embedding (DE-MBE) using pairs of neighboring values and consecutive DE-MBE (CDE-MBE) using previously embedded coded values [10]. In 2019, Rahman et al. presented a lossless DNA sequence hiding method to authenticate DNA sequences in the context of mobile cloud-based healthcare systems. In the proposed method, authentication data are hidden and extracted, and the DNA sequence is reconstructed without any loss of information. Security analysis and experiments regarding performance were performed in the scope of their study [11]. In 2022, Song et al. proposed a de novo strand assembly algorithm (DBGPS) using a de Bruijn graph and a greedy path search. They claimed that DBGPS had substantial advantages in handling DNA breaks, rearrangements, and indels. In the proposed study, the robustness of DBGPS was demonstrated through accelerated aging, multiple independent data retrievals, deep error-prone PCR, and large-scale simulations [3]. In 2023, Lenz and Zeh proposed a communication system in which information is transferred over many sequences in parallel. In this system, the receiver cannot control access to these sequences and can only draw from these sequences, unaware of which sequence has been drawn. Furthermore, the drawn sequences were susceptible to errors. Moreover, the information capacity was computed for a wide range of parameters and a general class of drawing distributions [12]. In 2024, Hong et al. proposed a novel Video Segmentation and Storage in DNA (VSD) method that relies on an innovative video segmentation strategy and a quadratic coding model and uses efficient indexing. This proposed encoding model based on the RS error-correcting code efficiently balances the storage density, combinatorial bio-constraints, and time efficiency, thereby reducing overhead costs [8]. Preuss et al. presented a novel approach for encoding information in DNA, using combinatorial encoding and shortmer DNA synthesis, leading to an efficient sequence design and improved DNA synthesis and readout interpretation. This method leverages the advantages of combinatorial encoding schemes while relying on existing DNA chemical synthesis methods with some modifications. They mentioned that the use of short DNA synthesis also minimized the effects of synthesis and sequencing errors [13]. Cao et al. proposed parity encoding and a local mean iteration (PELMI) scheme to achieve the robust DNA storage of images. They mentioned that the proposed parity-encoding scheme satisfied the common biochemical constraints of DNA sequences and undesired motif content. It addresses varying pixel weights at different positions for binary data, thus optimizing the utilization of the Reed–Solomon error correction. They claimed that PELMI achieved image reconstruction with general errors (insertion, deletion, and substitution) and enhanced DNA sequence quality [14].
In this study, A DNA data storage method using spatial encoding-based lossless compression was proposed. The proposed approach employs a vector representation of each DNA base in a two-dimensional (2D) spatial domain for both the encoding and decoding phases. This representation of input data renders the proposed method suitable for efficient compression. The structure of the proposed method is reversible, which renders decoding possible without any information loss. Experimental studies were performed by conducting capacity, compression ratio, stability, and reliability analyses. The obtained results show that the proposed method is much more efficient in terms of capacity than other known algorithms in the literature. Moreover, significant results were achieved in terms of the compression ratio, stability, and reliability. This paper is organized into four sections. A brief description of the DNA structure and the proposed DNA storage approach has been explained in Section 2, titled “Materials and Methods”. The performed experiments and their results are presented in Section 3, titled “Experimental Results”. Finally, a general outcome has been reached in Section 4, titled “Discussion”.

2. Materials and Methods

In this section, the DNA structure and details of the developed approach are explained step-by-step.

2.1. DNA Structure

In the DNA structure, each nucleotide consists of one of four bases: adenine (A), guanine (G), cytosine (C), and thymine (T). A and G are purines, whereas T and C are pyrimidines. In Figure 1, the double helix structure of DNA is presented [15].
In DNA’s double-helical form, “A” joins with “T”, and “C” joins with “G”. Since DNA is known as the “instruction of life”, DNA sequences are not expected to be random and are expected to be suitable for storage. In DNA, a repeat subsequence is a copy of a previous subsequence, either forward or reverse. This yields highly repetitive patterns in the DNA sequences. When a human genetic repository is investigated, it is estimated that 55% of the human genome contains repetitive DNA nucleotides [16].

2.2. Encoding Phase of ASCDNA

Step 1: The binary data can be directly considered as an input for the encoding phase, or the DNA sequence that is represented in binary form via traditional 2 bits per symbol substitution (as depicted in Table 2) can be considered as an input for the encoding phase.
Let S be the original sequence, n the length of the sequence, and B the binary form of the sequence. Accordingly, B production can be formulated as follows:
B = i = 1 n ( S ) 2
Here, we consider that base 2 represents 2 bits per symbol DNA substitution instead of algebraic base 2. The aim of employing a binary stream is to prepare an appropriate background for estimation in the 2D spatial domain, as shown in Figure 2a.
Step 2: In Step B, the bit stream obtained from Step 1 is divided into words called w. The length w is three. W, which is the set of all ws, can be described as follows:
W = { w : w B   ;   w = 3 }
The aim of truncating the input bit stream (B) into words of length 3 (w) is to render the input suitable using the base vectors shown in Figure 2b.
Step 3: In this step, every word w of W is extended to a length of four (let us call it w′) by concatenating the MSB (Most Significant Bit) with 0. Here, the aim of concatenating the MSB of w with a 0 is first, the ease of searching and computing in the 2D spatial domain (please note that each vector has four bits in the 2D spatial domain depicted in Figure 2a). Second, the value of each w does not change by concatenating the MSB with 0 s. This operation is the first part of the compression process in the encoding phase. As a result, we obtain a new set that can be described as follows:
W = i = 1 n × 2 3 0 | | w i
In Equation (4), W′ can be described as follows:
W = { w : w = 4   ;     w = 0 w }
As a result of the operations that prepare the input suitable for the search in the 2D spatial domain, the encoding process can be implemented as explained in the following steps.
Step 4: In this step, each w′ is subjected to an encoding process by considering the arranged 2D spatial domain, as presented in Figure 2a.
The usage of the 2D spatial domain represents a basis for further developments. Note that this coordinate plane has been separated into two regions: Cluster 0 and Cluster 1. In every cluster, the four vectors were chosen as identical in length but different in dimension since there are four DNA bases (A, G, C, T) and four combinations of 2 bits (00, 01, 10, 11). This design is suitable with the traditional bit–base translation presented in Table 2. However, we aimed to increase the encoding efficiency of this traditional scheme. In Figure 2a, notice that there are 8 vectors and that 4 of them are identical. For this reason, cluster regions (Clusters 0 and 1) are necessary. By means of the usage of these clusters in the 2D spatial domain, the 4-bit combination has been increased to 8. When the Cluster 0 region is considered, notice that the LSBs (Least Significant Bits) of C and T are concatenated with 00 and that the LSBs of A and G are concatenated with 01. Similarly, when the Cluster 1 region is considered, notice that the LSBs (Least Significant Bits) of C and T are concatenated with 10 and that the LSBs (Least Significant Bits) of A and G are concatenated with 11. This design enables us to store 3 bits in one DNA base by increasing the traditional 4-bit combinations that match with the four DNA bases to 8. In Figure 2b, these four vectors are provided in detail for ease of understanding. In this study, we aimed to benefit from the vector representations of DNA bases for encoding. Let us call them base vectors.
Let us explain the purpose of the design and usage of the base vector representation and 2D spatial domain using a simple example. Suppose that w = 010 as a result of Steps 1 and 2. It is obvious that w′ is estimated as 0010 after Step 3 by concatenating the MSB of w with 0. When w′ = 0010 is searched in the 2D spatial domain by dividing it into two equal patterns in length, it can be easily observed that it resides in the Cluster 1 region (on the bottom left side in Figure 2a). Moreover, it is obvious that the green base vector matches this w′ pattern, whose value is 0010. Accordingly, it can be estimated that the corresponding base for this w′ pattern is T. Thus, T is obtained for a 010 bit stream whose length is 3.
Let us consider another w = 001 after Steps 1 and 2. Again, after Step 3, w′ is estimated to be 0001 by concatenating the MSB of w with 0. When w′ = 0001 is searched in the 2D spatial domain two by two, it can be seen that this pattern resides in the Cluster 0 region (on the bottom right side in Figure 2a). It is evident that the black base vector matches the w’ pattern, whose value is 0001. Therefore, the corresponding base is G for the w′ pattern. Thus, G is obtained for a 001 bit stream with a length of 3.
For every given binary input, all DNA bases were estimated in this manner. This is the step in which compression occurs. Here, note that three bits are represented by only one DNA base. However, it is very valuable to mention that this encoding exceeds the limitation of traditional DNA base–bit transformation, where two bits are represented as only one DNA base. This result yielded significantly better compression ratios and capacities, which are important performance measures. In Table 3, the computation results including Steps 1–4 have been provided for the given B. Here, B has been separated into words of length three, namely, ws has been estimated (Step 2). Subsequently, the MSB part of every w is concatenated with 0 (Step 3). Thus, we obtain w′. After obtaining w′, we search it on the coordinate plane shown in Figure 2a, two by two. Thus, we obtain the corresponding base vector and cluster given in the 4th and 5th rows of Table 3, respectively.
Step 5: The primer sequence was estimated for the synthesis of the previously obtained DNA sequence in Step 4. This was performed as shown in Table 4.
Consider the last row of Table 3, labelled as cluster. Note that the cluster section is in binary form. Two numbers were used to determine the corresponding primer base for synthesis. This transformation was implemented. For example, for 1 and 0, the first pair corresponds to G (Table 4); for 1 and 0, the second pair corresponds to G. This is the step at which compression ends. Some output instances for Steps 1–5 have been provided in Table 5.
At the end of the encoding, the resulting DNA sequence was formed as follows:
PRIMER//DNA: GGACGCACGG//TGTAGATTTTTTTGTGTTTA
Here, please note that the Primer sequence is half the length of the DNA Base sequence. This is due to the consideration of numbers in the cluster sequence two by two to find the cluster, as shown in Table 4. A flowchart of the encoding phase is shown in Figure 3.

2.3. Decoding Phase of ASCDNA

Step 1. In this step, we begin estimations by considering the output sequence that has been obtained at the end of the encoding phase after Step 5:
GGACGCACGGTGTAGATTTTTTTGTGTTTA
Note that 1/3 of the resulting DNA sequence (on the left side) corresponds to primers (refer to the last paragraph of Step 5 in Section 2.2). Accordingly, the sequence can be expressed as
PRIMER//DNA: GGACGCACGG//TGTAGATTTTTTTGTGTTTA
Step 2: By considering the primer sequence in Step 1, the correct cluster stream in the form of DNA bases can be obtained as follows:
GGACGCACGG
We have to convert this primer sequence to a binary sequence in order to perform reversible estimations on the 2D spatial domain. When Table 4 is considered, it can be observed that G corresponds to 10. This result corresponds to Clusters 1 and 0. The second G value in the sequence corresponds to 10, as shown in Table 4. This result again gives Clusters 1 and 0. Thus, the corresponding cluster stream can be obtained individually in binary form as follows:
Cluster = {1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0}
Step 3: In this step, we have two arguments for obtaining B. We have a cluster stream of binary and DNA bases. Now, it is possible to search for the DNA base of concern in the 2D spatial domain (Figure 2a). Thus far, we have obtained the cluster from Step 2 and DNA base from Step 1 (which is the output of the encoding phase).
DNA Base = {T, G, T, A, G, A, T, T, T, T, T, T, T, G, T, G, T, T, T, A}
Cluster = {1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0}
Let us consider the first elements of each array, T, and 1. This means searching the base T vector in Cluster 1 by employing a 2D spatial domain to obtain w′ (please refer to Figure 2a,b). Accordingly, we obtained the corresponding bit pattern for base T in Cluster 1, which is 0010. Each w′ for each element in the DNA base can be estimated in this manner. Thus, W′ is obtained.
Step 4: In this step, each w ϵ W is obtained by omitting 0 from the MSB of each w′ ϵ W′. Recall the structure of w′ ϵ W′ from Equations (3) and (4)
W = i = 1 n × 2 3 0 | | w i
W = { w : w = 4 ,   w = 0 w
By omitting 0 from the MSB of w′, we obtain W as
W = i = 1 n × 2 3 T r u n c a t e   ( M S B ,     w i )
The words W can be described as follows:
W = { w : w = 3   &   w = T r u n c a t e   ( M S B ,     w i ) }
For instance, remember that w′ = 0010 from the previous step. We can obtain w by omitting 0 from the MSB. Thus, w = 010. All ws in W can be obtained in the same way by searching for the next DNA base in the cluster of concern in the 2D spatial domain.
Step 5: After obtaining W, we concatenate its elements to obtain B:
B = i = 1 n × 2 3 w i | | w i + 1
Please remember that B was formed by a traditional 2-bit per symbol DNA substitution if the input is a DNA sequence. Finally, if necessary, by employing the reverse of this two-by-two substitution procedure, the original input DNA sequence is obtained as follows:
S = i = 1 n × 2 R e v e r s e _ S u b s t i t u t i o n   ( b i , b i + 1 )
A flowchart of the decoding phase is shown in Figure 4.

3. Experimental Results

In this section, experiments are conducted by providing the storage capacity, compression ratio, GC content, and reliability analyses. Moreover, a comparison of the proposed method with other contemporary methods in the literature was carried out by considering the storage capacity, which is widely used, and a concrete measurement criterion. The experiments were conducted using the C# programming language on a personal computer with an Intel i7 2.2 GHz CPU and 6 GB of RAM.

3.1. Storage Capacity

Simulation experiments were performed to measure the storage capacity. The storage capacity is computed in terms of bits stored per nucleotide, bpn, which is defined as follows [9]:
b p n = b i t s   s t o r e d s e q u e n c e   l e n g t h
In Equation (9), “the stored bits” indicate the total number of bits stored in DNA. “sequence length” indicates the total number of bases in DNA. For unbiased evaluation, the proposed method was applied to a standard dataset of DNA sequences. The dataset contains 11 sequences, including two chloroplast genomes (CHMPXX and CHNTXX), five human genes (HUMDYSTROP, HUMGHCSA, HUMHBB, HUMHDABCD, and HUMHPRTB), two mitochondrial genomes (MPOMTCG and MTPACG), and two viral genomes (HEHCMVCG and VACCG). The details of the employed dataset files and the results of the experiments are presented in Table 6.
In Table 6, the encoding phase was performed by employing the dataset files provided in the left column. The obtained capacity ratios are presented in terms of bits per nucleotide (bpn). It can be obviously seen that the obtained bpn values stayed stable and that the average bpn value is close to 2. In Figure 5, the bpn rates were investigated by incrementing the dataset length 1000 by 1000 to 10,000 bases. We performed 10 investigations per dataset, for a total of 110 investigations. Each dataset was investigated, and the bpn rates were estimated separately. In Figure 5, it can be seen that the bpn values were approximately 1.99 and stayed stable.
In contrast to the experiments and comparisons mentioned above, the proposed method has been compared with other contemporary methods in the literature by considering the capacity in terms of bpn, as presented in Table 7. The reason for considering capacity as a comparison criterion is its wide usage and the fact that it is a concrete and reachable content in many papers. The carrier medium and storage capacities in each study are presented in Table 7. The storage capacity was increased to 1.99 by the proposed method.

3.2. Compression Ratio

The compression ratio (CR), which is another widely used performance metric in many compression techniques, is computed according to the following formula:
C R ( % ) = S o u t S i n × 100
where Sout is the compressed stream (after compression) and Sin is the input stream size (before compression). The lower the CR value is, the more efficient the compression [30]. As can be seen from Table 8, the CR stayed stable at 50%.
In order to have a concrete example, let us consider the input stream given in Table 5 (please refer to Section 2.2.):
B (Bit Stream) = { 010 001 010 101 001 101 010 010 010 000 010 010 000 001 010 011 010 000 010 101}
Here, we have 60 symbols in this input stream. Then, let us consider the resultant stream, which is the concatenated form of the primer and DNA bases:
PRIMER//DNA: {GGACGCACGGTGTAGATTTTTTTGTGTTTA}
There are 30 symbols in the output stream. It is obvious that a 50% CR was obtained when the symbols in both the input and output streams were rated.

3.3. GC Content

As previously mentioned, the four basic bases of the DNA sequence are A, T, C, and G. In DNA, the GC content determines the thermal stability of the sequence [28]. For DNA sequences with length n, the GC content is computed as follows:
G C n = G + | C | | n |
The smaller the ratio, the more stable are the physical properties of the sequences [31]. The details of the experiments performed for the GC content are provided in Table 9.
For the proposed method, the average GC content was estimated as 46.2%, as shown in Table 9. Because the GC content affects the DNA data storage stability and read accuracy, this rate is sufficiently high to ensure the recovery of the original input data [8].

3.4. Reliability

In the proposed study, a 9588 bp chain of DNA was synthesized with the support of Düzce University Scientific Research Projects Coordinators. The synthesized DNA chains were stored in tubes as shown in Figure 6.
After synthesizing the DNA chain, it is essential to obtain the original DNA sequence by re-reading it. This process is known as DNA sequencing. The details of the multiple sequence analysis for the same input are presented in Figure 7. The experiments showed that the original input stream could be obtained without any information loss. Here, after sequencing the 9588 bp DNA chain, it was observed that the synthesized and sequenced DNA chains matched with each other without any loss of information. This synthesized 9588 bp DNA chain was encapsulated in a plasmid for ease of storage.

4. Discussion

In recent years, significant efforts have been made to adapt digital data storage processes to computational biology tasks. With the development of Sanger sequencing technology, DNA sequences have been collected and manipulated using computers. This has yielded a new and attractive field of bioinformatics and DNA data storage.
In this study, a DNA data storage method using spatial encoding-based lossless compression, which is based on the vector representation of DNA bases and processing them on a 2D spatial domain, was proposed. It was observed that the experimental results of the proposed method had better accuracy rates than those of previously known algorithms in the literature when the storage capacity is considered in terms of bpn. Moreover, significant compression ratios for storage and GC content values for the stability of the sequence were achieved. The reliability of the proposed method was evaluated by performing multiple DNA sequencing analyses. The proposed method has a storage capacity of 1.99 in terms of bpn. This was mainly due to the use of the 2D spatial domain and vector representation of DNA bases in the proposed study. Another advantage of the proposed approach is that it enables the storage of 3 bits in one DNA base. This exceeds traditional encoding schemes, where 2 bits are stored in one DNA base. In addition, this method occupies a small area of memory during the simulation.
However, increasing the storage capacity via the compression ratio is a valuable problem that needs to be addressed. In the proposed method, 3 bits correspond to one base. First, we aim to increase this rate in future studies. We aim to address this issue by adapting the proposed method to the 3D spatial domain. In this way, we aim to benefit from the variations in the directions of vector representations to increase the amount of stored bits in one DNA base. In addition, this will enable us to use error-correcting codes (if needed) without affecting the storage capacity. Another important issue that needs to be addressed is the practical running time. DNA will not be fast enough to compete with optical, magnetic, or quantum formats in the foreseeable future. The use of primers renders the DNA strand accessible during sequencing. In addition, to provide a more developed random-access mechanism, hash codes can be used as fingerprints. Finally, the implementation of the proposed method using living organisms and mutation resistance must be investigated. This presents a new challenge by enabling the proposed method to carry information from one generation to another. However, this process requires a long, detailed, and expensive in vivo experiment because the preservation of the synthesized DNA is difficult in living organisms owing to mutations and amplifications.

Funding

The experimental stages of the proposed study were supported by the Düzce University Scientific Research Projects Coordinators (project number 2016.06.01.502) for the project called ‘‘Data Storage in the DNA Chain”.

Data Availability Statement

The following 11 benchmark standard datasets of DNA sequences were used in this study. The datasets consist of two chloroplast genomes (CHMPXX and CHNTXX), five human genes (HUMDYSTROP, HUMGHCSA, HUMHDABCD, HUMHBB, and HUMHPRTB), two mitochondria genomes (MPOMTCG and MTPACG); two viral genomes (HEHCMVCG and VACCG). The data used in the scope of the experiments performed in this study can be accessed via the provided link: https://encode.su/threads/2105-DNA-Corpus (accessed on 19 December 2024).

Conflicts of Interest

The author certifies that they have no affiliations with or involvement in any organization or entity with any financial or nonfinancial interest in the subject matter or materials discussed in this manuscript.

References

  1. Lin, Y.; Xie, Z.; Chen, T.; Cheng, X.; Wen, H. Image privacy protection scheme based on high-quality reconstruction DCT compression and nonlinear dynamics. Expert. Syst. Appl. 2024, 257, 124891. [Google Scholar] [CrossRef]
  2. Li, H.; Zhang, L.; Cao, H.; Wu, Y. Hash Based DNA Computing Algorithm for Image Encryption. Appl. Sci. 2023, 13, 8509. [Google Scholar] [CrossRef]
  3. Song, L.; Geng, F.; Gong, Z.Y.; Chen, X.; Tang, J.; Gong, C.; Zhou, L.; Xia, R.; Han, M.Z.; Xu, J.Y.; et al. Robust data storage in DNA by de Bruijn graph-based de novo strand assembly. Nat. Commun. 2022, 13, 5361. [Google Scholar] [CrossRef] [PubMed]
  4. Garafutdinov, R.R.; Chemeris, D.A.; Sakhabutdinova, A.R.; Kiryanova, O.Y.; Mikhaylenko, C.I.; Chemeris, A.V. Chemeris, Encoding of non-biological information for its long-term storage in DNA. Biosystems 2022, 215, 104664. [Google Scholar] [CrossRef]
  5. Lee, S.-J.; Cho, G.-Y.; Ikeno, F.; Lee, T.-R. BAQALC: Blockchain Applied Lossless Efficient Transmission of DNA Sequencing Data for Next Generation Medical Informatics. Appl. Sci. 2018, 8, 1471. [Google Scholar] [CrossRef]
  6. Tong, J.; Han, G.; Sun, Y. An Improved Marker Code Scheme Based on Nucleotide Bases for DNA Data Storage. Appl. Sci. 2023, 13, 3632. [Google Scholar] [CrossRef]
  7. Zhirnov, V.; Zadegan, R.M.; Sandhu, G.S.; Church, G.M.; Hughes, W.L. Nucleic acid memory. Nat. Mater. 2016, 15, 366–370. [Google Scholar] [CrossRef]
  8. Hong, J.; Rasool, A.; Wang, S.; Ziou, D.; Jiang, Q. VSD: A Novel Method for Video Segmentation and Storage in DNA Using RS Code. Mathematics 2024, 12, 1235. [Google Scholar] [CrossRef]
  9. Hafeez, I.; Khan, A.; Qadir, A. DNA-LCEB: A high-capacity and mutation-resistant DNA data-hiding approach by employing encryption, error correcting codes, and hybrid twofold and fourfold codon-based strategy for synonymous substitution in amino acids. Med. Biol. Eng. Comput. 2014, 52, 945–961. [Google Scholar] [CrossRef] [PubMed]
  10. Lee, S.H.; Lee, E.J.; Hwang, W.J.; Kwon, K.R. Reversible DNA data hiding using multiple difference expansions for DNA authentication and storage. Multimed. Tools Appl. 2018, 77, 19499–19526. [Google Scholar] [CrossRef]
  11. Rahman, M.S.; Khalil, I.; Yi, X. A lossless DNA data hiding approach for data authenticity in mobile cloud based healthcare systems. Int. J. Inf. Manag. 2019, 45, 276–288. [Google Scholar] [CrossRef]
  12. Lenz, A.; Siegel, P.H.; Wachter-Zeh, A.; Yaakobi, E. The Noisy Drawing Channel: Reliable Data Storage in DNA Sequences. IEEE Trans. Inf. Theory 2023, 69, 2757–2778. [Google Scholar] [CrossRef]
  13. Preuss, I.; Rosenberg, M.; Yakhini, Z.; Anavy, L. Efficient DNA-based data storage using shortmer combinatorial encoding. Sci. Rep. 2024, 14, 7731. [Google Scholar] [CrossRef] [PubMed]
  14. Cao, B.; Wang, K.; Xie, L.; Zhang, J.; Zhao, Y.; Wang, B.; Zheng, P. PELMI: Realize robust DNA image storage under general errors via parity encoding and local mean iteration. Brief. Bioinform. 2024, 25, bbae463. [Google Scholar] [CrossRef] [PubMed]
  15. Sukumaran, S.C.; Mohammed, M. PCR and Bio-signature for data confidentiality and integrity in mobile cloud computing. J. King Saud. Univ. Comput. Inf. Sci. 2021, 33, 426–435. [Google Scholar] [CrossRef]
  16. Cao, M.D.; Dix, T.I.; Allison, L.; Mears, C. A Simple Statistical Algorithm for Biological Sequence Compression. In Proceedings of the 2007 Data Compression Conference (DCC’07), Snowbird, UT, USA, 27–29 March 2007; pp. 43–52. [Google Scholar] [CrossRef]
  17. Kac, E. Genesis: A Transgenic Artwork. In Art, Technology, Consciousness: Mind@large, 1st ed.; Ascott, R., Ed.; Intellect: Monmouth Junction, NJ, USA, 2000; pp. 17–19. [Google Scholar] [CrossRef]
  18. Church, G.M.; Gao, Y.; Kosuri, S. Next-generation digital information storage in DNA. Science 2012, 337, 1628. [Google Scholar] [CrossRef] [PubMed]
  19. Goldman, N.; Bertone, P.; Chen, S.; Dessimoz, C.; LeProust, E.M.; Sipos, B.; Birney, E. Towards practical, high-capacity, low-maintenance information storage in synthesized DNA. Nature 2013, 494, 77–80. [Google Scholar] [CrossRef] [PubMed]
  20. Grass, R.N.; Heckel, R.; Puddu, M.; Paunescu, D.; Stark, W.J. Robust chemical preservation of digital information on DNA in silica with error-correcting codes. Angew. Chem. Int. Ed. Engl. 2015, 54, 2552–2555. [Google Scholar] [CrossRef] [PubMed]
  21. Yazdi, S.M.H.T.; Yuan, Y.; Ma, J.; Zhao, H.; Milenkovic, O. A rewritable, random-access DNA-based storage system. Sci. Rep. 2015, 5, 14138. [Google Scholar] [CrossRef]
  22. Blawat, M.; Gaedke, K.; Huetter, I.; Chen, X.-M.; Turczyk, B.; Inverso, S.; Pruitt, B.; Church, G. Forward error correction for DNA data storage. Procedia Comput. Sci. 2016, 80, 1011–1022. [Google Scholar] [CrossRef]
  23. Yazdi, S.M.H.T.; Gabrys, R.; Milenkovic, O. Portable and error-free DNA-based data storage. Sci. Rep. 2017, 7, 5011. [Google Scholar] [CrossRef] [PubMed]
  24. Erlich, Y.; Zielinski, D. DNA Fountain enables a robust and efficient storage architecture. Science 2017, 355, 950–954. [Google Scholar] [CrossRef] [PubMed]
  25. Organick, L.; Ang, S.D.; Chen, Y.J.; Lopez, R.; Yekhanin, S.; Makarychev, K.; Racz, M.Z.; Kamath, G.; Gopalan, P.; Nguyen, B.; et al. Random access in large-scale DNA data storage. Nat. Biotechnol. 2018, 36, 242–248. [Google Scholar] [CrossRef] [PubMed]
  26. Wang, Y.; Noor-A-Rahim, M.; Zhang, J.; Gunawan, E.; Guan, Y.L.; Poh, C.L. High capacity DNA data storage with variable-length oligonucleotides using repeat accumulate code and hybrid mapping. J. Biol. Eng. 2019, 13, 89. [Google Scholar] [CrossRef]
  27. Antkowiak, P.L.; Lietard, J.; Darestani, M.Z.; Somoza, M.M.; Stark, W.J.; Heckel, R.; Grass, R.N. Low cost DNA data storage using photolithographic synthesis and advanced information reconstruction and error correction. Nat. Commun. 2020, 11, 5345. [Google Scholar] [CrossRef] [PubMed]
  28. Yang, K.; McCloskey, C.M.; Chaput, J.C. Reading and writing digital information in TNA. ACS Synth. Biol. 2020, 9, 2936–2942. [Google Scholar] [CrossRef]
  29. Chen, W.; Han, M.; Zhou, J.; Ge, Q.; Wang, P.; Zhang, X.; Zhu, S.; Song, L.; Yuan, Y. An artificial chromosome for data storage. Natl. Sci. Rev. 2021, 8, nwab028. [Google Scholar] [CrossRef]
  30. Chłopkowski, M.; Walkowiak, R. A general purpose lossless data compression method for GPU. J. Parallel Distrib. Comput. 2015, 75, 40–52. [Google Scholar] [CrossRef]
  31. Li, X.; Zhou, S.; Zou, L. Design of DNA Storage Coding with Enhanced Constraints. Entropy 2022, 24, 1151. [Google Scholar] [CrossRef]
Figure 1. The double helix structure of DNA [15].
Figure 1. The double helix structure of DNA [15].
Entropy 26 01116 g001
Figure 2. (a) The designed 2D spatial domain including DNA base vectors used for encoding and decoding. (b) Vector representation of DNA bases.
Figure 2. (a) The designed 2D spatial domain including DNA base vectors used for encoding and decoding. (b) Vector representation of DNA bases.
Entropy 26 01116 g002
Figure 3. Flowchart of encoding phase.
Figure 3. Flowchart of encoding phase.
Entropy 26 01116 g003
Figure 4. Flowchart of decoding phase.
Figure 4. Flowchart of decoding phase.
Entropy 26 01116 g004
Figure 5. Compression ratios according to dataset types and lengths.
Figure 5. Compression ratios according to dataset types and lengths.
Entropy 26 01116 g005
Figure 6. The synthesized DNA chain for conservation.
Figure 6. The synthesized DNA chain for conservation.
Entropy 26 01116 g006
Figure 7. The detailed multiple reading results for the same input.
Figure 7. The detailed multiple reading results for the same input.
Entropy 26 01116 g007
Table 1. Digital information carriers [4].
Table 1. Digital information carriers [4].
Carrier MediumCarrier CapacityTime to AccessService Life
SSD (Solid State Drive)≈1 TBms≈10 years
CD, DVD, Blue Ray disks≈128 GBms≈tens of years
HDD (Hard Disk Drive)≈10 TB10 ms≈10 years
Magnetic Tapes≈100 TBminutes≈15–30 years
DNA≈hundreds of EBtens of hourscenturies
Table 2. Bit–base translation table [9].
Table 2. Bit–base translation table [9].
Bits in Computer SystemsOligos in DNA Molecule
00T
01G
10C
11A
Table 3. Sample computation results for Steps 1–4.
Table 3. Sample computation results for Steps 1–4.
B (Bit Stream)010001010101001101010010010000010010000001010011010000010101
w010 001 010 101 001 101 010 010 010 000 010 010 000 001 010 011 010 000 010 101
w0010 0001 0010 0101 0001 0101 0010 0010 0010 0000 0010 0010 0000 0001 0010 0011 0010 0000 0010 0101
DNA BaseTGTAGATTTTTTTGTGTTTA
Cluster10100011101100111010
Table 4. Base–bit translation table.
Table 4. Base–bit translation table.
A00
T01
G10
C11
Table 5. Computation results for Steps 1–5.
Table 5. Computation results for Steps 1–5.
B (Bit Stream)010 001 010 101 001 101 010 010 010 000 010 010 000 001 010 011 010 000 010 101
w010 001 010 101 001 101 010 010 010 000 010 010 000 001 010 011 010 000 010 101
w0010 0001 0010 0101 0001 0101 0010 0010 0010 0000 0010 0010 0000 0001 0010 0011 0010 0000 0010 0101
DNA BaseTGTAGATTTTTTTGTGTTTA
Cluster10100011101100111010
PrimerGGACGCACGG
Table 6. Experimental results in terms of bpn according to datasets.
Table 6. Experimental results in terms of bpn according to datasets.
SequenceBits Before Compression (Base × 8)Base After CompressionCapacity
(Bits/Bases-bpn)
CHMPXX968,192484,0961.99999587
CHNTXX1,246,752623,3762
HEHCMVCG1,834,832917,4161.99999782
HUMDYSTROP310,160155,0801.9999871
HUMGHCSA531,960265,9802
HUMHBB586,464293,2322
HUMHDAB470,912235,4561.99999151
HUMHPRTB453,896226,9481.99999119
MPOMTCG1,492,864746,4321.99999866
MTPACG802,512401,2562
-VACCG1,533,896766,9481.99999739
Average 1.999996322
Table 7. Comparison results of the proposed method with other contemporary methods [4].
Table 7. Comparison results of the proposed method with other contemporary methods [4].
ReferenceCarrierShort DescriptionCapacity (bpn)
Kac and Ascott (2000) [17]E.coli plasmidThey created a gene by translating a sentence from the biblical book of Genesis into Morse Code and converting the Morse Code into DNA bases via a special conversion principle.1.75
Church et al. (2012) [18]syntheticThey developed a strategy where a 5.27-megabit book was written using DNA microchips and read the book by using next-generation DNA sequencing.0.6
Goldman et al. (2013) [19]syntheticThey encoded 739 kilobytes of hard-disk storage in DNA and synthesized this DNA. Then, they sequenced it and reconstructed the original files with 100% accuracy.0.33
Hafeez et al. (2014) [9]Amine acidsMentioned in Section 1.0.52
Grass et al. (2015) [20]syntheticThey encapsulated DNA in an inorganic matrix and employed error-correcting codes for storage. They translated 83 kB of information to 4991 DNA segments that were encapsulated in silica.1.187
Yazdi et al. (2015) [21]syntheticThey described the first DNA-based storage architecture that enables random access to data blocks and the rewriting of information stored at arbitrary locations within the blocks.1.575
Blawat et al. (2016) [22]syntheticThey developed an efficient forward error-correcting scheme adapted to DNA channels. They stored and retrieved error-free 22 MByte of digital data in synthetic DNA.0.89
Yazdi et al. (2017) [23]syntheticThey designed a portable, random-access platform that may be implemented in practice using nanopore sequencers.1.72
Erlich and Zielinski (2017) [24]syntheticThey presented the DNA Fountain method that is highly robust and approaches the information capacity per nucleotide. They stored a total of 2.14 × 106 bytes in DNA and retrieved the information successfully.1.55
Organick et al. (2018) [25]syntheticThey stored 35 different files from 29 Kb to 44 Mb including the “Declaration of Human Rights” in more than 100 languages, music video “This Too Shall Pass”, and a list of plant species from the seed database stored at the Global Seed Vault in Svalbard.0.81
Lee et al. (2018) [10]syntheticMentioned in Section 1.≈0.4
Wang et al. (2019) [26]syntheticThey devised a DNA data storage scheme with variable-length oligonucleotides, where a hybrid DNA mapping scheme converts digital data to DNA records.1.67
Antkowiak et al. (2020) [27]syntheticThey presented a DNA storage system that relies on massively parallel light-directed synthesis, which is considerably cheaper than conventional solid-phase synthesis.0.94
Yang et al. (2020) [28]syntheticThey described a new molecular chemotype for data archiving based on the unnatural genetic framework of α-l-threofuranosyl nucleic acid (TNA).1.0
Chen et al. (2021) [29]Organic *They presented the de novo design and synthesis of an artificial chromosome that encodes two pictures and a video clip.1.19
Lenz and Zeh (2023) [12]syntheticMentioned in Section 1.1.0
Hong et al. (2024) [8]syntheticMentioned in Section 1.1.75
PELMİ (2024) [14]syntheticMentioned in Section 1.1.48
The proposed methodsyntheticExplained in Section 2.1.99
*: Artificial yeast chromosome.
Table 8. Compression ratio results according to datasets.
Table 8. Compression ratio results according to datasets.
SequenceBits Before Compression (Base × 8)Bases After CompressionCompression Ratio (%)
CHMPXX968,192484,09650
CHNTXX1,246,752623,37650
HEHCMVCG1,834,832917,41650
HUMDYSTROP310,160155,08050
HUMGHCSA531,960265,98050
HUMHBB586,464293,23250
HUMHDAB470,912235,45650
HUMHPRTB453,896226,94850
MPOMTCG1,492,864746,43250
MTPACG802,512401,25650
VACCG1,533,896766,94850
Average 50
Table 9. GC content results according to oligo length.
Table 9. GC content results according to oligo length.
Length of OligosFrequency of OligosGC Content
100A = 2145
G = 29
C = 16
T = 34
1000A = 120535
G = 235
C = 300
T = 345
10,000A = 25045243
G = 2487
C = 2756
T = 2253
100,000A = 32,15534,110
G = 17,569
C = 16,541
T = 33,735
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Şatır, E. A DNA Data Storage Method Using Spatial Encoding Based Lossless Compression. Entropy 2024, 26, 1116. https://doi.org/10.3390/e26121116

AMA Style

Şatır E. A DNA Data Storage Method Using Spatial Encoding Based Lossless Compression. Entropy. 2024; 26(12):1116. https://doi.org/10.3390/e26121116

Chicago/Turabian Style

Şatır, Esra. 2024. "A DNA Data Storage Method Using Spatial Encoding Based Lossless Compression" Entropy 26, no. 12: 1116. https://doi.org/10.3390/e26121116

APA Style

Şatır, E. (2024). A DNA Data Storage Method Using Spatial Encoding Based Lossless Compression. Entropy, 26(12), 1116. https://doi.org/10.3390/e26121116

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop