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.
Release files for just-dna-enricher 0.7.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| just_dna_enricher-0.7.2.tar.gz | 807.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| just_dna_enricher-0.7.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.7 MB
Release files / just_dna_enricher-0.7.2.tar.gz
| Download URL | just_dna_enricher-0.7.2.tar.gz |
|---|---|
| Size | 807.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
99033e52e9c43080de29ec054d98d292c896928fb21602103b84d385980e50d9
|
|
BLAKE2b-256 checksum How to use checksums |
58eb5bb33efb9c606852bde7ce81bfb3fe3d83028f882ff4568c399c9d6d17d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / just_dna_enricher-0.7.2-py3-none-any.whl
| Download URL | just_dna_enricher-0.7.2-py3-none-any.whl |
|---|---|
| Size | 893.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f10e5e2a3a7119bf25b92c71af7117b29f57f2e667ac7d8fec60f1106eaae2c
|
|
BLAKE2b-256 checksum How to use checksums |
21c17b812414a01541bf496215f8d3983b641637533f25e13478b442ac5fe077
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|