DRPTranslatorCS 1.0.0

.NET Standard 2.0
Install-Package DRPTranslatorCS -Version 1.0.0
dotnet add package DRPTranslatorCS --version 1.0.0
<PackageReference Include="DRPTranslatorCS" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DRPTranslatorCS --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DRPTranslatorCS, 1.0.0"
#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 DRPTranslatorCS as a Cake Addin
#addin nuget:?package=DRPTranslatorCS&version=1.0.0

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

Hello Everyone!

It now supports netstandard 2.0!

This is DRPTRanslatorCS a (rewritten from the ground up) port of DRPTRanslator npm package.

This library is useful for those that want to do some entry-level genetics. You can Translate, Transcript DNA or RNA sequences, also you can get the Aminoacid sequences based on the provided sequence.

It is also helpful to get some information from the sequences themselves like Starts and Stop Codons, individual codons so If you know someone who needs a little help with their Genetic sequence this might suit you.

However if you are an advanced geneticist looking for complex computations I'm afraid that this will not help you at all. if you want to help me to get more features included in the library go ahead and raise an Issue 😃 I'm glad to help in any way possible, also if you find any bugs or unexpected behaviors please fill a new issue.


In Visual Studio nuget package manager type

Install-Package DRPTranslatorCS


  1. Right click in your solution
  2. Select Manage NuGet Packages...
  3. In the searchbox type DRPTranslatorCS
  4. Select DRPTranslatorCS and click Install

There you go


Parsing individual characters

using System;
using DRPTranslator;
namespace App
    class Program
        static void Main(string[] args)
            // Prints out a Symbols.DNA.C.ToString(); enum

Translating or Transcribing DNA sequences

using System;
using DRPTranslator.Translators;
namespace App
    class Program
        static void Main(string[] args)
            DnaTranslator dnaTrans = new DnaTranslator();
            string transDna = dnaTrans.TransDnaRna("ATC");
            string transcriptedDna = dnaTrans.TransDnaAa("TAC");

            // UAG
            // MET


If you need to do more stuff individually, check out Codon class and GeneticMatcher class, both offer some useful methods like Parsing aminoacids or Codons hat could help on more specialized tasks.


  • Upload API Docs Website.
  • Write Demos.

If you have suggestions or found a bug please let me know in the issues 😃

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .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
1.0.0 1,554 11/18/2017

While it's not a full library I never received complains about it so i guess we can pull it out of Beta.
HOWEVER Breaking changes!
- Switched into netstandard 2.0, and ditched the profile 111 PCL
- The default namespace is now DRPTranslator instead of DRPTranslatorCS
Besides that the code remains the same if you are able to target a comatible .net version just switch the namespace name and the could should keep doing what it did before.