EvaluatedApplications.HoloGenome
0.1.0
See the version list below for details.
dotnet add package EvaluatedApplications.HoloGenome --version 0.1.0
NuGet\Install-Package EvaluatedApplications.HoloGenome -Version 0.1.0
<PackageReference Include="EvaluatedApplications.HoloGenome" Version="0.1.0" />
<PackageVersion Include="EvaluatedApplications.HoloGenome" Version="0.1.0" />
<PackageReference Include="EvaluatedApplications.HoloGenome" />
paket add EvaluatedApplications.HoloGenome --version 0.1.0
#r "nuget: EvaluatedApplications.HoloGenome, 0.1.0"
#:package EvaluatedApplications.HoloGenome@0.1.0
#addin nuget:?package=EvaluatedApplications.HoloGenome&version=0.1.0
#tool nuget:?package=EvaluatedApplications.HoloGenome&version=0.1.0
HoloGenome
Encode DNA as phasor holograms whose geometry comes from measured DNA physics, not invented constants. Experimental (0.x). Research and education only: no health, disease-risk or drug-response output.
- Each base is a Phasor symbol face.
- Bases ride a helical carrier: the phase advances by each dinucleotide step's measured twist (Olson et al. 1998, PNAS 95:11163, Table 1, built in), or by a constant 34.3 degrees, or not at all.
- Optional local-shape layer: minor groove width, propeller twist, roll and helix twist per base, read from a pentamer table you supply (no third-party shape data ships in this package).
- A window of sequence becomes one fixed-width vector (
HoloCodecplanar layout) you can store in HoloDb, compare by dot product, or feed to any regression. GenomeWindowStorekeeps windows in a HoloDb table with ordinary SQL columns beside the hologram.
Quick start
dotnet add package EvaluatedApplications.HoloGenome
using HoloDb;
using HoloGenome;
var encoder = new GenomeEncoder(new GenomeEncoderOptions { Dim = 512, Twist = OlsonTwist.Instance });
double[] h = encoder.Encode("ATGCGTACGTTAGCAAAAATTTTTGCGCGATCGATCGTAGCTAGCTAGCA");
Console.WriteLine($"{h.Length} reals; helix turns: {encoder.HelixPhases("ATGCGTACGT")[^1] / (2 * Math.PI):F2}");
var db = new HoloDbService(new HoloDbOptions());
var store = new GenomeWindowStore(db);
store.Put([new GenomeWindow(1, "demo", 0, "ATGCGTACGT", encoder.Encode("ATGCGTACGT"))]);
Console.WriteLine(store.Get(1)!.Sequence); // ATGCGTACGT
Public surface
| Type | What it does |
|---|---|
GenomeEncoder(GenomeEncoderOptions?) |
Encode(window), EncodeWindow(sequence, start, length) (outside bases = shape context only), HelixPhases(window) (cumulative angle, radians), Dim. |
GenomeEncoderOptions |
Dim (default 512), Twist (ITwistModel?, default OlsonTwist.Instance; null = no helix phase), Shape (PentamerShapeTable?). |
ITwistModel |
TwistDegrees(a, b) for the 5'-ab-3' step. Implementations: OlsonTwist.Instance (also Step(a, b) → StepParams with all six parameters), ConstantTwist(degrees = 34.3). |
PentamerShapeTable |
Load(path) / Parse(lines); rows PENTAMER MGW ProT Roll1 Roll2 HelT1 HelT2; Lookup(pentamer) with reverse-complement fallback; Mean, StdDev, Standardised(v, f), Misses. |
ShapeValues |
Mgw, ProT, Roll, HelT (Roll/HelT = mean of the two steps around the centre base). |
GenomeWindowStore(HoloDbService, table = "genome_windows") |
Put(windows) (bulk, atomic), Get(id), All(), Count(), static Pack/Unpack (float32 base64). |
Dna |
Normalise (rejects non-ACGT), ReverseComplement, Complement, Index. |
Gotchas
- Sequences must be A/C/G/T.
Nand IUPAC codes throw rather than being guessed. - The hologram is an unnormalised sum over bases: longer windows have larger norms. Compare windows of equal length.
- Stored holograms are float32: a round trip is exact to about 6e-8 relative, not to double precision.
- Faces use
HoloCodec's planar layout[reals | imags]; do not mix them withPhasorCodec's interleaved faces.
License
Proprietary — this package ships the compiled library only; see LICENSE for the full terms. Installing and
using unmodified copies for internal evaluation and non-commercial development or testing is licensed;
commercial, production, or revenue-generating use requires a separate commercial licence from the owner. No
feature on this page is gated behind a tier or a licence key — every capability described works identically
with or without one. Copyright (c) 2026 Dongyang Stephen Chen, trading as Evaluated Applications. All rights
reserved.
| Product | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- EvaluatedApplications.HoloDb (>= 2.1.0)
- EvaluatedApplications.Phasor (>= 1.4.1)
-
net8.0
- EvaluatedApplications.HoloDb (>= 2.1.0)
- EvaluatedApplications.Phasor (>= 1.4.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.