A design method for DNA storage coding with hidden addressing
Through the hidden addressing DNA storage encoding design method, using the robust solitary wave degree distribution function and fountain encoding, combined with the GC content and homopolymer filter constraints, the increase in data segmentation storage and indexing in the existing DNA storage technology is solved Cost is an issue, and efficient massive data storage and high-accuracy decoding are achieved.
Patent Information
- Application Number
- CN202210373179.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-11
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-04-11
AI Technical Summary
Existing DNA storage technology is limited by DNA synthesis technology, which requires segmented storage of data, resulting in increased synthesis and sequencing costs for index sequences, and it is difficult to achieve efficient mass data storage.
The hidden addressing DNA storage encoding design method is used to obtain the input data for grouping and segmentation, generate a robust solitary wave degree distribution function, select random seeds for fountain encoding, and filter according to GC content and homopolymer filter constraints DNA fragments enable independent coding and index replacement of data, reducing the probability of splicing errors.
It improves the local stability and decoding accuracy of DNA sequences, achieves random access to hidden addressing information and efficient data storage, and reduces the error probability of DNA sequences during the splicing process.
Smart Images

Figure CN114678074B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of coding design, and in particular to a hidden addressing DNA storage coding design method. Background Art
[0002] Currently, with the exponential growth of global data volumes, traditional storage media are no longer able to meet the demand for massive data storage. DNA, as a natural storage medium, offers advantages such as small size and high storage density, providing a stable, efficient, and sustainable solution for massive data storage. In the early 21st century, Church et al. first stored 659KB of data using in vitro synthesized DNA and were able to restore the original data without loss. This success broke the previous limitations of DNA storage, which limited it to small amounts of bytes. Prior to this work, the maximum amount of data stored was less than 1KB. Goldman et al. designed a DNA sequence capable of storing even more data, reaching 739KB. The success of these two experiments sparked a wave of research by numerous researchers, including those at Harvard University and Columbia University, propelling DNA storage into a new research hotspot.
[0003] DNA, as a new storage technology, generally involves first converting data into DNA sequences through some mapping method, then storing the data through in vitro synthesis, and finally decoding the original data through sequencing. Currently, due to limitations in DNA synthesis technology, DNA sequences must be stored in segments, which requires indexing to reconstruct the data. However, adding index sequences increases the cost of DNA sequence synthesis and sequencing. Summary of the Invention
[0004] In response to the above-mentioned defects in the existing technology, this application proposes a hidden addressable DNA storage coding design method, the resulting sequences locally meet the constraints that the GC content is between 40%-60% and the homopolymer run length does not exceed 4.
[0005] To achieve the above objectives, the technical solution of the present application is: a method for designing a hidden addressable DNA storage code, comprising:
[0006] Step 1: Obtain input data and convert it into binary data, group the binary data, and segment the data in each group to ensure independence between data and facilitate random access to subsequent files; generate a robust solitary wave degree distribution function based on the segmentation;
[0007] Step 2: Determine a degree according to the robust solitary wave degree distribution function, and then select a random seed (less than 1024), wherein the seed corresponds to the degree one-to-one to facilitate decoding of the fountain code;
[0008] Step 3: Select a data segment in the data group to perform XOR, and place the seed before the XOR data to form an XOR data segment;
[0009] Step 4: Convert the XOR data segment into a DNA segment according to the mapping method of {00, 01, 10, 11}→{A, C, G, T};
[0010] Step 5: Filter the DNA fragments according to the GC content and the constraints of the homopolymer filter, temporarily retain the DNA fragments that meet the constraints, and directly discard the DNA fragments that do not meet the constraints; the accuracy of the sequence sequencing process is improved by the constraints;
[0011] Step 6: Repeat steps 2-5 for each set of data until all seeds are used up and the encoding of the set of data is completed;
[0012] Step 7: Each set of encoded data is subjected to a fountain encoding process to achieve the conversion from data to DNA sequence.
[0013] Furthermore, the above method also includes:
[0014] Step 8: Select an index fragment from the DNA fragments retained in each data set as the index of the DNA fragment sequence; the DNA fragments used as the replacement index have low similarity to each other to reduce the probability of errors in the DNA sequence splicing process;
[0015] Step 9: Select several DNA fragments that match the index for decoding from the DNA fragments retained in each data set, and connect them to the index fragments in sequence;
[0016] Step 10: Finally, the DNA sequence corresponding to each set of data is output and the encoding is completed.
[0017] Furthermore, the robust solitary wave degree distribution function is obtained as follows:
[0018] Let the ideal solitary wave distribution ρ(d) be the probability distribution function over the integers, d∈[1,Z], where Z is the only parameter in the distribution, which is:
[0019]
[0020] Let τ(d) be the probability distribution function, which is:
[0021]
[0022] Here c>0 is a constant, δ∈(0,1] is the upper bound of the decoding probability, and d is the input variable. Therefore, the robust solitary wave degree distribution function is defined as:
[0023]
[0024] Where K is the normalization parameter, K = ∑ d ρ(d)+τ(d)=1.
[0025] By adopting the above technical solution, the present invention can achieve the following technical effects:
[0026] 1. The present invention first uses fountain coding to construct a DNA sequence that can hide addressing information, and uses grouping to make data independent of each other. The hidden index method can perform random access to files;
[0027] 2. Sequence reading is performed using a sequencing-by-synthesis approach. Therefore, controlling the local GC content and homopolymers of the DNA sequence during encoding improves the sequence thermodynamic properties, thereby promoting not only the local stability of the sequence but also the accuracy of decoding. This invention improves the local performance of the encoded sequence and promotes local stability during the short data encoding process.
[0028] 3. The data used for hiding addressing in the present invention are independent of each other, so the similarity is poor, which also improves the accuracy of the sequence in the decoding process. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 Flowchart for designing a method for hidden addressable DNA storage encoding. DETAILED DESCRIPTION
[0030] The following will provide a clear and complete description of the technical solutions implemented in the present invention in conjunction with the accompanying drawings. It should be understood that the embodiments described are only part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0031] The constraints involved in the present invention are that the GC content must be between 40% and 60% and the homopolymer run length cannot exceed 4. GC content refers to the percentage of G and C bases in a DNA sequence; homopolymer run length cannot exceed 4, which means that the same base cannot appear four or more times in a row in a DNA sequence.
[0032] Example 1
[0033] The embodiments of the present invention are implemented based on the technical solution of the present invention, and detailed implementation methods and specific operation processes are provided. However, the scope of protection of the present invention is not limited to the following embodiments. In the embodiment, the above method is used to encode a text file of size 529B, and the constraints satisfied are as described above.
[0034] Step 1: Obtain input data and convert it into binary data, divide the binary data into 22 groups, and divide the data in each group into 8 segments, each segment has 34 binary bits; generate a robust solitary wave degree distribution function based on the segmentation;
[0035] Step 2: Determine a degree based on the robust solitary wave degree distribution function, and then select a random seed (less than 1024, a total of 10 binary bits), the seed corresponding to the degree one-to-one, to facilitate decoding of the fountain code;
[0036] Step 3: Select a data segment in the data group to perform XOR, and place the seed before the XOR data to form an XOR data segment;
[0037] Step 4: Convert the XOR data segment into a DNA segment according to the mapping method of {00, 01, 10, 11}→{A, C, G, T};
[0038] Step 5: Filter the DNA fragments according to the GC content and the constraints of the homopolymer filter, temporarily retain the DNA fragments that meet the constraints, and directly discard the DNA fragments that do not meet the constraints;
[0039] Step 6: Repeat steps 2-5 for all 22 sets of data until all seeds are used up and the encoding of the set of data is completed;
[0040] Step 7: Each set of encoded data is subjected to a fountain encoding process to achieve the conversion from data to DNA sequence;
[0041] Step 8: Select an index fragment from the DNA fragments retained in each set of data as the index of the DNA fragment sequence;
[0042] Step 9: Select 7 DNA fragments that match the index for decoding from the DNA fragments retained in each data set, and connect them to the index fragments in sequence;
[0043] Step 10: Finally, the DNA sequence corresponding to each set of data is output and the encoding is completed;
[0044] The specific coding DNA sequence is shown in Table 1
[0045] Table 1 DNA sequences
[0046]
[0047]
[0048] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. It should be pointed out that ordinary technicians in this technical field can make several improvements and modifications without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for designing hidden addressable DNA storage code, characterized in that: include: Step 1: Obtain input data and convert it into binary data, group the binary data, and segment the data in each group, and generate a robust solitary wave degree distribution function according to the segmentation situation; Step 2: Determine a degree according to the robust solitary wave degree distribution function, and then select a random seed, wherein the seed corresponds to the degree one by one; Step 3: select a data segment in the data group to perform XOR, and place the seed in front of the XOR data to form an XOR data segment; Step 4: Convert the XOR data segment into a DNA segment according to the mapping method of {00, 01, 10, 11}→{A, C, G, T}; Step 5: filtering the DNA fragments according to the GC content and the constraints of the homopolymer filter, temporarily retaining the DNA fragments that meet the constraints, and directly discarding the DNA fragments that do not meet the constraints; Step 6: Perform steps 2-5 for each set of data until all seeds are used up and the encoding of the set of data is completed; Step 7: Each set of encoded data is subjected to a fountain encoding process to achieve the conversion from data to DNA sequence.
2. A hidden addressable DNA storage coding design method according to claim 1, characterized in that: Also includes: Step 8: Select an index fragment from the DNA fragments retained in each set of data as the index of the DNA fragment sequence; Step 9: Select several DNA fragments for decoding in accordance with the index from the DNA fragments retained in each set of data, and connect them with the index fragments in sequence; Step 10: Finally, the DNA sequence corresponding to each set of data is output and the encoding is completed.
3. A hidden addressable DNA storage coding design method according to claim 1, characterized in that: The robust solitary wave degree distribution function is obtained in the following manner: Let the ideal solitary wave distribution ρ(d) be the probability distribution function over integers, d∈[1,Z], where Z is the only parameter in the distribution, which is: Let τ(d) be the probability distribution function, which is: Here c>0 is a constant, δ∈(0,1] is the upper bound of the decoding probability, and d is the input variable. Therefore, the robust solitary wave distribution function is defined as: Where K is the normalization parameter, K = ∑ d ρ(d)+τ(d)=1.
Citation Information
Patent Citations
Method and device for quick contrast and analysis of short sequence for second-generation sequencing
CN106295250A
Code word design method for DNA storage
CN114023392A
