Scientists have effectively turned E. coli (the stuff that can give you a bad case of food poisoning) into a mini hard drive.

In a new study in the journal Nature, researchers from Harvard University have managed to encode a short video into the DNA of a living cell. Just like downloading a film from a USB stick, they were then able to retrieve the video from the cell and replay it. Scientists have been able to "upload" data onto DNA before but this is the first time a video has been replayed from the bacteria.

Think of it like this: DNA is essentially just a way of storing information, not dissimilar from digital storage. Instead of coding for data in 1s and 0s like a hard drive, DNA uses four nucleotide bases that code the information instead.

"We designed strategies that essentially translate the digital information contained in each pixel of an image or frame as well as the frame number into a DNA code, that, with additional sequences, is incorporated into spacers," lead study author Seth Shipman said in a statement. "Each frame thus becomes a collection of spacers."

As you can just about make out, the process meant some of the information was lost. Seth Shipman

"We then provided spacer collections for consecutive frames chronologically to a population of bacteria which, using Cas1/Cas2 activity, added them to the CRISPR arrays in their genomes," he added.

"And after retrieving all arrays again from the bacterial population by DNA sequencing, we finally were able to reconstruct all frames of the galloping horse movie and the order they appeared in."

The frames of the video are from one of the earliest precursors to motion film, Sallie Gardner at a Gallop. This series of photographs depict a horse galloping, taken in 1878 by British photography pioneer Eadweard Muybridge. When the photos are put together, they create an animation effect. The original photographs have acquired an iconic status in the world of motion film but the original purpose of the photo shoot was simply to find out whether a horse ever lifts all four feet completely off the ground during a gallop.

The advance in this study is a proof-of-concept to demonstrate the possibilities of using DNA to store data. It might just sound like a gimmick but considering how much data we are continually pumping out, it could be the key to resolving our data storage woes.

DNA is ultra-compact, meaning you could theoretically store all the world’s data in just one room. It also has the ability to be stored for hundreds of thousands of years if it's kept under the right conditions.