Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

# A mixed culture of bacterial cells enables an economic DNA storage on a large scale

## Abstract

DNA emerged as a novel potential material for mass data storage, offering the possibility to cheaply solve a great data storage problem. Large oligonucleotide pools demonstrated high potential of large-scale data storage in test tube, meanwhile, living cell with high fidelity in information replication. Here we show a mixed culture of bacterial cells carrying a large oligo pool that was assembled in a high-copy-number plasmid was presented as a stable material for large-scale data storage. The underlying principle was explored by deep bioinformatic analysis. Although homology assembly showed sequence context dependent bias, the large oligonucleotide pools in the mixed culture were constant over multiple successive passages. Finally, over ten thousand distinct oligos encompassing 2304 Kbps encoding 445 KB digital data, were stored in cells, the largest storage in living cells reported so far and present a previously unreported approach for bridging the gap between in vitro and in vivo systems.

## Introduction

As a biological material carrying genomic information, DNA has demonstrated great potential for long-term high-density information storage in its nucleotide sequence. The increasing capability of high throughput chip synthesis-based writing and next-generation sequencing-based reading technologies greatly advanced the development of synthetic nucleic acid mediated archival storage. Simply put, information can be synthesized into DNA oligo molecules and then read out by sequencing. To date, a number of systems have been developed for storing large archival data in synthetic oligo pools1,2. Classical electronic communication and computing algorithms such as Fountain and Reed-Solomon code have been adapted for conversation of digital binary information to the four-letter nucleotide sequence and error correction3,4. Restricted by current high-throughput oligo synthesis techniques, oligos with lengths ranging from 100 to around 200 nts are the main material for information storage in test tube. However, the oligo size fits well with the major commercial sequencing platforms, such as Illumina5, by which sequences from 50 to 200 nucleotides can be obtained in single reads from one oligo terminus. Furthermore, chip-based DNA synthesis is the cheapest available technology, at least one or two orders of magnitude cheaper than traditional column-based oligo synthesis. Thus far, the capacity of in vitro systems with a synthetic oligo pool as the storage medium has been largely expanded, allowing up to 200 MB of information storage4.

In contrast to test tubes, microbial cells are able to carry out the synthesis DNA material with many advanced features for archival information storage. Compared with the cell-free in vitro system, the genomic maintenance mechanism of living cells ensures that the DNA molecules are replicated with high fidelity, so that higher stability and longer storage periods could be expected. Moreover, the DNA copy rate is several orders of magnitude higher than general in vitro replication methods, such as PCR. These advanced features make living cells an attractive material for copying and distribution of information at low cost. Synthetic DNA fragments encoding archival data have successfully been inserted into the genome of various organisms, including Escherichia coli6,7, Bacillus subtilis8 and yeast9. Molecular tools were developed to engineer various DNA maintenance and genome modification systems, including reverse-transcription10,11, recombinase12,13 and CRISPR-Cas14,15, for directly writing archival data into the genome in a highly controlled fashion. Moreover, circular plasmids were designed for carrying information as well, and the high copy number of some plasmids in microbial cells could facilitate the recovery of DNA material.

The in vitro and in vivo DNA storage approaches were largely developed as mutually independent system. In vitro systems rely on very large numbers of short oligos, reaching up to 1010 distinct strands16 from microchip synthesis, These oligos are read out via a straight-forward reading workflow comprising PCR amplification and NGS sequencing17,18. By contrast, cells are technically able to store much larger DNA fragments, and researchers used E. coli cells to save DNA fragment encoding hundreds of kilobase pairs cloned from the human genome early on19. However, being limited by current technological capabilities, the synthesis of large DNA fragments, generally over a thousand nucleotides, is a highly time-consuming and expensive procedure20. Even though entire bacterial chromosomes were completely synthesized de novo21,22, it is vary labor-intensive to carefully design the oligo units and it generally takes a long time, even several months, to build them into large fragments23. Moreover, it is relatively complicated to efficiently transform cells with large DNA fragments. Thus far, in vivo DNA storage has only been tested on a relatively small scale, no larger than a few thousand nucleotides24, far smaller than in vitro systems. Considering the storage capacity, large oligonucleotide pools have advantages in their ease of scale-up and synthesis cost. However, DNA storage inside cells has distinct advantage in terms of stable DNA maintenance for long periods of time and very low cost of replication2.

Here, we demonstrated that a mixed culture of bacterial cells carrying large oligonucleotide pools is an economical and sustainable material for stable information storage, capable of storing DNA oligos spanning hundreds of nucleotides in length from high-throughput chip-synthesis. The BASIC code system, a DNA-mediated distributed information storage system previously developed in our lab, was applied to translate digital binary information to nucleotide base sequences with an encoding redundancy of 1.56% at software level to tolerate the physical dropout of minority oligos. By pushing the limits, oligo pools comprising 509 and 11520 distinct oligos, generating the largest reported population in a mixed culture of bacterial cells, were stored. To cover very large oligo populations, we assembled them in a redundant fashion and then stored them in a mixed culture on solid plates or in liquid medium. Furthermore, the underlying principle of the manufacturing of data storage cells was explored using specifically developed deep bioinformatic analysis tools. The results demonstrated that oligo homology assembly has relatively high bias for the sequence context, and the oligo copy number distribution became increasingly skewed as the number of fragments in the assembly increased. Nevertheless, after the assembly and transformation, we found that the large number of oligos remained stable in the mixed culture of E. coli cells even over multiple passages and maintained the quality of digital data for perfect information decoding. Finally, it could be demonstrated that this simple material based on a mixed culture of bacterial cells achieved in vivo storage of 445 KB of digital files in a total of 2304 Kbps of synthetic DNA in a fast and economical way. To our best knowledge, this is the largest scale archival data storage in living cells reported so far, paving the way for biological data storage taking advantage of both in vitro synthesis capacity and the biological power of living cells in an economical and efficient way, which is crucial for developing practical cold data storage on a large scale.

## Results

### DNA data storage in a mixed cell culture

Thus far, oligo pools comprising a large set of distinct oligonucleotide sequences were used as the material for storing archival data in the major in vivo DNA storage approaches. We aimed to combine the advantage of both in vitro oligo pool mediated data storage and in vivo cell systems with a previously unreported design strategy to improve the DNA material for data storage. As illustrated in Fig. 1, binary sequences of archival data were encoded into nucleotide base sequences and split into groups of oligo strands a few hundreds of nucleotides in length using a BASIC code (Supplementary Note 1), which was developed for distributed DNA oligo pool information storage25. In this encoding system, a relatively low coding redundancy of 1.56% is enough to tolerate the physical loss, or dropout, of whole oligos. Thus, information could be perfectly decoded as long as more than 98.44% of the designed oligos can be retrieved. In addition, oligo strands with mutations including base substation or insert/deletion could be corrected by predesigned coding algorithms25. Following sequence encoding, the oligos were physically synthesized using the emerging high-throughput chip-based synthesis approach. Currently, there are only a few commercial products available for high-throughput oligo synthesis, and the quality of oligo pools varies with each manufacturer, and even with each batch. As reported in many previous studies, the unevenness of molecular copy number in oligo pools caused serious problems in using DNA as material for data storage26. For storing oligos in living cells, they should be assembled into high-copy-number plasmid vectors using homology-based cloning, without any specific sequence, and then the large population of plasmids could be transferred into an established E. coli engineering strain to be stored as a mixed culture. Thus, the oligo pool could simply be converted to a living cell-based material for data storage.

Mixed culture is an established approach in metabolic engineering and directed evolution, where it is used to generate DNA libraries with large diversity in living cells. However, data storage requires cells to stably carry these digital DNA sequence in large numbers without loss, and there is still a lack of systematic analyses of the stability of mixed cultures carrying large numbers of oligos. Therefore, a multistep process, including homology assembly, transformation and mixed culture, was designed to construct the living cell-based DNA storage library. For increasing the homology cloning efficiency, the homology arms were designed to reduce secondary structures and cross recognition using NUPACK (Supplementary Figs. 1 and 2)27. The homology arm was fused with the oligo by PCR amplification through the uniform adapter on both sides (Fig. 2a). In the oligo unit (Supplementary Fig. 3a), the main sequence of 128 nucleotides in a pool of 11520 encoded the digital information, while the corresponding address information and RS code were respectively written in 16 and 8 nts sequences located on each side of the information-carrying sequence. For identifying the direction of each sequenced oligo, “A” and “AA” tags were inserted in fixed positions in the address and RS code sequence. The sequences including the address, digital information and RS code were denoted together as payload. The adapters I and II, as well as the primer for PCR amplification, were designed outside of the two termini. The sequence carried by the payload was designed using the BASIC code algorithm with specific criteria (Supplementary Fig. 3b), including a GC content between 35 and 65%, as well as avoiding homopolymer sequences, the Not I endonuclease recognition sequence “GCGGCCGC” and the last 6nts of amplification primers, to minimize false priming in PCR. The designed sequence was further analyzed to avoid putative bacterial promoters using general promoter prediction algorithms28. In the amplified structure, two Not I cleavage sites were designed on both ends, by which the original oligo sequence could be directly cleaved out from the vector. A redundant assembly is designed to increase the foreign DNA load on each vector. A total of 6 homology arm sequences were designed for homology-based assembly of multiple fragments into a single vector plasmid (Supplementary Fig. 4). Oligos fused with different combinations of homology arms could be assembled together. Therefore, in a single vector plasmid, 1F, 3F and 5F of fragments could be assembled and each fragment could cover the intact oligo pool. Thus, the multifragment assembly principally could greatly increase the chance of oligos being assembled into the vector plasmid. Following the assembly, circular DNA will be introduced into E. coli DH10β cells for mixed culture, and then the large number oligos could be retrieved from isolated plasmid DNA.

### Mixed culture of cells carrying a redundant assembled large oligonucleotide pool

Firstly, we tested a pool comprising 509 distinct oligos as part of a large chip-synthesized pool. It is known that cells lose some sequences from the population due to disadvantages of some clones in the growth rate in mixed culture29,30. In view of the possible loss of cells carrying minority oligos in the pool, electrically transformed cells were cultured on the surface of solid medium, which should give all cells carrying the assembled plasmids equal chance to form colonies. The colony number assembled from 1F assembly of a total of 0.08 pmol oligo fragments and 0.16 pmol vector was almost twice that of the 3F (assembly of 0.8 pmol oligo fragments and 0.16 pmol vector) and 5F (assembly of 0.8 pmol oligo fragments and 0.16 pmol vector) on the solid medium surface (Fig. 2b and Supplementary Figs. 57). There is a trade-off between the assembly efficiency and capacity, and redundant assembly could increase the loading capability for each vector, but largely decrease the assembly efficiency. Totally, 122.4 and 158.6 and 268 copies per designed oligo was calculated from the counted colony number for 1F, 3F and 5F respectively. After plasmid isolation, the oligo pool was directedly cut out using the site-specific endonuclease Not I (Supplementary Figs. 810) and sequenced by standard NGS. Errors including substitutions or indels were counted, and it was observed that the frequency of substitutions was higher than that of indels for all of the assembly samples (Fig. 2c, Supplementary Note 6). Importantly, the error rate was consistent with previous studies. It was also observed that sequencing reads with single letter errors (substitutions or indels) were much more frequent than other types of error (Supplementary Fig. 11, Supplementary Note 6), which is in agreement with our previous study as well4. For all of the assembly samples, the oligo was 100% identified in the sequencing reads, but 1F assembly recorded the lowest minimal necessary coverage of sequencing reads, at which perfect 100% oligos can be identified (Fig. 2d and Supplementary Fig. 12). After the success of oligo retrieval using solid culture, mixed culture in liquid medium was also tested (Supplementary Fig. 13). Plasmid DNA was isolated from 5 ml of liquid mixed cell culture and sequenced. The minimal necessary coverage was even lower than that of the 1F assembly on solid surface (Fig. 2d). Furthermore, the frequency for each oligo in the retrieved pool was quantified and a similar frequency distribution was observed for all the assembly samples with very close Gini indices (Supplementary Figs. 14 and 15). These results demonstrated that the DNA pool of 509 distinct oligos was stably stored in the mixed culture.

Next, a DNA pool comprising 11520 distinct oligos with a length of 200 nucleotides, over 20 times larger than the first pool, was tested. About 445 KB of digital files were encoded, including images, word text and various types of files (Supplementary Fig. 3c). It was observed that the mixed culture in liquid medium gave a lower minimal necessary coverage of sequencing reads than the solid culture. Additionally, subculture is necessary for long-term storage at low cost. Therefore, the DNA pool with 11520 oligos was assembled to test the subculture of this very large cell population (Fig. 3a). In total, the mixed culture was successively passaged 5 times, and plasmids carrying the digital information were isolated from a large liquid culture and then a large number of oligos was recovered following Not I digestion (Supplementary Fig. 16). There was no obvious difference in the error rate even between the 1st and 5th subculture of 1F or 3F assembly samples (Table 1). In agreement with previous results, the frequency of substitutions was still higher than that of indels. Compared with the original master pool, the error rate was in the same order of magnitude. It demonstrated the high fidelity of DNA amplification inside living cells. Among the NGS sequencing reads, some sequences were identified as contamination from the host cell genome by deep bioinformatic sequence analysis, but the contamination content was very low, less than 0.2% of the total sequencing reads. This contamination may come from the plasmid isolation step, because there are also 20 Not I cleavage sites on the DH10β genome. However, it is very easy to distinguish these contaminations from the true digital oligo sequence based on the designed adapter sequence on the oligo terminus (Supplementary Fig. 3a). Because the digital DNA sequence was stored on a plasmid, it is still relatively easy to remove the host cell genome contamination during the isolation process using available commercial bio-reagents. This could be another advantage compared to approaches in which digital information is stored directly on the bacterial chromosome.

Interestingly, the population of assembled plasmids carrying the inserted DNA sequences encoding digital information remained relatively stable. The frequency of each oligo in the pool did not change largely between the 1st and 5th passages of the 1F or 3F assembly samples (Fig. 3b and Supplementary Fig. 17, Supplementary Note 4). Moreover, the dropout rate decreased with deep sequencing (Fig. 3c and Supplementary Fig. 18). The bioinformatic analysis therefore demonstrated the stability of the oligo pool recovered following successive passaging. Remarkably, the mixed culture of E. coli cells carrying this large population of oligos remained content, with a Gini coefficient of 0.41 and 0.48 in the 1st and 5th passages of the 1F assembly sample, respectively (Supplementary Table 2). By contrast, the content uniformity was skewed largely in the 3F assembly sample (Fig. 3d). Compared with the 1F assembly, about 21% of oligos in the 3F assembly were enriched, accounting for up to 96.2% of the total sequencing reads, while the remaining 79% of oligos were largely depleted, accounting for only 3.8% of the sequencing reads, corresponding to a very high Gini coefficient of 0.87 (Fig. 3e). These results reflected the influence of sequence complexity on the random assembly process, in which 3F assembly was more vulnerable due to the high sequence complexity of the large oligo pool. Compared with the 1F assembly, the number of DNA assembly events was double in 3F assembly and resulted in more bias in the finial assembled DNA population. However, the 1st and 5th passages of the 3F assembly sample were relatively consistent with similar Gini coefficients and oligo frequencies. The stable oligo frequency distribution, even across multiple passages, indicated that the mixed culture of living cell could be used as a material for data storage.

### Large-scale DNA data storage in living cells

We succeeded in establishing a method for DNA data storage in living cells via a simple multiple-step process, by which a DNA pool comprising a large number of oligos could be quickly transferred into living cells for data storage (Fig. 4a). Furthermore, deep bioinformatic analysis explored the underlying principles of this digital storage cell manufacturing process. The assembly was revealed to be a biased process, its efficiency going down with increasing assembly fragment number in the designed redundant sequence set. For the 11520 DNA sequence pool, largely fewer colonies were counted in the 3F than in the 1F assembly sample, and average copy number per designed oligo was calculated to be 9.42 for 1F, compared to only 0.91 for the 3F assembly sample. Thus, it took a longer time for 1st of 3F assembly cells (11 h) to reach an OD600 of 1.2 than that of the first 1F assembly cell (8.4 h). Although over 106 average molecule copies for each fragment were subjected to the assembly process, the successfully assembled copy number for each oligo was found to be only dozens to hundreds after the assembly and transformation steps. However, the mixed culture amplified the population in a relatively stable fashion without skewing the oligo frequency distribution, so that an average copy number of over 107 for each oligo could be recovered from a batch culture. For the 1F subculture sample, it was possible to retrieve enough oligos (about 103 copies of each oligo) for perfect information decoding, with finial 0.9 and 1.4% respective dropout rates for the 1st and 5th passages, which were both lower than the decoding limit of 1.56%. However, much more oligos were lost from the 3F assembly sample, with 26.5 and 32.8% respective dropout rates for the 1st and 5th passage. A similar retrieval rate was obtained for the oligo pool recovered by PCR amplification (Supplementary Table 3). By mapping the lost oligos from the 1F assembly into the frequency distribution of the original master pool from chip synthesis, it was found that the lost oligos from the master pool in sequencing coverage of 10× did not overlap with that of 1F, and many oligos lost from 1F were mapped to a high frequency in the master pool (Fig. 4b). Furthermore, the enriched oligos in the 1st passage of 3F were also mapped to the frequency distribution of the master pool, and this group of oligos covered a very wide area, mapping to oligos with both high and low coverage (Supplementary Fig. 19). In the 10-mer DNA sequence pattern analysis, the top 10% high frequency 10-mer pattern accounted for 42.1% of the total 10-mer pattern counts in the 1st passage of the 3F assembly sample, compared to 26.5% for the 1st passage of the 1F assembly sample, resulting in a decrease of 16.4% (Supplementary Fig. 20). The 10-mer frequency distribution was obviously different between the enriched oligo sequences (Supplementary Fig. 21). These results also supported the idea that the assembly is a biased process dependent on the sequence context rather than the oligo concentration in the original master pool. However, after the living cell material was manufactured, the mixed culture preserved the stability of digital DNA for large-scale living cell data storage.

## Discussion

DNA is considered to have high potential as an advanced material for mass data storage, a serious problem human society will face in the very near future. In addition to the storage density, the crucial features including storage longevity and low copy cost are highly dependent on biological systems inside living cells. Thus far, the data storage capacity has been demonstrated mainly using large oligonucleotide pools, up to 13 million DNA oligos produced via advanced chip-based synthesis4. Although several molecular tools, such as CRISPR and special recombinases, have been adapted to write information into the genome, the capacity is still very far away from the in vitro systems, not larger than 20 kbps to date31. Theoretically, one intact single DNA fragment is the desirable material for data storage, mimicking the way genomes store information in nature, but the current DNA writing technology is not designed for the synthesis of long DNA strands. Although entire bacterial genomes have been reconstructed from chemically synthesized oligos32, the synthesis of large DNA fragments is extremely time- and labor-intensive. The cost for a DNA fragment over 10 kbps is about 0.2$/nt at the major commercial companies33,34, and it generally takes several months to build with high risk of failure for complicated sequences. Considering the scale of application, it is very challenging for large DNA fragments to match for practical data storage needs until suitable synthesis technology is developed. By contrast, pools of oligos several hundreds of nucleotides in length can be synthesized at a cost lower than 0.001$/nt33, several orders of magnitudes lower than that of large-fragment DNA synthesis. Additionally, over a million distinct strands can be manufactured at same time in just a couple of business days, while the cost keeps going down with the scale-up of synthesis. Therefore, a mixed culture of bacterial cells carrying a large oligonucleotides pool could be a powerful DNA storage material with advantages of both oligo pools and living cell for data storage. In comparison with the major previous reported living cell DNA storage systems9,31,35, the total 2304 Kbps DNA storage achieved in this study is the largest storage size of data, including text, image documents and computer program code, in living cells (Fig. 4c and Supplementary Note 7). In comparison with storing long DNA fragments on the chromosome, mixed culture storage materials could be fabricated within 24 h after oligo pool synthesis at a total manufacturing cost, lower than 0.001\$ per base (Supplementary Note 3). Additionally, a large DNA fragment imposes a greater burden on cell growth. In mixed cell culture, each cell only carries one small fragment of informational DNA, whose sequence was also analyzed by bioinformatic tools to avoid potential bacterial promotor sequences28. The stable passaging also indicted that these artificial digital sequences did not interference with the host cell much, and oligos carrying toxic sequences will not interfere with others, which is another benefit of this mixed culture strategy. Thus, in view of this very artificial purpose, digital information storage, it is not necessary to follow the modalities by which genomic information is recorded in nature.

Mixed culture is a strategy that has been successfully applied in many fields. In metabolic engineering, different types of microbial cells were cultured together for mutual metabolic benefit36,37, but the size of the population is relatively small. Larger DNA libraries encoding enormous genomic diversity were generated in living cells for screening of specific biological functions in directed evolution research38,39. Although a large DNA library has been created in living cells to generate very large phenotypic diversity, stably carrying these large numbers of DNA structures is not necessary. Generally, it is difficult to balance the growth rate between different cells. In the present work, even in one insert fragment assembly of the large oligonucleotide pool, there is at least 11520 genotypes, and there will be a huge number in the redundant assembly of multiple fragments, the largest mixed culture reported so far. As demonstrated by statistical analysis, the assembly process is biased due to the high sequence complexity in the large oligo pool, but it could be improved by more specific homology arm design, and more effective in vitro DNA homology assembly methods. Furthermore, the thermal process of DNA origami assembly could be recruited to improve the assembly efficiency. However, a relatively stable mixed culture was achieved even after multiple passages. The copy number distribution of oligos remained stable with very similar value of the Gini coefficient in the successive multiple passages of the mixed culture (Fig. 3c and Supplementary Figs. 15, 2223, Supplementary Table 2). There are a few possible reasons for this stability. The artificial purpose of storing digital information allows the design of sequences that avoid sensitive sequence patterns with specific biofunctions, e.g., polynucleotides (polyA etc.) and specific endonuclease recognition sequences (Supplementary Note 2). The bioinformatic analysis demonstrated that there is no sequence similarity between the designed oligos and the whole E. coli DH10β genome, with e-values of 10–6 (Supplementary Note 5). It was demonstrated that the digital DNA sequence has no large influence on either host cell growth or vector plasmid replication. Additionally, storing digital sequences on plasmids decreased the information contamination from the genome. Therefore, this simple method is highly compatible with any oligo pool for data storage, and scale-up could be achieved easily in a parallel manner based on the greater than 104 oligo storage capacity we demonstrated here.

When manufacturing living cell material for data storage, assembly and transformation become crucial steps in determining the actual size of the oligo population. Deep bioinformatic analysis demonstrated that the assembly process is biased based on the sequence context and transformation is a relatively random and inefficient process. Consequently, the size of the oligo population decreased almost two orders of magnitude. The bias introduced during assembly and transformation is highly dependent on the used bioreagent, and homology assembly methods should be re-designed to improve their efficiency for assembly of oligo pools with large molecular populations. In addition, it was found that the dropout rate during mixed culture showed a good correlation with the dropout curve of the master oligo pool, which could be quantified to assess the manufacture of storage material (Supplementary Fig. 24). Therefore, there is still much space to improve the capability of mixed cell cultures for storing data. The unevenness of oligo copy number in the original chip-synthesized DNA pool was obvious, which is also a serious problem for in vitro DNA storage approaches26. Oligos with high copy number have a higher chance of being integrated during the assembly process. As demonstrated, the oligo pool retrieved from cultured cells is highly unbalanced. Revising the oligo copy number of the oligo pool close to make it more even could improve the biased assembly process. The unevenness in oligo copy number caused oligo dropout in both the assembly and cell culture process. Recently, an approach has been developed to balance the oligo mix using a specifically designed primer mix40. However, it still needs more development before it can be applied to DNA pools for storage. Therefore, more synthetic tools could be developed to improve the chip-synthesized oligo pool and foreign DNA transformation, and balance the large mixed culture. In summary, a DNA oligo pool from chip synthesis comprising over ten thousand strands was quickly transferred into living cells for data storage. The resulting mixed culture of E. coli cells is a stable material for storing a large number of DNA sequences encoding digital data. To our best knowledge, here we achieved the largest data storage in living cells to date.

## Methods

### Strains and culture conditions

Electrocompetent competent E. coli DH10β was used for cloning and purchased from Biomed Co., Ltd. (Beijing, China). The antibiotics of ampicillin were used at 100 mg/mL. Unless otherwise noted, the cells were cultured in Luria-Bertani (LB) broth with shaking at 220 r.p.m. or on LB agar plates at 37 °C.

### Library construction

For the assembly of 509 sequences, the oligo pool was synthesized and the lyophilized pool consisted of 11,776 oligos of 192 nts (synthesized by Twist Bioscience), which included the 152 nts payload in each oligo. The pool was resuspended in 1× TE buffer for a final concentration of 2 ng/μL. One of the files, 509 oligos, was flanked by binding sites for the premixed primers F02/R02. PCR was performed using Q5® High-Fidelity DNA Polymerases (NEB #M0491) and primers F01-F04/R01-F04 (10 ng oligos, 2.5 μL of each primer mix (100 mM), 0.5 μL Q5 High-Fidelity DNA Polymerase, 4 μL 2.5 mM dNTPs in a 50 μL reaction). Thermocycling conditions were as follows: 5 min at 98 °C; 10 cycles of: 10 s at 98 °C, 30 s at 56 °C, 30 s at 72 °C, followed by a 5 min extension at 72 °C. The library was then purified using Plus DNA Clean/Extraction Kit (GMbiolab Co, Ltd. #DP034P) and eluted in 40 μL ddH2O. This library was considered the master pool and run on a 2% agarose gel to verify the correct size. For the assembly of 11520 sequences, the synthetic DNA pool consisted of 11520 oligos of 200 nts (synthesized by Twist Bioscience), which included the 155 nts payload flanked by binding sites for the primers F1/R1 (Supplementary Fig. 3). The lyophilized pool was rehydrated in 1× TE buffer and the above protocol was used to amplify the file.

### Computational strategy for primer homologous arm design

The primers were included three parts, one was the homologous arm (Homo-arm) which used for gibson assembly, the other was Not I which endonuclease recognition site and the last was address sequence. The primer design algorithm was implemented to codify rules for assembly fragments production using PCR. Primer homologous arm was designed using the NUPACK (http://www.nupack.org). Sets of primers are identified satisfying the following rules for homologous arm design: (1) homologous arm length 25 nt; (2) guanine-cytosine (GC) content between 40 and 60%; (3) no interaction between each homologous arm. Selected primers passing all of the aforementioned tests are provided as output as correct pairs that would yield the product of the defined size (Supplementary Figs. 1 and 2).

### Assembly experiment

For the backbone preparation, the pUC19 plasmid was used as templates for PCR. The PCR was performed using PrimeSTAR® Max DNA Polymerase (Takara #R045Q) and primer set PCR-vactor-F/R. Thermocycling were amplified for 30 cycles, involving denaturation for 15 s at 98 °C, annealing for 5 s at 55 °C and primer extension for 20 s at 72 °C. Then the PCR products were purified by gel cut using Plus DNA Clean/Extraction Kit (GMbiolab Co, Ltd. #DP034P) and eluted in 30 μL ddH2O.

For the 509 oligos pool assembly fragment preparation, we started with the master pool as described above. The fragments were prepared with different homologous arms using Q5® High-Fidelity DNA Polymerases and the corresponding primers (the sequence was showed in Supplementary Table 1). The template used 0.2 ng of oligo input from the master pool into 50 μL PCR reactions. Initial denaturation was carried out at 98 °C for 5 min. Follow this by 20 PCR cycles, involving denaturation for 30 s at 98 °C, annealing for 30 s at 56 °C and primer extension for 20 s at 72 °C. Finally, the PCR reaction was terminated by incubating the solution at 72 °C for 5 min. The library was then purified using Plus DNA Clean/Extraction Kit (Gmbiolab, #DP034P) and eluted in 30 μL ddH2O. The final library was run under the same conditions as described. Then the Gibson Assembly® Master Mix—Assembly (NEB, #E2611) was used according to user’s manual.

For the 11520 oligos pool assembly fragment preparation, we started with the master pool as described above. The fragments were prepared with different homologous arms using 2× EasyTaq® PCR SuperMix (AS111, TRANS) and the corresponding primers (the sequence was showed in Supplementary Table 1 and Supplementary Fig. 4). The template used 20 ng of oligo input from the master pool into 50 μL PCR reactions. Initial denaturation was carried out at 94 °C for 2 min. Follow this by 10 PCR cycles, involving denaturation for 30 s at 94 °C, annealing for 30 s at 53 °C and primer extension for 20 s at 72 °C. Finally, the PCR reaction was terminated by incubating the solution at 72 °C for 5 min. The library was then purified and eluted in 100 μL ddH2O. NEBuilder® HiFi DNA Assembly Cloning Kit (NEB, #E5520) was used according to user’s manual.

The concentration of each fragment was calculated for optimal assembly, based on fragment length and weight, we used the following equation:

$${\mathrm{pmols}} = \left( {{\mathrm{weight}}\,{\mathrm{in}}\,{\mathrm{ng}}} \right) \times 1000/\left( {{\mathrm{base}}\,{\mathrm{pairs}} \times 650\,{\mathrm{daltons}}} \right).$$
(1)

Based on this calculation, the number of molecules per oligo and copy number was determined according to the following formula:

$${\mathrm{moles}}\,{\mathrm{dsDNA}}\,\left( {{\mathrm{mol}}} \right) = \,{\mathrm{mass}}\,{\mathrm{of}}\,{\mathrm{dsDNA}}\,\left( {\mathrm{g}} \right)/\left( {\left( {{\mathrm{length}}\,{\mathrm{of}}\,{\mathrm{dsDNA}}\,\left( {{\mathrm{bp}}} \right) \times 607.4} \right)} \right. \\ + 157.9\,{\mathrm{g}}/{\mathrm{mol}};$$
(2)
$${\mathrm{DNA}}\,{\mathrm{copy}}\,{\mathrm{number}} = {\mathrm{moles}}\,{\mathrm{of}}\,{\mathrm{dsDNA}} \times 6.022{\mathrm{e}}23\,{\mathrm{molecules}}/{\mathrm{mol}}.$$
(3)

We found an excellent agreement concentration between the assembly fragment and the backbone of Gibson assembly experiment. Thus, for 509 oligos pool assembly experiment, optimized cloning was performed using 1011 copy number of vectors and 108 copy number of inserts. For 11,520 oligos pool assembly experiment, optimized cloning was performed using 1010 copy number of vectors and 1010 copy number of inserts. The sample was incubated in a thermocycler at 50 °C for 60 min, respectively. Following incubation, store samples on ice or at −20 °C for subsequent transformation.

### DNA storage in living cells

To prepare the fragments for the 509 oligos pool assembly, we started with the master pool as described above. The fragments were prepared with different homologous arms using Q5® High-Fidelity DNA Polymerase and the corresponding primers. Then, the Gibson Assembly® Master Mix (NEB, #E2611) was used according to the manufacturer’s instructions. To prepare the fragments for the 11520 oligos pool assembly, we started with the master pool as described above. The fragments were prepared with different homologous arms using 2× EasyTaq® PCR SuperMix (AS111, TRANS) and the corresponding primers. NEBuilder® HiFi DNA Assembly Cloning Kit (NEB, #E5520) was used according to the manufacturer’s instructions.

### Transformation and culture

Electroporation was carried out in 1-mm gap cuvettes with conditions 1.8 kV, 200 Ω, 25 Μf, cells were recovered into fresh SOB medium for 1 h at 37 °C. For 509 assembly experiment, each sample (5 μL) was added to DH10β electrocompetent cells (50 μL) for electroporation reaction.

After recovery, 500 μL cells were plated on the selection medium plates with appropriate selective condition (Amp) and the colonies were counted by ImageJ. For 11520 assembly experiment, each sample (2 μL, totally 20 μL) was added to DH10β electrocompetent cells (50 μL) for electroporation reaction. After recovery, 500 μL cells were plated on the selection medium plates with appropriate selective condition (Amp) and the colonies were counted by ImageJ. The transformation rate was calculated by the following equation:

$${\mathrm{Transformation}}\,{\mathrm{efficiency}}\left( {{\mathrm{cfu}}/\!\mu {\mathrm{g}}} \right) \!=\! {\mathrm{colonies}}\,{\mathrm{on}}\,{\mathrm{plate}}/{\mathrm{plasmid}}\,{\mathrm{DNA}}\,{\mathrm{spread}}\,{\mathrm{on}}\,{\mathrm{plate}}$$
(4)
$${\mathrm{Transformation}}\,{\mathrm{rate}} = {\mathrm{Transformation}}\,{\mathrm{efficiency}}/10^{10}\left( {{\mathrm{cfu}}/\mu {\mathrm{g}}} \right) \ast$$
(5)

*note: 1010 cfu/μg is the theoretical transformation efficiency of DH10β electrotransducer cells.

For 509 oligos pool assembly experiment, another 500 μL cells were inoculated in 5 mL Luria broth (LB) medium plus appropriate antibiotics and grown overnight [37 °C, 220 revolutions per minute (RPM)] to obtain seed cultures. For 11520 oligos pool assembly experiment, 5 mL recovered cells were inoculated in 45 mL Luria broth (LB) medium plus appropriate antibiotics and grown overnight to obtain seed cultures. The seed cultures were then serially diluted (1:10) in 50 mL of prewarmed LB plus appropriate antibiotics followed by OD600 reached 1.2. This consecutive procedure was repeated 5 times (Supplementary Fig. 12).

### Data recovery

After liquid and plate culture, the plasmid library was extracted using a plasmid miniprep Kit (TIANGEN, #DP103). Then, QuickCut™ Not I (Takara, #1623) was used for fragments recovery. After gel recovery of the correct fragments using the Plus DNA Clean/Extraction Kit, the samples of the 509 oligos pool (1F, 3F and 5F) and the 11520 oligos pool (passage-1 and passage-5 of 1F and 3F) were sequenced directly. To obtain more complete information, we performed a PCR of the constructed plasmid to amplify the 11,520 oligos pool (passage-1 and passage-5 of 1F and 3F) using Q5® High-Fidelity DNA Polymerases and the primer pair F02/R02. The thermocycling protocol was: (1) 98 °C for 5 min, (2) 98 °C for 30 s, (3)54 °C for 30 s, (4) 72 °C for 10 s, then repeat steps 2–4 five times, followed by a final elongation at 72 °C for 5 min. The products were purified using the Plus DNA Clean/Extraction Kit (GMbiolab Co, Ltd. #DP034P) and sequenced.

### Statistics and reproducibility

Experiments with various sizes of DNA oligo pools were performed with at least 3 separated samples. Histograms were generated using Origin software. Quantitative data in figures are presented as the mean and standard deviation from three biological replicates.

### Reporting Summary

Further information on research design is available in the Nature Research Reporting Summary linked to this article.

## Data availability

The data supporting the conclusions of this article are included within the article and its additional files. Furthermore, the original sequencing FASTQ file and the designed sequence file may be obtained via (http://pan.tju.edu.cn:80/#/link/FBECCB92999B055C2C2618A1B386F192, Code: 9ztM and http://pan.tju.edu.cn:80/#/link/3739C996782A37FB98440298DEBF29DA, Code: YQ0a). Source data underlying plots shown in figures are provided in Supplementary Data 1.

## Code availability

The BASIC code for encoding and decoding for both Linux and Windows and bioinformatic analysis programs may be obtained from this link (https://biorxiv.org/cgi/content/short/2020.02.09.940411v1).

## References

1. Goldman, N. et al. Towards practical, high-capacity, low-maintenance information storage in synthesized DNA. Nature 494, 77 (2013).

2. Ceze, L., Nivala, J. & Strauss, K. Molecular digital data storage using DNA. Nat. Rev. Genet. 20, 456–466 (2019).

3. Erlich, Y. & Zielinski, D. DNA Fountain enables a robust and efficient storage architecture. Science 355, 950–954 (2017).

4. Organick, L. et al. Random access in large-scale DNA data storage. Nat Biotechnol 36, 242–248 (2018).

5. Kozich, J. J., Westcott, S. L., Baxter, N. T., Highlander, S. K. & Schloss, P. D. Development of a dual-index sequencing strategy and curation pipeline for analyzing amplicon sequence data on the MiSeq Illumina sequencing platform. Appl. Environ. Microbiol. 79, 5112–5120 (2013).

6. Farzadfard, F. & Lu, T. K. Synthetic biology. Genomically encoded analog memory with precise in vivo DNA writing in living cell population. Science 346, 1256272 (2014).

7. Song, L. & Zeng, A.-P. Orthogonal information encoding in living cells with high error-tolerance, safety, and fidelity. ACS Synth. Biol. 7, 866–874 (2018).

8. Yachie, N., Sekiyama, K., Sugahara, J., Ohashi, Y. & Tomita, M. Alignment-based approach for durable data storage into living organisms. Biotechnol. Prog. 23, 501–505 (2007).

9. Jian Sun, Q. W., Wenyi, D., Zhou, C., Wang, B., Rao, L. & Yang, P. Digital information storage on DNA in living organisms. Med. Res. Arch. 7, 2–13 (2019).

10. Yan, J., Cirincione, A. & Adamson, B. Prime editing: precision genome editing by reverse transcription. Mol. Cell 77, 210–212 (2020).

11. Simon, A. J., Ellington, A. D. & Finkelstein, I. J. Retrons and their applications in genome engineering. Nucleic Acids Res. 47, 11007–11019 (2019).

12. Zu, Y. et al. TALEN-mediated precise genome modification by homologous recombination in zebrafish. Nat. Methods 10, 329–331 (2013).

13. Bessen, J. L. et al. High-resolution specificity profiling and off-target prediction for site-specific DNA recombinases. Nat. Commun. 10, 1–13 (2019).

14. Adli, M. The CRISPR tool kit for genome editing and beyond. Nat. Commun. 9, 1–13 (2018).

15. Richardson, C. D., Ray, G. J., DeWitt, M. A., Curie, G. L. & Corn, J. E. Enhancing homology-directed genome editing by catalytically active and inactive CRISPR-Cas9 using asymmetric donor DNA. Nat. Biotechnol. 34, 339–344 (2016).

16. Kosuri, S. et al. Scalable gene synthesis by selective amplification of DNA pools from high-fidelity microchips. Nat. Biotechnol. 28, 1295 (2010).

17. Jünemann, S. et al. Updating benchtop sequencing performance comparison. Nat. Biotechnol. 31, 294 (2013).

18. Von Bubnoff, A. Next-generation sequencing: the race is on. Cell 132, 721–723 (2008).

19. Weber, J. L. & Myers, E. W. Human whole-genome shotgun sequencing. Genome Res. 7, 401–409 (1997).

20. Xiong, A. S. et al. PCR-based accurate synthesis of long DNA sequences. Nat. Protoc. 1, 791–797 (2006).

21. Hutchison, C. A. et al. Design and synthesis of a minimal bacterial genome. Science 351, aad6253 (2016).

22. Gibson, D. G. et al. Creation of a bacterial cell controlled by a chemically synthesized genome. Science 329, 52–56 (2010).

23. Gibson, D. G., Smith, H. O., Hutchison, C. A., Venter, J. C. & Merryman, C. Chemical synthesis of the mouse mitochondrial genome. Nat. Methods 7, 901–903 (2010).

24. Shipman, SethL., Jeffrey, J. N., George, D. Macklis & Church, M. CRISPR–Cas encoding of a digital movie into the genomes of a population of living bacteria. Nature 547, 345–349 (2017).

25. Gao, Y. et al. Low-bias amplification for robust DNA data readout. Preprint at https://doi.org/10.1101/2020.02.09.940411 (2020).

26. Chen, Y. J. et al. Quantifying molecular bias in DNA data storage. Nat Commun 11, 3264 (2020).

27. Zadeh, J. N. et al. NUPACK: analysis and design of nucleic acid systems. J. Comput. Chem. 32, 170–173 (2011).

28. Solovyev, V. & Salamov, A. Automatic annotation of microbial genomes and metagenomic sequences. In Metagenomics and Its Applications in Agriculture, Biomedicine and Environmental Studies, 61–78 (Nova Science Publishers, 2011).

29. Riley, M. A. & Gordon, D. M. The ecological role of bacteriocins in bacterial competition. Trends Microbiol. 7, 129–133 (1999).

30. Chao, L. & Cox, E. C. Competition between high and low mutating strains of Escherichia coli. Evolution 37, 125–134 (1983).

31. Shipman, S. L., Nivala, J., Macklis, J. D. & Church, G. M. CRISPR-Cas encoding of a digital movie into the genomes of a population of living bacteria. Nature 547, 345–349 (2017).

32. Fredens, J. et al. Total synthesis of Escherichia coli with a recoded genome. Nature 569, 514–518 (2019).

33. Kosuri, S. & Church, G. M. Large-scale de novo DNA synthesis: technologies and applications. Nat. Methods 11, 499–507 (2014).

34. Hughes, R. A. & Ellington, A. D. Synthetic DNA synthesis and assembly: putting the synthetic in synthetic biology. Cold Spring Harb. Perspect. Biol. 9, (2017).

35. Yachie, N., Sekiyama, K., Sugahara, J., Ohashi, Y. & Masaru, T. Alignment-based approach for durable data storage into living organisms. Biotechnol. Prog. 23, 501–505 (2007).

36. Chen, Y. Development and application of co-culture for ethanol production by co-fermentation of glucose and xylose: a systematic review. J. Ind. Microbiol. Biotechnol. 38, 581–597 (2011).

37. Pang, J. et al. Enhancing the ethanol yield from salix using a Clostridium thermocellum and Thermoanaerobacterium thermosaccharolyticum co-culture system. BioResources 13, 5377–5393 (2018).

38. Olsen, M. J. et al. Function-based isolation of novel enzymes from a large library. Nat. Biotechnol. 18, 1071–1074 (2000).

39. Sadler, J. C., Currin, A. & Kell, D. B. Ultra-high throughput functional enrichment of large monoamine oxidase (MAO-N) libraries by fluorescence activated cell sorting. Analyst 143, 4747–4755 (2018).

40. Pinto, A., Chen, S. X. & Zhang, D. Y. Simultaneous and stoichiometric purification of hundreds of oligonucleotides. Nat. Commun. 9, 2467 (2018).

## Acknowledgements

This work was supported by the National Science Foundation of China (Grant Nos. 21476167, 21778039 and partly by 21621004) and the National Key R & D Program of China (2019YFA0904100).

## Author information

Authors

### Contributions

M.H., Y.G. and H.Qiao. contributed equally to this work. M.H. was involved in a part of the experiments and supplementary information writing. H.Qiao, Y.G. did the main experiments, data analysis and contributed largely to the manuscript writing. Z.W. and X.Q. did a part of the experiments. X.C. provided a part of the bioinformatics statistical analysis programs. H.Qi designed experiments, analyzed data, contributed to manuscript writing, and supervised this work.

### Corresponding author

Correspondence to Hao Qi.

## Ethics declarations

### Competing interests

Hao Qi is the inventor of a patent application for the biochemical method described in this article. The initial filing was assigned the Chinese patent application number 201911121023.7. The remaining authors declare no competing interests.

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

Reprints and Permissions

Hao, M., Qiao, H., Gao, Y. et al. A mixed culture of bacterial cells enables an economic DNA storage on a large scale. Commun Biol 3, 416 (2020). https://doi.org/10.1038/s42003-020-01141-7

• Accepted:

• Published:

• DOI: https://doi.org/10.1038/s42003-020-01141-7