Fantasista.DNA 0.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Fantasista.DNA --version 0.0.2                
NuGet\Install-Package Fantasista.DNA -Version 0.0.2                
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="Fantasista.DNA" Version="0.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Fantasista.DNA --version 0.0.2                
#r "nuget: Fantasista.DNA, 0.0.2"                
#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 Fantasista.DNA as a Cake Addin
#addin nuget:?package=Fantasista.DNA&version=0.0.2

// Install Fantasista.DNA as a Cake Tool
#tool nuget:?package=Fantasista.DNA&version=0.0.2                

Fantasista.DNA

Simple helper files for reading and working with different types of DNA stuff.
Logo

Install

$ dotnet add package Fantasista.DNA

Classes

VcfFileReader

A class to read vcf files. For now this is just based on being able to read the ClinVar vcf file. This is still work in progress, but it works for most cases. If you have suggestions, please feel free to use "Issues" on github. Example:

        using var vcfFile = File.Open("clinvar.vcf");
        using var reader = new VcfStreamReader(file);
        foreach (var row in reader.Read())
        {
            Console.WriteLine($"{row.Chrom.Value} - {row.Info.Value["ALLELEID"].GetValue<int>()}");
        }

HgvsVariant

A simple class to parse and write Human Genome Variation Society Formatting (HGVS) Example:

        var str = "NM_000018.4(ACADVL):c.62+5G>A";
        var variant = HgvsVariant.Parse(str);
        Console.WriteLine(variant.GeneSymbol); // ACADVL
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.5 99 12/13/2024
0.0.4 87 11/29/2024
0.0.3 86 11/15/2024
0.0.2 87 11/13/2024