Code Monkey home page Code Monkey logo

dna-data-storage's Introduction

Single Read Reconstruction for DNA Data Storage Using Transformers

Overview

This repository is the official implementation of "Single Read Reconstruction for DNA Data Storage Using Transformers", a novel approach leveraging an encoder-decoder Transformer architecture for DNA-based data storage. In the face of increasing global data storage demands, DNA storage emerges as a promising solution with high information density. However, DNA synthesis and sequencing are prone to errors. Our model uniquely addresses this by facilitating single-read reconstruction, significantly reducing reading costs and achieving lower error rates compared to traditional multi-read methods.

Process Overview Example of Reconstruction

Key Features

  • Transformer Architecture: A groundbreaking deep learning model specifically designed for error correction in DNA sequences.
  • Single-Read Reconstruction: First-of-its-kind approach using deep learning for single-read reconstruction in DNA-based storage, significantly reducing overall costs.
  • Versatility in Data Types: Capable of handling and reconstructing diverse data types, including text, images, and code scripts.
  • Efficient and Accurate: Demonstrates lower error rates in reconstruction from single DNA strand reads than existing state-of-the-art algorithms.

Installation

Run pip install -r requirements.txt to install required packages.

Usage

  • Configuration: Customize model configurations in configuration.py.
  • Data Processing: Employ data_utils for efficient data loading and preparation.
  • Model Training: Initiate model training through DNAmodel.py.
  • Diverse Data Handling: Utilize image_utils.py and text_utils.py for conversion and reconstruction of images and text data.
  • Prediction and Evaluation: Execute predictions and evaluate performance using Predict.py.

Model Training and Prediction Flowchart

Components

  • configuration.py: Settings and parameters for the model.
  • data_utils: Modules for data handling and preprocessing.
  • DNAmodel.py: Core deep learning model and associated methods.
  • image_utils.py, text_utils.py: Tools for processing image and text data.
  • Predict.py: Functions for model predictions and evaluations.
  • utils.py: General utilities, including high-fidelity error simulation methods.

Requirements

Python packages required are listed in requirements.txt.

Citation

If you find this work useful, please cite our paper:

@misc{nahum2021singleread,
      title={Single-Read Reconstruction for DNA Data Storage Using Transformers}, 
      author={Yotam Nahum and Eyal Ben-Tolila and Leon Anavy},
      year={2021},
      eprint={2109.05478},
      archivePrefix={arXiv},
      primaryClass={cs.ET}
}

License

This project is licensed under the MIT License.

For more details, refer to the full paper: Single-Read Reconstruction for DNA Data Storage Using Transformers.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.