A DNA data storage method based on nanopore sequencing chip

By using composite nucleic acid molecules in DNA data storage, including payloads, primer sequences, and anchor sequences, combined with composite letter encoding and dynamic time warping algorithms, the problem of high insertion and deletion errors in nanopore sequencing is solved, and long sequences are achieved accurate processing and data storage.

CN118335197BActive Publication Date: 2024-09-24SOUTHERN UNIVERSITY OF SCIENCE AND TECHNOLOGY
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410772925.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-09-24
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

Existing technologies are difficult to effectively handle high insertion and deletion errors in high nanopore sequencing reads, especially for sequences >200 bp in length, and cannot be effectively applied to DNA data storage methods in nanopore sequencing chips.

Method used

Using composite nucleic acid molecules, including payload, primer sequence, barcode sequence and anchor sequence, the barcode sequence is generated through composite letter encoding and dynamic time warping algorithm based on Bhattacharyya distance, combined with incremental clustering algorithm to select representative sequences for generation Composite nucleic acid molecules capable of filtering and assembling nanopore sequencing data, and performing sequencing and data processing through nanopore sequencing chips.

Benefits of technology

It improves the accuracy of comparison, filtering and assembly of nanopore sequencing data, reduces the error rate, can effectively handle insertion and deletion errors in long sequences, and achieves efficient storage and recovery of DNA data storage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
  • Figure FT_2
    Figure FT_2
  • Figure FT_3
    Figure FT_3
Patent Text Reader

Abstract

The present invention provides a DNA data storage method based on a nanopore sequencing chip, which relates to the technical field of DNA data storage, including a payload, a primer sequence, a barcode sequence, and several anchor sequences uniformly distributed on the payload; the primer sequence is used to initiate the replication or amplification of a composite nucleic acid molecule; the barcode sequence is used to identify and track different DNA specific sequences; the payload is used to carry the DNA sequence of the intended data storage; the anchor sequence is used to filter data, relocate, and expand the barcode sequence space size. It can accurately filter high insertion and deletion errors in sequencing reads with a length of >200bp obtained by nanopore sequencing, improve accuracy, and solve the technical problem that the methods in the prior art cannot effectively handle high insertion and deletion errors in sequencing reads with a length of >200bp applied to high nanopore sequencing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of DNA data storage, and in particular to a DNA data storage method based on a nanopore sequencing chip. Background Art

[0002] DNA data storage technology has become a strong candidate for solving data storage problems in the future due to its advantages such as high density, long life and low energy consumption. Today, reading digital information from this high-density but lightweight medium relies on traditional second-generation sequencing technology, which takes several days to produce results. At the same time, the high cost also largely hinders the practical application of DNA data storage technology.

[0003] As an emerging sequencing method, the highly portable MinION sequencer can read the information of a single DNA similar to a voice signal. Unlike traditional communication channels, a major problem with current nanopore sequencing is the relatively high error rate, especially insertion and deletion errors, which account for the vast majority, which is different from the current situation where almost all substitution errors are in the widely used second-generation sequencing. The mainstream sequence alignment assembly algorithm is based on the second-generation sequencing technology, which mainly assembles short sequence fragments into long sequences and is not suitable for the ultra-long read length of nanopore sequencing. In addition, most of the current work stays on the four basic bases (A, C, G, T), but the additional use of degenerate bases (M, K, R, Y) can further improve the information storage density. These errors need to be corrected by complex algorithms and data processing. The large amount of data generated requires powerful computing resources and sophisticated analysis tools to process.

[0004] In order to solve the problem of high insertion and deletion error rates of nanopore sequencing reads, traditional sequencing methods have tried to use breadth-first search to correct the sequence, but due to the huge search space brought by the length of nanopore sequencing reads, the effect of this method is limited. In addition, due to the structural differences between base sequences, the number of different nanopore sequencing reads is different, which makes it difficult to recover DNA sequences stored using degenerate bases. For nanopore sequencing reads with high error rates, although the existing methods can solve the sequence assembly of shorter sequences (tens of bp), they cannot effectively process long sequences (>200bp).

[0005] In view of this, the present invention is proposed. Summary of the invention

[0006] One of the purposes of the present invention is to provide a composite nucleic acid molecule for DNA data storage to solve the technical problem that the methods in the prior art cannot effectively handle the high insertion and deletion errors in sequencing reads with a length >200bp applied to high nanopore sequencing.

[0007] A second object of the present invention is to provide a DNA data storage method based on a nanopore sequencing chip.

[0008] A third object of the present invention is to provide the use of the above-mentioned composite nucleic acid molecule or the above-mentioned DNA data storage method in the preparation of DNA molecules for in vitro data storage or the alignment, filtering and assembly of nanopore sequencing reads of DNA molecules for storing data.

[0009] In order to achieve the above-mentioned purpose of the present invention, the following technical solutions are particularly adopted:

[0010] In a first aspect, the present invention provides a composite nucleic acid molecule for DNA data storage, characterized in that it comprises a payload, a primer sequence, a barcode sequence, and a plurality of anchor sequences uniformly distributed on the payload;

[0011] The primer sequence is used to initiate replication or amplification of the composite nucleic acid molecule;

[0012] The barcode sequence is used to identify and track different DNA specific sequences;

[0013] The payload is used to carry a DNA sequence of data to be stored;

[0014] The anchor sequence is used to filter data, reposition and expand the size of the barcode sequence space;

[0015] The anchor sequence comprises an oligomer that minimizes the probability of error occurrence.

[0016] Further, the primer sequence is designed according to the DNA sequence of the data to be stored, and the primer sequence includes an upstream primer sequence and a downstream primer sequence;

[0017] The barcode sequence and the anchor sequence are both selected from nucleic acid oligomers, nucleic acid homopolymers, single nucleic acids or artificially synthesized non-natural nucleic acids; and / or,

[0018] The barcode sequence is obtained by using a dynamic time warping algorithm based on Bhattacharyya distance and is spliced ​​by selecting representative sequences using an incremental clustering algorithm; and / or,

[0019] The representative sequences include several oligonucleotide sequences consisting of 8 nucleotides and several oligonucleotide sequences consisting of 9 nucleotides; and / or,

[0020] The anchor sequence is a high-fidelity oligomer with a length of 5-mers; and / or,

[0021] The number of the anchor sequences is ≥3.

[0022] In a second aspect, the present invention provides a method for storing DNA data based on a nanopore sequencing chip, comprising the following steps:

[0023] A. Perform compound letter encoding on the data to be stored to generate a payload;

[0024] B. integrating the barcode and anchor sequence into the payload generated in step A to obtain the composite nucleic acid molecule;

[0025] C. Sequencing the composite nucleic acid molecule through a nanopore sequencing chip to obtain nanopore sequencing data, and aligning, filtering, and assembling the nanopore sequencing data with the base sequence of the composite nucleic acid molecule to obtain a consensus sequence;

[0026] D. Decode the consensus sequence to obtain the data to be stored.

[0027] Further, the A comprises the following steps:

[0028] A-1. The data to be stored is segmented into n bytes, and the bytes that do not meet the n are filled with zeros;

[0029] A-2. Use RS code to encode each byte segment and add redundancy to obtain a payload composed of composite bases.

[0030] Further, the A-2 includes:

[0031] A-2-1. For the information to be encoded, confirm the current information bit, index bit and the current first 54 bits of binary number, add the index bit to the 54 bits before the index bit, and concatenate the sum with the current message bit to form a total of 56 bits as the input of the hash function;

[0032] A-2-2. Take the output of the hash function modulo the size of the available alphabet to obtain the final encoding result of the current message bits;

[0033] A-2-3. Correspond the final encoding result to the base sequence to obtain the payload;

[0034] The GC content of the base sequence is 40-60%;

[0035] The length of base homopolymer in the base sequence is less than 5.

[0036] Further, the C includes:

[0037] C-1. Aligning the nanopore sequencing data with the barcode sequences in the base sequences of several composite nucleic acid molecules to obtain several barcode groups;

[0038] C-2, filtering the nanopore sequencing data of each barcode group according to the nucleotide sequence length between the positions of the upstream primer and the downstream primer in each nanopore sequencing data and the position of the anchor sequence in each nanopore sequencing data;

[0039] C-3, clustering the barcode groups filtered in step C-2, and sorting them according to the number of sequences within the class, selecting the top M classes for multiple sequence alignment, and assembling to obtain a consensus sequence;

[0040] The M≥ is mapped to the number of base sequences;

[0041] The nanopore sequencing data includes sequencing reads with a sequencing quality score ≥ k, where k is set according to the Q-score calculation method, the number of sequences, and the number of errors or noise within the sequence;

[0042] The sequencing quality score Q-score is calculated by the following formula:

[0043] ;

[0044] Wherein, N is the nucleotide length of the sequencing read segment, q i is the quality score of each base in the sequencing read.

[0045] Further, the C-2 comprises:

[0046] C-2-1. Calculate the nucleotide sequence length L between the first 5 bases of the upstream primer and the last 6 bases of the downstream primer in each nanopore sequencing data. 测 , when L 测 -L 设 When the sequence is larger than 20 nt, the corresponding nanopore sequencing data is filtered out, where L 设 is the length of the nucleotide sequence between the upstream primer and the downstream primer in the base sequence of the composite nucleic acid molecule;

[0047] C-2-2, searching for the anchor sequence position within the reference position in each nanosequencing data, and if the anchor sequence is not retrieved, filtering out the corresponding nanosequencing data;

[0048] The reference position includes the length positions of the first 10 nucleotides and the last 10 nucleotides of the anchor sequence in the base sequence of the composite nucleic acid molecule;

[0049] The clustering adopts an adaptive clustering method;

[0050] The clustering parameters include min-seqs-id, c and cov-mode;

[0051] min-seqs-id parameters include 0.9, 0.95, or 0.85;

[0052] c parameters include 0.85, 0.9, 0.8, 0.95, or 0.75;

[0053] The cov-mode parameter includes 0, 3, 1, or 2;

[0054] The multiple sequence alignment includes performing multiple sequence alignment using MUSCLE;

[0055] The aligned sequence consists of A, C, G, T and the connector "-".

[0056] Further, the D includes:

[0057] D-1. Simulate a tree structure, each layer of which represents a different possible combination of binary digits for encoding a base;

[0058] D-2, traverse each possible binary encoding result and compare it with the current input sequence to be decoded to obtain the penalty score of each branch of the tree. If the penalty score exceeds the threshold, the corresponding molecule is removed by the pruning operation;

[0059] D-3. Select the branch with the smallest cumulative penalty score for hypothesis backtracking. The backtracking result is sent to the RS decoder, and finally the closed loop of the decoding result is completed to obtain the intended storage data.

[0060] Furthermore, before synthesizing the composite nucleic acid molecule, the method further includes: mapping the composite bases in the composite nucleic acid molecule to a conventional base sequence;

[0061] Mapping the composite bases in the composite nucleic acid molecule to a conventional base sequence includes: initializing a replica array having the same number as the number of composite base types to store the mapped sequence, and for each character in the sequence, identifying one or two corresponding standard characters according to a mapping rule;

[0062] When a character corresponds to two different bases, the corresponding base that minimizes the difference between the GC content in each copy array and 50% is selected;

[0063] The GC content in the conventional base sequence is 40-60%;

[0064] The base homopolymer in the conventional base sequence is ≤4, and the free energy is ≤-10kcol / mol

[0065] It also includes detecting the GC content, base homopolymer and free energy in the conventional base sequence. When the GC content is not 40-60%, or the base homopolymer is greater than 4, or the free energy is greater than -10kcol / mol, the complex bases in the complex nucleic acid molecule are remapped to the conventional base sequence.

[0066] In a third aspect, the present invention further provides the use of the composite nucleic acid molecule or the DNA data storage method in any of the following:

[0067] E-1. Preparation of DNA molecules for in vitro data storage;

[0068] E-2. Alignment, filtering and assembly of nanopore sequencing reads of DNA molecules for data storage.

[0069] The present invention provides a composite nucleic acid molecule for DNA data storage, wherein the primer enables the polymerase to accurately amplify or replicate the designed sequence. A barcode is a unique DNA sequence used as a marker or identification tool. Since the stored files cannot be completely preserved in a single DNA, each barcode sequence is unique, and the barcode sequence will be used to determine the inherent order of these information segments, prevent the disorder of the order when restoring or reading the data, and determine the order of the DNA sequence. Due to the inherent bias in the frequency of base polymer insertion, deletion and substitution errors, the oligomer with the lowest probability of error occurrence can be used as an anchor sequence. The brief insertion of the anchor sequence improves the accuracy of data filtering. The high insertion and deletion errors in the sequencing reads with a length of >200bp obtained by nanopore sequencing can be accurately filtered through the cooperation of the primer sequence, the barcode sequence and a number of anchor sequences evenly distributed on the payload, thereby improving the accuracy and solving the technical problem that the prior art method cannot effectively handle the insertion and deletion errors in the sequencing reads with a length of >200bp applied to high nanopore sequencing.

[0070] According to another aspect of the present invention, a DNA data storage method based on a nanopore sequencing chip is provided, which enhances data integrity through composite letter coding, effectively reduces the error rate, and utilizes barcodes and anchor sequences to improve the accuracy of comparison, filtering, and alignment assembly of nanopore sequencing data, thereby solving the technical problem that the DNA data storage method in the prior art cannot be applied to nanopore sequencing chip sequencing. BRIEF DESCRIPTION OF THE DRAWINGS

[0071] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0072] Figure 1 A schematic diagram of the process of integrating composite nucleic acid molecules for DNA data storage provided in Example 1 of the present invention;

[0073] Figure 2 A schematic diagram of a process flow of a DNA data storage method based on a nanopore sequencing chip provided in Example 2 of the present invention;

[0074] Figure 3 A schematic diagram of a process for filtering nanopore sequencing data of each barcode group provided in Example 2 of the present invention;

[0075] Figure 4 A schematic diagram of an alignment assembly process provided in Example 2 of the present invention;

[0076] Figure 5 A statistical comparison chart of base error rates of the original sequence and the consensus sequence provided in Example 3 of the present invention;

[0077] Figure 6 A comparison diagram of the similarity between the decoded data and the original data in the DNA storage library at different sequencing times provided in Example 3 of the present invention;

[0078] Figure 7 The time nodes provided for Example 3 of the present invention are respectively 0-2 minutes, 4 minutes, 6-9 minutes, 10 minutes and 20 minutes of the reconstructed text comparison diagram. DETAILED DESCRIPTION

[0079] Unless otherwise defined herein, scientific and technical terms used in conjunction with the present invention shall have the meanings commonly understood by those of ordinary skill in the art. The meaning and scope of the terms should be clear, however, in the case of any potential ambiguity, the definitions provided herein take precedence over any dictionary or external definitions. In this application, unless otherwise stated, the use of "or" means "and / or". In addition, the use of the term "including" and other forms is non-limiting.

[0080] The methods and techniques of the present invention are generally performed according to conventional methods well known in the art and as described in various general and more specific references that are cited and discussed throughout the present specification unless otherwise indicated.

[0081] In one aspect, the present invention provides a composite nucleic acid molecule for DNA data storage, comprising a payload, a primer sequence, a barcode sequence, and a plurality of anchor sequences uniformly distributed on the payload;

[0082] The primer sequence is used to initiate replication or amplification of the composite nucleic acid molecule;

[0083] The barcode sequence is used to identify and track different DNA specific sequences;

[0084] The payload is used to carry a DNA sequence of data to be stored;

[0085] The anchor sequence is used to filter data, reposition and expand the size of the barcode sequence space;

[0086] The anchor sequence comprises an oligomer that minimizes the probability of error occurrence.

[0087] Primers enable polymerases to accurately amplify or replicate the designed sequence. Barcodes are unique DNA sequences used as markers or identification tools. Since stored files cannot be completely preserved in a single DNA, each barcode sequence is unique. The barcode sequence will be used to determine the inherent order of these information segments to prevent disordered order when restoring or reading data, and to determine the order of the DNA sequence. Due to the inherent bias in the frequency of base polymer insertion, deletion, and substitution errors, oligomers with the lowest probability of error can be used as anchor sequences. The brief insertion of anchor sequences improves the accuracy of data filtering. The cooperation of primer sequences, barcode sequences, and several anchor sequences evenly distributed on the payload can accurately filter high insertion and deletion errors in sequencing reads with a length of >200bp obtained by nanopore sequencing, improve accuracy, and solve the technical problem that the existing methods cannot effectively handle insertion and deletion errors in sequencing reads with a length of >200bp applied to high nanopore sequencing.

[0088] In some specific embodiments, the primer sequence is designed according to the DNA sequence of the data to be stored, and the primer sequence includes an upstream primer sequence and a downstream primer sequence;

[0089] Preferably, the barcode sequence and the anchor sequence are both selected from nucleic acid oligomers, nucleic acid homopolymers, single nucleic acids or artificially synthesized non-natural nucleic acids.

[0090] Preferably, the barcode sequence is obtained using a dynamic time warping algorithm based on Bhattacharyya distance and is spliced ​​using representative sequences selected using an incremental clustering algorithm;

[0091] Preferably, the representative sequences include several oligonucleotide sequences consisting of 8 nucleotides and several oligonucleotide sequences consisting of 9 nucleotides;

[0092] Preferably, the representative sequence comprises two oligonucleotide sequences consisting of 8 nucleotides and two oligonucleotide sequences consisting of 9 nucleotides;

[0093] High-fidelity oligomers (5-mer is used in this paper) as anchors can improve the accuracy of base recognition.

[0094] The anchor sequence is a high-fidelity oligomer with a length of 5-mers; and / or,

[0095] Preferably, the number of the anchor sequences is ≥3.

[0096] According to another aspect of the present invention, a method for storing DNA data based on a nanopore sequencing chip is provided, comprising the following steps:

[0097] A. Perform compound letter encoding on the data to be stored to generate a payload;

[0098] B. integrating the barcode and anchor sequence into the payload generated in step A to obtain the composite nucleic acid molecule;

[0099] C. Sequencing the composite nucleic acid molecule through a nanopore sequencing chip to obtain nanopore sequencing data, and aligning, filtering, and assembling the nanopore sequencing data with the base sequence of the composite nucleic acid molecule to obtain a consensus sequence;

[0100] D. Decode the consensus sequence to obtain the data to be stored.

[0101] Among them, nanopore sequencing data is data obtained by converting the current signal obtained after nanopore sequencing into base sequence through base recognition.

[0102] Data integrity is enhanced through composite letter coding, the error rate is effectively reduced, and barcodes and anchor sequences are used to improve the accuracy of nanopore sequencing data during comparison, filtering, and alignment assembly, solving the technical problem that the existing DNA data storage method cannot be applied to nanopore sequencing chip sequencing.

[0103] In some specific implementations, performing compound letter encoding on the data to be stored to generate a payload includes the following steps:

[0104] A-1. The data to be stored is segmented into n bytes, and the bytes that do not meet the n are filled with zeros;

[0105] A-2. Use RS code to encode each byte segment and add redundancy to obtain a payload composed of composite bases.

[0106] In some specific implementations, each byte segment is encoded using an RS code, and redundancy is added to obtain a payload including:

[0107] A-2-1. For the information to be encoded, confirm the current information bit, index bit and the current first 54 bits of binary number, add the index bit to the 54 bits before the index bit, and concatenate the sum with the current message bit to form a total of 56 bits as the input of the hash function;

[0108] A-2-2. Take the output of the hash function modulo the size of the available alphabet to obtain the final encoding result of the current message bits;

[0109] A-2-3. Correspond the final encoding result to the base sequence to obtain the payload;

[0110] Preferably, the GC content in the base sequence is 40-60%;

[0111] Preferably, the length of the base homopolymer in the base sequence is less than 5;

[0112] Preferably, when the GC content in the base sequence is not 40-60%, or the base homopolymer is ≥5, the corresponding letters in the alphabet are prohibited;

[0113] The choice of letters is dynamically adjusted according to the GC content of the base sequence and the length of the base homopolymer to meet the specific needs of synthesis and sequencing.

[0114] Among them, n can take a higher value, depending on the desired length of the final DNA sequence. Specifically, n can be 36 bytes of information to be encoded, 40 bytes after RS ​​code encoding, and then 160 nt after the composite letter encoding in the present invention, and a DNA sequence with a total length of 243 nt is obtained by adding primers, barcodes, and anchor sequences.

[0115] The alphabet includes [ACGTMKRY]. During the encoding process, the available alphabet is adjusted each time the next bit is encoded. For example, in CCCC_, to avoid the appearance of a base homopolymer of length 5, C, M, and Y are removed from the alphabet during encoding. Removal basis: CCCCC will result in a homopolymer of length = 5, and M and Y are likely to be mapped to C in subsequent mappings, which will also result in the situation of CCCCC.

[0116] Among them, the index bit is added to the 54 bits before the index bit, and the sum is connected to the current message bit to form a total of 56 bits. The specific operation is carried out according to the following steps: the binary form of the index bit and the 54 bits before the index bit is added bit by bit, and the added sum is concatenated with the adjacent parts before and after the current message bit. Specifically, the added sum is shifted left by two bits and then added bit by bit to the current message bit.

[0117] In some specific embodiments, the step of sequencing a plurality of composite nucleic acid molecules by a nanopore sequencing chip to obtain nanopore sequencing data, and comparing, filtering, and aligning the nanopore sequencing data with the base sequences of the composite nucleic acid molecules to obtain a consensus sequence comprises:

[0118] C-1. Aligning the nanopore sequencing data with the barcode sequences in the base sequences of several composite nucleic acid molecules to obtain several barcode groups;

[0119] C-2, filtering the nanopore sequencing data of each barcode group according to the nucleotide sequence length between the positions of the upstream primer and the downstream primer in each nanopore sequencing data and the position of the anchor sequence in each nanopore sequencing data;

[0120] C-3, clustering the barcode groups filtered in step C-2, and sorting them according to the number of sequences within the class, selecting the top M classes for multiple sequence alignment, and assembling to obtain a consensus sequence;

[0121] The M≥ is mapped to the number of base base sequences;

[0122] Preferably, the nanopore sequencing data comprises sequencing reads with a sequencing quality score ≥ k, wherein k is set according to the Q-score calculation method, the number of sequences, and the number of errors or noise within the sequence;

[0123] Preferably, the sequencing quality score Q-score is calculated by the following formula:

[0124] ;

[0125] Wherein, N is the nucleotide length of the sequencing read segment, q i is the quality score of each base in the sequencing read.

[0126] In some specific embodiments, filtering the nanopore sequencing data of each barcode group according to the nucleotide sequence length between the positions of the upstream primer and the downstream primer in each nanopore sequencing data and the position of the anchor sequence in each nanopore sequencing data comprises:

[0127] C-2-1. Calculate the nucleotide sequence length L between the first 5 bases of the upstream primer and the last 6 bases of the downstream primer in each nanopore sequencing data. 测 , when L 测 -L 设 When the sequence is larger than 20 nt, the corresponding nanopore sequencing data is filtered out, where L 设 is the length of the nucleotide sequence between the upstream primer and the downstream primer in the base sequence of the composite nucleic acid molecule;

[0128] C-2-2, searching for the anchor sequence position within the reference position in each nanosequencing data, and if the anchor sequence is not retrieved, filtering out the corresponding nanosequencing data;

[0129] Preferably, the reference position includes the length positions of the first 10 nucleotides and the last 10 nucleotides of the anchor sequence in the base sequence of the composite nucleic acid molecule;

[0130] In some specific embodiments, the clustering adopts an adaptive clustering method;

[0131] Preferably, the clustering parameters include min-seqs-id, c and cov-mode;

[0132] Preferably, the min-seqs-id parameter includes 0.9, 0.95 or 0.85;

[0133] Preferably, the c parameter comprises 0.85, 0.9, 0.8, 0.95 or 0.75;

[0134] Preferably, the cov-mode parameter includes 0, 3, 1 or 2;

[0135] Preferably, the multiple sequence alignment comprises performing multiple sequence alignment using MUSCLE;

[0136] Preferably, the aligned sequence consists of A, C, G, T and a connector “-”.

[0137] In some specific embodiments, it is characterized in that decoding the consensus sequence to obtain the data to be stored includes:

[0138] D-1. Simulate a tree structure, each layer of which represents a different possible combination of binary digits for encoding a base;

[0139] D-2, traverse each possible binary encoding result and compare it with the current input sequence to be decoded to obtain the penalty score of each branch of the tree. If the penalty score exceeds the threshold, the corresponding molecule is removed by the pruning operation;

[0140] D-3. Select the branch with the smallest cumulative penalty score for hypothesis backtracking. The backtracking result is sent to the RS decoder, and finally the decoding process is completed to obtain the intended storage data.

[0141] In some specific embodiments, before synthesizing the composite nucleic acid molecule, the method further includes: mapping the composite bases in the composite nucleic acid molecule to a conventional base sequence;

[0142] Preferably, mapping the composite bases in the composite nucleic acid molecule to a conventional base sequence comprises: initializing a replica array having the same number as the number of composite base types to store the mapped sequence, and for each character in the sequence, identifying one or two corresponding standard characters according to a mapping rule;

[0143] Preferably, when a character corresponds to two different bases, the corresponding base that minimizes the difference between the GC content in each replica array and 50% is selected;

[0144] Preferably, the GC content in the conventional base sequence is 40-60%;

[0145] Preferably, the base homopolymer in the conventional base sequence is ≤4, and the free energy is ≤-10kcol / mol

[0146] Preferably, the method further includes detecting the GC content, base homopolymer and free energy in the conventional base sequence. When the GC content is not 40-60%, or the base homopolymer is greater than 4, or the free energy is greater than -10 kcol / mol, the composite bases in the composite nucleic acid molecule are remapped to the conventional base sequence.

[0147] The mapping rule is the concept of degenerate bases proposed by the International Union of Pure and Applied Chemistry (IUPAC). Specifically, M, K, R, and Y will be mapped to A and C, G and T, A and G, and C and T, respectively.

[0148] Specifically, NUPACK tool can be used to optimize the mapping process and ensure the efficiency and reliability of the mapping results.

[0149] According to another aspect of the present invention, there is also provided the use of the above composite nucleic acid molecule or the above DNA data storage method in any of the following:

[0150] E-1. Preparation of DNA molecules for in vitro data storage;

[0151] E-2. Alignment, filtering and assembly of nanopore sequencing reads of DNA molecules for data storage.

[0152] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0153] Example 1

[0154] Combination Figure 1 A composite nucleic acid molecule for DNA data storage is described, comprising a payload, a primer sequence, a barcode sequence, and three anchor sequences evenly distributed on the payload, totaling 243 nt.

[0155] Example 2

[0156] Combination Figure 2~Figure 4 A method for storing DNA data based on a nanopore sequencing chip is described below.

[0157] 1) Generate a payload by performing compound letter encoding on the data to be stored:

[0158] Before the composite alphabet encoding, the original file stored in binary is first encoded into nucleotides. During the encoding process, the original file is segmented into n bytes, and the byte segments that do not meet n will be padded with zeros. Then, each byte segment is encoded using RS code and combined with a given redundancy (n, k), where n is the code length and k is the number of information symbols. This embodiment uses (40, 36) for composite alphabet encoding.

[0159] Specifically, given the input binary chain "0100...11010...", the encoding scheme starts from the first nucleotide in each fragment. Assume that the current encoding has been carried out to the 67th index. On the one hand, a new binary number will be composed of the following process: the first p bits of the binary form of the current bit and the current bit "10" are spliced ​​together and added to the binary form of the index "67" of the current bit. This new binary number will enter the hash function to obtain the hash value, that is, the final value v. On the other hand, the candidate alphabet will be generated at the same time. In this case, the "...AACGTCCMC" sequence generated by the first 66 bits after encoding should also be considered. Among them, in order to limit the maximum length of the homopolymer to less than 5 and the GC content to within the range of 40%-60%, inappropriate candidate bases will be deleted from the current alphabet. The adjusted alphabet only contains candidate bases that meet the conditions. At this time, the number of candidate bases is modulo v, and the number obtained that is less than the number of candidate bases will correspond to the only candidate base. In this way, move to the next bit and continue this cycle until the binary bit is fully encoded, thereby completely generating the base sequence.

[0160] Specifically, the latest 4-mer sequence is "CCMC". Due to the characteristics of degenerate bases, "CCMC" is expressed as "CCAC" and "CCCC" with half the probability. Similarly, M and Y have a 50% probability of appearing C. To avoid the appearance of too long base homopolymers, the next candidate base cannot select C, M, Y, thus avoiding the appearance of too long base homopolymers. At the same time, if the GC content of the encoded base sequence is higher than 60% or lower than 40%, "G", "C" or "A", "C" and all 'MKRY' will be deleted from the current candidate alphabet. For this reason, the adjusted alphabet only contains "AT" or "GC" as candidates. Combining the previously obtained v and the adjusted total number of candidate letters 2, we obtain the basic encoding result r of the bit through the modulo operation of the integer v and 2, which must be less than 2. In this embodiment, the number r can be 0 or 1, corresponding to one of the next bases "AT" or "GC", respectively. Later, move to the next bit and continue this cycle until the binary bit is fully encoded, thereby completely generating the base sequence.

[0161] 2) Integrate the barcode and anchor sequence into the payload generated in step 1) to obtain the composite nucleic acid molecule provided in Example 1, totaling 243 nt:

[0162] The forward primer and reverse primer used were 23 nt and 11 nt base sequences, "TTTCTGTTGGTGCTGATATTGCT" and "GAAGATAGAGC", respectively.

[0163] There are 384 barcode sequences in total, which were obtained by using the dynamic time warping (DTW) algorithm based on Bhattacharyya distance, and the representative sequences of 8-mers (8 oligonucleotides) and 9-mers (9 oligonucleotides) were selected using the incremental clustering algorithm. These representative sequences were spliced ​​into a barcode sequence with a total length of 34nt.

[0164] High-fidelity oligomers (5-mers) are used as anchors to improve the accuracy of base calling.

[0165] Among them, since Twist Bioscience was unable to synthesize composite base sequences, the composite bases in the composite nucleic acid molecules were mapped to conventional base sequences before synthesis. The mapped composite nucleic acid molecules were sent to Twist Bioscience for synthesis, and then 110 ng of DNA dry powder was obtained and 20 μl of enzyme-free water was added to form a DNA mother solution and stored in a -20°C environment.

[0166] 3) Take the DNA mother solution for PCR amplification and take some samples of the amplification results for ONT nanopore measurement and control to verify the feasibility of DNA storage in vitro:

[0167] In this example, the number of degenerate bases is 8. During the mapping process, the eight copies are mapped base by base from the 5' to 3' direction, while monitoring the homopolymer length and GC content. The homopolymer length will be required to be locally optimal, and the homopolymer region exceeding the pentamer will also be detected and rearranged; the GC content will be required to be globally optimal to ensure that the eight copies are within the range of 40%-60%. The MFE of NUPACK is used to calculate the maximum folding potential of the eight copies, and the eight copies that do not meet the conditions will be regenerated. Specifically, the MFE threshold is limited to -10kcol / mol, which is lower than the -8kcol / mol reported in the literature, to ensure better performance of in vitro DNA storage experiments.

[0168] 4) Sequencing is performed using a nanopore sequencing chip to obtain nanopore sequencing data, which is then compared, filtered, aligned, and assembled with the base sequence of the composite nucleic acid molecule to obtain a consensus sequence:

[0169] 4-1) Compare the nanopore sequencing data with the barcode sequences in the base sequences of several composite nucleic acid molecules to obtain several barcode groups:

[0170] Guppy basecaller and Minimap2 are used to group different types of specific sequences (barcode sequences). Guppy basecaller will perform a quality assessment based on the sequencing quality score (Q-score) for each sequencing read; Minimap2 is used to compare the full-length sequence of the sequencing read with a Q-score greater than or equal to 8 with the barcode sequence in the composite nucleic acid molecule.

[0171] Through the two-step operation of Guppy basecaller and Minimap2, the sequencing result data were successfully divided into 384 barcode groups for synthetic sequences.

[0172] 4-2) Filter the nanopore sequencing data of each barcode group according to the nucleotide sequence length between the positions of the upstream primer and the downstream primer in each nanopore sequencing data and the position of the anchor sequence in each nanopore sequencing data:

[0173] Using the paf file, all sequences were divided into 384 groups according to the previous alignment results of the barcode sequence. The first 5 bases of the upstream primer "TTTCT" and the last 6 bases of the downstream primer were used for head-to-tail detection to select the approximate sequence range; all sequences were screened for length, and sequences that differed from the reference length (243nt) by more than 20nt were considered to have too many errors, and such sequences would be filtered out; the reference position of the anchor sequence in the sequence was searched for the anchor sequence using fuzzy search (Fizzy Search). According to the multiple functions of the anchor sequence, the anchor sequence and the barcode sequence will continue to group the data, among which the number of basic base sequence and degenerate base sequence groups are 487 and 122 respectively. Since the anchor sequence is too far away from the reference position, it also means that the base sequence is more continuous and the local noise is larger. Such sequences will also be filtered.

[0174] 4-3) Cluster the barcode groups filtered in step 4-2) and sort them according to the number of sequences within the class. Select the top 10 classes for multiple sequence alignment and assemble to obtain the consensus sequence:

[0175] Use the easy-cluster module in MMseqs2 to cluster the sequence grouping results.

[0176] The specific instructions use an adaptive clustering method, add a series of variable parameters, and set the rest of the parameters to default. Among them, min-seq-id is the minimum sequence uniformity, ranging from 0 to 1; c is the minimum coverage, defined as the number of aligned base pairs divided by the length of the query plus the target or the length of the center plus the non-center sequence, which is related to the parameter cov-mode; cov-mode is the mode for controlling the "coverage" of sequence overlap, and there are three modes. Mode 0 clusters sequences with sequence length overlap greater than X% of the longer sequence of the two sequences, mode 1 only clusters sequences with sequence length overlap greater than X% of the target sequence, mode 2 only clusters sequences with sequence length overlap greater than X% of the query sequence, and mode 3 covers the target length in the query.

[0177] After clustering, in order to eliminate the influence of noise as much as possible, the 10 classes with the largest number of sequences in the class were selected for alignment. The multiple sequence alignment (MSA) tool used was MUSCLE. The input and output of MUSCLE are as follows Figure 4 As shown in the figure, the input is a base sequence with errors, and the output is the sequence after alignment. The places where insertion or deletion errors occur are replaced by the separator "–".

[0178] After obtaining the aligned sequence, the JS divergence and degenerate bases are used to calculate the distribution. For example, the alignment result of a certain position is ( )=(0%:50%:5%:40%:5%), then the assembly result of this position should be base Y. In this way, the bases are assembled bit by bit until the sequence assembly is completed. Then the decoding process described above is entered to read the information stored in the DNA sequence.

[0179] 5) Decode the consensus sequence to obtain the data to be stored.

[0180] Using a breadth-first search algorithm (BFS), a tree structure is simulated, where each layer of the tree structure represents a different possible combination of binary digits for encoding the base;

[0181] Traverse each possible binary encoding result and compare it with the current input sequence to be decoded, calculate the JS divergence (Jensen-Shannon divergence, JSD) between the binary encoding result and the current input. The divergence will be used to calculate the penalty for each branch of the tree. If the penalty score exceeds the threshold, the corresponding molecule is removed by the pruning operation;

[0182] Among them, the JS divergence is calculated according to the following formula:

[0183] ;

[0184] Once the comparison and scoring are completed, the algorithm continues to backtrack the hypothesis and select the branch with the smallest cumulative penalty score. The backtracking result is sent to the RS decoder, and the decoding result is finally closed to obtain the data to be stored.

[0185] Example 3

[0186] Text content and images are selected as the data to be stored, wherein the text content file size is 219B, the total number of bases is 1701nt, and the base form is degenerate bases (eight letters). The image file size is 4.01KB, the total number of bases is 27945nt, and the base form is degenerate bases (eight letters). Data processing is performed according to the DNA data storage method provided in Example 2, and synthesized in the same nucleotide pool.

[0187] In order to illustrate that the method of this embodiment can accurately filter high insertion and deletion errors in the sequencing reads with a length of >200bp obtained by nanopore sequencing and improve accuracy, the base error rates of the original sequences of the sequencing reads in the nanopore sequencing data whose data to be stored is text content and the consensus sequences obtained after filtering, alignment and assembly were statistically analyzed.

[0188] The specific steps include: using MUSCLE to compare the reference sequence (correct sequence sent for synthesis) with the measured sequence with errors. Then count each base. For each reference base and measured base, if the reference base and the measured base both belong to {A, C, G, T} but are not the same, a substitution error occurs; if the reference base belongs to {A, C, G, T} and the measured base is '-', a deletion error occurs; if the reference base is '-' and the measured base belongs to {A, C, G, T}, an insertion error occurs. By using this method to count the error rate type and number of each measured base sequence, the error rate can be calculated.

[0189] Specific results such as Figure 5 As shown. It can be seen that the DNA data storage method based on the nanopore sequencing chip provided in Example 2 detects the error rate of insertion, deletion and substitution in a near real-time manner and recovers data therefrom. The encoding algorithm based on hash functions and composite base letters used can quickly read the digital information storage in DNA. The codec was adjusted, the anchor point alignment was redesigned, and the clustering process was optimized to reduce the error rate of insertion, deletion and substitution reduction.

[0190] In order to further illustrate the effects of different types of intended storage data, the similarities between the decoded data and the original data in the DNA storage library at different sequencing times for two intended storage data, text content (Text) and image (Image), were analyzed. Figure 6~Figure 7shown.

[0191] Among them, for text content, Figure 6 Text demonstrates binary data recovery for both individual chains and entire text files. The fastest composite chain was correctly decoded at 4 minutes, while the slowest was correctly decoded within 20 minutes. Image depicts experimental binary data recovery as a function of time. Within the first 20 minutes of sequencing, 75% of the image was correctly decoded, much lower than the almost 100% decoding rate of the text file. But Image could be fully decoded in 2 hours. Figure 7 The text Text shows the reconstructed text at different time nodes. In the first two minutes, all text could not be recovered. Then, in 6-9 minutes, the composite chain was correctly decoded into a sentence with some letters e, r, and t. In the 10th minute, more than 75% of the data was recovered, and the two letters e and r in the word "referred" were traced back. Finally, the entire file was correctly output within 20 minutes.

[0192] For the image, the reconstruction images at different time nodes show that the image was partially reassembled in about 60 minutes. When it was close to 90 minutes, less than 10% of binary errors could be found. The complete correct image was obtained within 120 minutes of sequencing time.

[0193] Therefore, it is demonstrated that the DNA data storage method provided in Example 2 can realize the in vitro storage of text or image data, and reduce the error rate of insertion, deletion and substitution.

[0194] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A DNA data storage method based on a nanopore sequencing chip, characterized in that: The following steps are involved: A. Perform compound letter encoding on the data to be stored to generate a payload; B. integrating the barcode and anchor sequence into the payload generated in step A to obtain a composite nucleic acid molecule; C. Sequencing the composite nucleic acid molecule through a nanopore sequencing chip to obtain nanopore sequencing data, and aligning, filtering, and assembling the nanopore sequencing data with the base sequence of the composite nucleic acid molecule to obtain a consensus sequence; D. Decode the consensus sequence to obtain the data to be stored; The C includes: C-1. Aligning the nanopore sequencing data with the barcode sequences in the base sequences of several composite nucleic acid molecules to obtain several barcode groups; C-2, filtering the nanopore sequencing data of each barcode group according to the nucleotide sequence length between the positions of the upstream primer and the downstream primer in each nanopore sequencing data and the position of the anchor sequence in each nanopore sequencing data; C-3. Cluster the barcode groups after filtering in step C-2, sort them according to the number of sequences within the class, select the top M classes for multiple sequence alignment, and assemble to obtain a consensus sequence.

2. The DNA data storage method according to claim 1, characterized in that: The A comprises the following steps: A-1. The data to be stored is segmented into n bytes, and the bytes that do not meet the n are filled with zeros; A-2. Use RS code to encode each byte segment and add redundancy to obtain a payload composed of composite bases.

3. The DNA data storage method according to claim 2, characterized in that: The A-2 includes: A-2-1. For the information to be encoded, confirm the current information bit, index bit and the current first 54 bits of binary number, add the index bit to the 54 bits before the index bit, and concatenate the sum with the current message bit to form a total of 56 bits as the input of the hash function; A-2-2. Take the output of the hash function modulo the size of the available alphabet to obtain the final encoding result of the current message bits; A-2-3. Correspond the final encoding result to the base sequence to obtain the payload; The GC content of the base sequence is 40-60%; The length of base homopolymer in the base sequence is less than 5.

4. The DNA data storage method according to claim 1, characterized in that: The M≥ is mapped to the number of base sequences; The nanopore sequencing data includes sequencing reads with a sequencing quality score ≥ k, where k is set according to the Q-score calculation method, the number of sequences, and the number of errors or noise within the sequence; The sequencing quality score Q-score is calculated by the following formula: ; Wherein, N is the nucleotide length of the sequencing read segment, q i is the quality score of each base in the sequencing read.

5. The DNA data storage method according to claim 1, characterized in that: The C-2 includes: C-2-1. Calculate the nucleotide sequence length L between the first 5 bases of the upstream primer and the last 6 bases of the downstream primer in each nanopore sequencing data. 测 , when L 测 -L 设 When the sequence is larger than 20 nt, the corresponding nanopore sequencing data is filtered out, where L 设 is the length of the nucleotide sequence between the upstream primer and the downstream primer in the base sequence of the composite nucleic acid molecule; C-2-2, searching for the anchor sequence position within the reference position in each nanosequencing data, and if the anchor sequence is not retrieved, filtering out the corresponding nanosequencing data; The reference position includes the length positions of the first 10 nucleotides and the last 10 nucleotides of the anchor sequence in the base sequence of the composite nucleic acid molecule; The clustering adopts an adaptive clustering method; The clustering parameters include min-seqs-id, c and cov-mode; min-seqs-id parameters include 0.9, 0.95, or 0.85; c parameters include 0.85, 0.9, 0.8, 0.95, or 0.75; The cov-mode parameter includes 0, 3, 1, or 2; The multiple sequence alignment includes performing multiple sequence alignment using MUSCLE; The aligned sequence consists of A, C, G, T and the connector "-".

6. The DNA data storage method according to claim 1, characterized in that: The D includes: D-1. Simulate a tree structure, each layer of which represents a different possible combination of binary digits for encoding a base; D-2, traverse each possible binary encoding result and compare it with the current input sequence to be decoded to obtain the penalty score of each branch of the tree. If the penalty score exceeds the threshold, the corresponding molecule is removed by the pruning operation; D-3. Select the branch with the smallest cumulative penalty score for hypothesis backtracking. The backtracking result is sent to the RS decoder, and finally the closed loop of the decoding result is completed to obtain the intended storage data.

7. The DNA data storage method according to any one of claims 1 to 6, characterized in that: Before synthesizing the composite nucleic acid molecule, the method further includes: mapping the composite bases in the composite nucleic acid molecule into a conventional base sequence; Mapping the composite bases in the composite nucleic acid molecule to a conventional base sequence includes: initializing a replica array having the same number as the number of composite base types to store the mapped sequence, and for each character in the sequence, identifying one or two corresponding standard characters according to a mapping rule; When a character corresponds to two different bases, the corresponding base that minimizes the difference between the GC content in each copy array and 50% is selected; The GC content in the conventional base sequence is 40-60%; The base homopolymer in the conventional base sequence is ≤4, and the free energy is ≤-10kcol / mol; It also includes detecting the GC content, base homopolymer and free energy in the conventional base sequence. When the GC content is not 40-60%, or the base homopolymer is greater than 4, or the free energy is greater than -10kcol / mol, the complex bases in the complex nucleic acid molecule are remapped to the conventional base sequence.

8. The DNA data storage method according to claim 1, characterized in that: The composite nucleic acid molecule includes a payload, a primer sequence, a barcode sequence, and a plurality of anchor sequences uniformly distributed on the payload; The primer sequence is used to initiate replication or amplification of the composite nucleic acid molecule; The barcode sequence is used to identify and track different DNA specific sequences; The payload is used to carry a DNA sequence of data to be stored; The anchor sequence is used to filter data, reposition and expand the size of the barcode sequence space; The anchor sequence comprises an oligomer that minimizes the probability of error occurrence.

9. The DNA data storage method according to claim 8, characterized in that: The primer sequence is designed according to the DNA sequence of the data to be stored, and the primer sequence includes an upstream primer sequence and a downstream primer sequence; The barcode sequence and anchor sequence are both selected from nucleic acid oligomers, nucleic acid homopolymers, single nucleic acids or artificially synthesized non-natural nucleic acids; The barcode sequence is obtained by using a dynamic time warping algorithm based on Bhattacharyya distance and is spliced ​​using representative sequences selected by an incremental clustering algorithm; The representative sequences include several oligonucleotide sequences consisting of 8 nucleotides and several oligonucleotide sequences consisting of 9 nucleotides; The anchor sequence is a high-fidelity oligomer with a length of 5-mers; The number of the anchor sequences is ≥3.

10. Use of the DNA data storage method according to any one of claims 1 to 9 in any of the following: E-1. Preparation of DNA molecules for in vitro data storage; E-2. Alignment, filtering and assembly of nanopore sequencing reads of DNA molecules for data storage.

Citation Information

Patent Citations

  • Macromolecule analysis employing nucleic acid encoding

    CN110199019A

  • Nanopore real-time high-throughput sequencing system and method based on DNA molecule passage

    CN115831231A

  • Linked double barcode insertion build

    CN116323969A

  • Double-rule coding DNA storage method for controlling GC content based on chaotic mapping

    CN117542420A

  • Methods and compositions for detecting nucleic acids using scanning probe microscopy and nanocodes

    CN1950516A