DNALab 0.0.4-alpha

This is a prerelease version of DNALab.
dotnet add package DNALab --version 0.0.4-alpha                
NuGet\Install-Package DNALab -Version 0.0.4-alpha                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DNALab" Version="0.0.4-alpha" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DNALab --version 0.0.4-alpha                
#r "nuget: DNALab, 0.0.4-alpha"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DNALab as a Cake Addin
#addin nuget:?package=DNALab&version=0.0.4-alpha&prerelease

// Install DNALab as a Cake Tool
#tool nuget:?package=DNALab&version=0.0.4-alpha&prerelease                

DNA Laboratory

The .NET Standard Library for encoding/decoding data into DNA sequence.

Logo

Code & Opinions expressed in this repository are solely my own and do not express the views or opinions of my employer. This code is not supported by any employer as well as not profitable and do not bring any financial benefits. All work that was done during its creation was conducted in my spare/personal time and based only on my willingness to help the open-source community.

Overview

This projects contains implementation of DNA encoding and decoding algorithms which will help you to encode binary data into DNA sequences.

Installation

NuGet

You can install the last stable version of DNA Laboratory using nuget.

PM> Install-Package DNALab -Version 0.0.3-alpha

For more details about package please visit this.

Encode binary data into DNA sequence

Any digital data can be represented as array of bytes. in a byte, each bit located from right to left represents a values from 0 (00000000) to 255 (11111111) [1].

However in an array, (matrix 1 x N) values located from left to right [2] [3].

Lets split array by 'bit pairs' from left to right, this how we get 4 pairs of bits. Each pair can be in one of 4 possible values: (00), (01), (10), and (11). Each of this state can be represented as DNA nucleotide. A Nucleotide in DNA consists of a sugar (deoxyribose), one of four bases (cytosine (C), thymine (T), adenine (A), guanine (G)), and a phosphate [4].

An Explanation of DNA structure

This means that any information streamed as an array of bytes, where each byte (eight-bit array), can be represented as a sequence of two base pairs of nucleotides.

Byte to DNA conversion

References

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.0.4-alpha 0 7/26/2024
0.0.3-alpha 177 11/23/2023
0.0.2-alpha 274 10/23/2020
0.0.1-alpha 324 9/19/2020