DNALab 0.0.2-alpha

This is a prerelease version of DNALab.
Install-Package DNALab -Version 0.0.2-alpha
dotnet add package DNALab --version 0.0.2-alpha
<PackageReference Include="DNALab" Version="0.0.2-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DNALab --version 0.0.2-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DNALab, 0.0.2-alpha"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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.2-alpha&prerelease

// Install DNALab as a Cake Tool
#tool nuget:?package=DNALab&version=0.0.2-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

DNA Laboratory

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


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



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

PM> Install-Package DNALab -Version 0.0.2-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].

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.


  • .NETStandard 2.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.2-alpha 151 10/23/2020
0.0.1-alpha 217 9/19/2020