Skip to main content

just-dna-enricher

The network tier of the just-dna workspace. It fills the source-independent resolution table (resolution.csv) that just-dna-compiler consumes — Ensembl cache → HuggingFace snapshot → ClinVar cache → live Ensembl (V2 GraphQL, with a V1 REST fallback on 500/503, and tenacity retries) — then hands off to a deterministic, offline compile. The ClinVar link sits after the Ensembl cache so a variant both references know keeps its Ensembl alts/source and no already-compiled module's digest moves; it is a complementary reference that makes an offline clinical enrich possible without the 14 GB dbSNP cache.

It is the only package in the workspace allowed to fetch: just-dna-format and just-dna-compiler stay strictly inject-only (CONSTITUTION Goal 2 + the 0.5 amendment). The dependency arrow points inward — enricher → compiler → format — so httpx / huggingface_hub never enter the compile path.

just-dna-enricher enrich spec/ --strict            # write spec/resolution.csv
just-dna-enricher enrich spec/ --offline           # cache-only, zero egress
just-dna-enricher enrich-and-compile spec/ out/    # enrich, then compile from resolution.csv
just-dna-enricher upload out/coronary --dry-run    # publisher surface ([dev]): plan an HF upload
just-dna-enricher upload out/coronary              # upload compiled artifacts to the HF collection
just-dna-enricher clinvar build --vcf clinvar.vcf.gz --out cv/   # build the ClinVar snapshot ([dev])
just-dna-enricher clinvar publish cv/              # create-or-update datasets/just-dna-seq/clinvar

Publisher / [dev] surface. Snapshot download is part of the runtime enrich chain; the publisher half is upload — pushing a compiled module (parquet + manifest) or a built ClinVar reference snapshot (data/*.parquet + release.json) to a HuggingFace dataset repo — plus the ClinVar builder (clinvar build, which needs polars). Install it explicitly:

pip install 'just-dna-enricher[dev]'
# or, in this workspace:
uv sync --package just-dna-enricher --group dev

Downstream repos (ensembl-mcp, just-dna-lite/pipelines) adopt this package as the single source of truth for variant resolution instead of maintaining their own query/download code. Lite's pipelines v1-port publish still has a local copy until it adopts the 0.5 enricher tier; the canonical publisher API is just_dna_enricher.upload.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

just_dna_enricher-0.5.4.tar.gz (219.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

just_dna_enricher-0.5.4-py3-none-any.whl (251.9 kB view details)

Uploaded Python 3

File details

Details for the file just_dna_enricher-0.5.4.tar.gz.

File metadata

  • Download URL: just_dna_enricher-0.5.4.tar.gz
  • Upload date:
  • Size: 219.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for just_dna_enricher-0.5.4.tar.gz
Algorithm Hash digest
SHA256 df0af5de9dbaa2412d546e39cdbe3bf1e784cdd527cd91e4c5361cf9fcfa9b73
MD5 0a995da087717a813df5cfff58ffe37f
BLAKE2b-256 4b4e0ea8bc74819f5a7eeb6abdff758c2df5b73c0b8297e527b0c079b341a6e0

See more details on using hashes here.

File details

Details for the file just_dna_enricher-0.5.4-py3-none-any.whl.

File metadata

  • Download URL: just_dna_enricher-0.5.4-py3-none-any.whl
  • Upload date:
  • Size: 251.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for just_dna_enricher-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 827b08df0d17f03ed2aa989af90f56d2f44e978c7f688b2944d5d56aaa5433a0
MD5 f7c4e8cfc21a9df6585b63f1bbecf302
BLAKE2b-256 72cbab167f47a1c24dfe46d237d524958908b7d22855ed6205fa0c93765d8997

See more details on using hashes here.

Release history Release notifications | RSS feed

0.6.6

2 files

0.6.4

2 files

0.6.3

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

This release

0.5.4 This release

2 files

0.5.3

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page