Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- 0acd4040-15c6-47bb-bc79-aa7a3f4ba12d/data_level0.bin +3 -0
- 0acd4040-15c6-47bb-bc79-aa7a3f4ba12d/header.bin +3 -0
- 0acd4040-15c6-47bb-bc79-aa7a3f4ba12d/index_metadata.pickle +3 -0
- 0acd4040-15c6-47bb-bc79-aa7a3f4ba12d/length.bin +3 -0
- 0acd4040-15c6-47bb-bc79-aa7a3f4ba12d/link_lists.bin +3 -0
- 4793bb23-f50e-4ef9-81e1-f0d8ddcc8161/data_level0.bin +3 -0
- 4793bb23-f50e-4ef9-81e1-f0d8ddcc8161/header.bin +3 -0
- 4793bb23-f50e-4ef9-81e1-f0d8ddcc8161/index_metadata.pickle +3 -0
- 4793bb23-f50e-4ef9-81e1-f0d8ddcc8161/length.bin +3 -0
- 4793bb23-f50e-4ef9-81e1-f0d8ddcc8161/link_lists.bin +3 -0
- README.md +311 -3
- chroma.sqlite3 +3 -0
- curated_entries.json +0 -0
- metadata.json +29 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
chroma.sqlite3 filter=lfs diff=lfs merge=lfs -text
|
0acd4040-15c6-47bb-bc79-aa7a3f4ba12d/data_level0.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aa916e111b5cccc428423c72666ce8cf4574852774f630766642033bdf4146da
|
| 3 |
+
size 831450280
|
0acd4040-15c6-47bb-bc79-aa7a3f4ba12d/header.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:254c83f06634efab9cc878dc45a1ad4f7e6c41b47a69b79c809bd3f91a143072
|
| 3 |
+
size 100
|
0acd4040-15c6-47bb-bc79-aa7a3f4ba12d/index_metadata.pickle
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c6e3ffb730fb3f5c37c0c27ab72beac5b633c983c334708190a7ad2aa56c502
|
| 3 |
+
size 6629324
|
0acd4040-15c6-47bb-bc79-aa7a3f4ba12d/length.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f017891c97b958922a1933e93aacdf753eab40c2e5c5b7441200c5684bd5a1e
|
| 3 |
+
size 399160
|
0acd4040-15c6-47bb-bc79-aa7a3f4ba12d/link_lists.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:95c8b398048187194224a33f3ecdb69df947aea9229772125063369b434849b6
|
| 3 |
+
size 850884
|
4793bb23-f50e-4ef9-81e1-f0d8ddcc8161/data_level0.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:171c18dc9977d442c4b8664649559e180a28b621af49a7b75009f680e6c4ca51
|
| 3 |
+
size 16855636
|
4793bb23-f50e-4ef9-81e1-f0d8ddcc8161/header.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cf109cc0093a66777611721c6b78bc127a55b8b0fba96c9682f0df4148ae8395
|
| 3 |
+
size 100
|
4793bb23-f50e-4ef9-81e1-f0d8ddcc8161/index_metadata.pickle
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:59358a23e29f7c51162d9fa3b19a2b24c427e5fcf75bd766b6838a14af0b6191
|
| 3 |
+
size 115948
|
4793bb23-f50e-4ef9-81e1-f0d8ddcc8161/length.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b7dd74678cad49beed8953212de7d0561d5b1b5e1e8b036dcbcc874bf05413e6
|
| 3 |
+
size 8092
|
4793bb23-f50e-4ef9-81e1-f0d8ddcc8161/link_lists.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:35e8af60bef772c25a157a7cb1c884fca532d807c1b7e0f3f100f71eeceb987d
|
| 3 |
+
size 18020
|
README.md
CHANGED
|
@@ -1,3 +1,311 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-retrieval
|
| 5 |
+
- question-answering
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
tags:
|
| 9 |
+
- medical
|
| 10 |
+
- biology
|
| 11 |
+
- rare-disease
|
| 12 |
+
- PEX10
|
| 13 |
+
- peroxisomal-biogenesis-disorder
|
| 14 |
+
- PBD-ZSD
|
| 15 |
+
- Zellweger-spectrum
|
| 16 |
+
- peroxisome
|
| 17 |
+
- RING-E3-ligase
|
| 18 |
+
- neuroscience
|
| 19 |
+
- RAG
|
| 20 |
+
- embeddings
|
| 21 |
+
- chromadb
|
| 22 |
+
pretty_name: PEX10-ARIA RAG Nemotron
|
| 23 |
+
size_categories:
|
| 24 |
+
- 100K<n<1M
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
# π§¬β‘ PEX10-ARIA RAG Database v1 β NVIDIA Nemotron Embeddings
|
| 28 |
+
|
| 29 |
+
**The definitive retrieval corpus for PEX10 / peroxisomal biogenesis disorder research.**
|
| 30 |
+
|
| 31 |
+
A pre-built ChromaDB vector database containing:
|
| 32 |
+
**98,734 indexed text chunks** from **835 curated PubMed Central (PMC) biomedical papers** + **1,495 structured curated entries** (1,016 ClinVar variants + 198 truncation consequence cards + 281 ESMFold variant structural analyses),
|
| 33 |
+
embedded with NVIDIA's state-of-the-art **Llama-Nemotron-Embed-1B-v2** model featuring **2048-dimensional embeddings**.
|
| 34 |
+
|
| 35 |
+
> β‘ **This is the premium GPU-accelerated version** β Nemotron embeddings deliver maximum semantic precision for rare-disease therapeutic queries, but require a GPU with 2-4GB VRAM. For a lightweight CPU-friendly alternative, see: **[PEX10-RAG-Database (BGE)](https://huggingface.co/datasets/SkyWhal3/PEX10-RAG-Database)**
|
| 36 |
+
|
| 37 |
+
---
|
| 38 |
+
|
| 39 |
+
## π Part of the ARIA Rare-Disease Family
|
| 40 |
+
|
| 41 |
+
This is the **third gene** in the ARIA rare-disease RAG family. Same architecture, same discipline, same embedder across all three:
|
| 42 |
+
|
| 43 |
+
| Gene | Built For | Papers | Chunks | Dataset |
|
| 44 |
+
|-------------|---------------------------|---------|---------|---------|
|
| 45 |
+
| **STXBP1** | Katelyn Freygang | ~17,000 | 571,816 | [STXBP1-RAG-Nemotron](https://huggingface.co/datasets/SkyWhal3/STXBP1-RAG-Nemotron) |
|
| 46 |
+
| **SNAP25** | SNAP25 Foundation | ~2,000 | 76,592 | [SNAP25-RAG-Nemotron](https://huggingface.co/datasets/SkyWhal3/SNAP25-RAG-Nemotron) |
|
| 47 |
+
| **PEX10** | **PBD Project (Diego)** | **835** | **98,734** | *(this dataset)* |
|
| 48 |
+
|
| 49 |
+
**"We've now done this three times."** Each rare-disease foundation partner gets a purpose-built corpus: PMC literature + ClinVar variants + structural analyses + expert curation, all in one queryable ChromaDB.
|
| 50 |
+
|
| 51 |
+
---
|
| 52 |
+
|
| 53 |
+
## 𧬠About PEX10
|
| 54 |
+
|
| 55 |
+
**Gene**: PEX10 (also known as RNF69, Peroxin 10, Peroxisomal Biogenesis Factor 10)
|
| 56 |
+
**Protein**: 346 aa (RefSeq NP_722540.1, NM_153818.2) Β· UniProt O60683
|
| 57 |
+
**Function**: C3HC4-type RING finger E3 ubiquitin ligase integral to the peroxisomal membrane. Forms the **Pex2-Pex10-Pex12 retrotranslocation channel** essential for PEX5 receptor recycling and peroxisome matrix protein import.
|
| 58 |
+
**Disease**: PEX10-related Zellweger Spectrum Disorder (PBD6A/6B, MONDO:0100079, OMIM:614870). Approximately 3% of all peroxisome biogenesis disorder cases.
|
| 59 |
+
|
| 60 |
+
### Why this dataset exists
|
| 61 |
+
|
| 62 |
+
The 2022 Nature paper *"A peroxisomal ubiquitin ligase complex forms a retrotranslocation channel"* (Feng et al., PubMed 35768507) established the mechanistic story of the Pex2-Pex10-Pex12 complex as a channel that extracts PEX5 back out of the peroxisomal membrane. That gave PEX10 a concrete structural framework for interpreting where variants may matter. This corpus consolidates the evidence so it can be queried in one place.
|
| 63 |
+
|
| 64 |
+
---
|
| 65 |
+
|
| 66 |
+
## π Dataset Statistics
|
| 67 |
+
|
| 68 |
+
| Metric | Value |
|
| 69 |
+
|--------|-------|
|
| 70 |
+
| **Paper Chunks** | 98,734 |
|
| 71 |
+
| **Source Papers** | 835 PMC articles (relevance β₯ 15) |
|
| 72 |
+
| **ClinVar Variants** | 1,016 |
|
| 73 |
+
| **Truncation Consequence Cards** | 198 |
|
| 74 |
+
| **ESMFold Structural Reports** | 281 |
|
| 75 |
+
| **Total Indexed Items** | **100,229** |
|
| 76 |
+
| **Database Size** | ~400-600 MB |
|
| 77 |
+
| **Embedding Model** | `nvidia/llama-nemotron-embed-1b-v2` |
|
| 78 |
+
| **Embedding Dimensions** | 2048 |
|
| 79 |
+
| **Model Parameters** | 1B |
|
| 80 |
+
| **Chunk Size** | ~1,800 chars with 200-char overlap |
|
| 81 |
+
| **Index Type** | ChromaDB with HNSW (cosine) |
|
| 82 |
+
| **Build Time** | 31 minutes on consumer GPU |
|
| 83 |
+
| **Build Date** | April 23, 2026 |
|
| 84 |
+
|
| 85 |
+
---
|
| 86 |
+
|
| 87 |
+
## π Why Nemotron?
|
| 88 |
+
|
| 89 |
+
NVIDIA's Llama-Nemotron-Embed-1B-v2 ranks **#2 on MTEB retrieval benchmarks** β distilled from the 8B flagship into an efficient 1B parameter model. For rare-disease work, the 2048-dim semantic space makes fine-grained distinctions that matter:
|
| 90 |
+
|
| 91 |
+
- "RING-HC zinc-coordinating cysteine" vs "transmembrane helix disruption" β **clear separation**
|
| 92 |
+
- "PEX10 nonsense variant" vs "PEX10 missense variant" β **distinct clusters**
|
| 93 |
+
- "Zellweger severe" vs "cerebellar ataxia milder form" β **phenotype-aware retrieval**
|
| 94 |
+
- "Pex2-Pex10-Pex12 retrotranslocon" vs "PEX5 receptor recycling" β **mechanism-level routing**
|
| 95 |
+
|
| 96 |
+
| Feature | BGE (sibling dataset) | **Nemotron (this dataset)** |
|
| 97 |
+
|---------|----------------------|-----------------------------|
|
| 98 |
+
| **Embedding Dims** | 768 | **2048** β¬οΈ 2.7Γ |
|
| 99 |
+
| **Model Params** | 110M | **1B** β¬οΈ 9Γ |
|
| 100 |
+
| **Semantic Precision** | Good | **Excellent** |
|
| 101 |
+
| **Hardware** | CPU OK | **GPU recommended** |
|
| 102 |
+
|
| 103 |
+
---
|
| 104 |
+
|
| 105 |
+
## π Corpus Composition
|
| 106 |
+
|
| 107 |
+
### 1. PMC Literature (98,734 chunks)
|
| 108 |
+
|
| 109 |
+
Harvested via [`SkyWhal3/PMC-Corpus-Harvester`](https://huggingface.co/datasets/SkyWhal3/PMC-Corpus-Harvester) with gene-specific scoring and exclude-terms for every non-PEX10 peroxin (PEX1, 2, 3, 5, 6, 7, 11, 12, 13, 14, 16, 19, 26 β the "secret sauce" that keeps PEX10-centric papers near the top without cross-family contamination).
|
| 110 |
+
|
| 111 |
+
**Keyword families**:
|
| 112 |
+
- Primary: `pex10`, `rnf69`, `peroxin-10`, `peroxisome biogenesis`, `zellweger`, `pbd-zsd`
|
| 113 |
+
- Mechanism: `Pex2-Pex10-Pex12`, `retrotranslocation`, `RING finger`, `PEX5 recycling`, `PTS1 import`
|
| 114 |
+
- Disease phenotype: `neonatal hypotonia`, `sensorineural hearing loss`, `cerebellar ataxia`, `VLCFA`, `plasmalogen`
|
| 115 |
+
- Therapeutics: `gene therapy`, `CRISPR`, `base editing`, `ASO`, `readthrough`
|
| 116 |
+
|
| 117 |
+
### 2. ClinVar Variant Records (1,016 curated entries)
|
| 118 |
+
|
| 119 |
+
Every ClinVar record for the PEX10 gene as of April 22, 2026. Each entry includes:
|
| 120 |
+
- `variation_id` + `accession` (VCV)
|
| 121 |
+
- HGVS `c.` and `p.` notation
|
| 122 |
+
- Germline classification (187 Pathogenic + 53 Likely Pathogenic + 345 VUS + 326 LB + 22 Benign + 33 Conflicting + 36 P/LP + others)
|
| 123 |
+
- Review status + evaluation date
|
| 124 |
+
- Associated conditions (from ClinVar TraitSet)
|
| 125 |
+
- Variation type (749 SNVs + 88 deletions + 106 copy-number-loss + others)
|
| 126 |
+
|
| 127 |
+
### 3. Truncation Consequence Cards (198 entries)
|
| 128 |
+
|
| 129 |
+
Nonsense + frameshift + canonical splice variants, with a structured JSON card per variant describing:
|
| 130 |
+
- Truncation position (first residue lost)
|
| 131 |
+
- Domain it falls in (using 346-aa RefSeq frame)
|
| 132 |
+
- Domains lost downstream (full vs partial)
|
| 133 |
+
- Topology disruption call in plain English
|
| 134 |
+
- `% protein lost` quick-read metric
|
| 135 |
+
|
| 136 |
+
Truncated proteins are **deliberately not modeled** β ESMFold and OpenFold3 predictions on truncated sequences are known to produce misleadingly confident fold predictions. Consequence cards are more honest.
|
| 137 |
+
|
| 138 |
+
### 4. ESMFold Variant Structural Reports (281 entries)
|
| 139 |
+
|
| 140 |
+
Every foldable missense variant from ClinVar, run through ESMFold via NVIDIA NIM. Each report includes:
|
| 141 |
+
- Per-residue pLDDT
|
| 142 |
+
- Local CΞ±-CΞ± contact map around the mutation site (WT and mutant)
|
| 143 |
+
- Delta contacts (gained, lost, net change)
|
| 144 |
+
- Mean pLDDT + site pLDDT
|
| 145 |
+
- Original classification + condition
|
| 146 |
+
|
| 147 |
+
**Isoform handling**: PEX10 has a 20-aa segment at positions ~200-220 present in NCBI isoform 1 (NP_722540.1, 346 aa, used by ClinVar) but absent from UniProt canonical (NP_002608.1, 326 aa). 104 of the 281 variants were originally reported on the 326-aa frame; they were remapped to the 346-aa frame via +20 shift with WT-residue verification. Every remapped variant carries an `isoform2_mapping.json` audit trail. **96.4% structural coverage** of the foldable set.
|
| 148 |
+
|
| 149 |
+
---
|
| 150 |
+
|
| 151 |
+
## π Quick Start
|
| 152 |
+
|
| 153 |
+
### Load in Python
|
| 154 |
+
|
| 155 |
+
```python
|
| 156 |
+
from huggingface_hub import snapshot_download
|
| 157 |
+
import chromadb
|
| 158 |
+
from chromadb.config import Settings
|
| 159 |
+
|
| 160 |
+
# Download database (one-time, ~500 MB)
|
| 161 |
+
db_path = snapshot_download(
|
| 162 |
+
repo_id="SkyWhal3/PEX10-RAG-Nemotron",
|
| 163 |
+
repo_type="dataset"
|
| 164 |
+
)
|
| 165 |
+
|
| 166 |
+
client = chromadb.PersistentClient(
|
| 167 |
+
path=db_path,
|
| 168 |
+
settings=Settings(anonymized_telemetry=False)
|
| 169 |
+
)
|
| 170 |
+
|
| 171 |
+
collection = client.get_collection("pex10_papers")
|
| 172 |
+
print(f"Loaded {collection.count():,} chunks")
|
| 173 |
+
```
|
| 174 |
+
|
| 175 |
+
### Query with Nemotron Embeddings
|
| 176 |
+
|
| 177 |
+
```python
|
| 178 |
+
from sentence_transformers import SentenceTransformer
|
| 179 |
+
|
| 180 |
+
# Load embedder (GPU recommended, CPU works for a handful of queries)
|
| 181 |
+
embedder = SentenceTransformer(
|
| 182 |
+
"nvidia/llama-nemotron-embed-1b-v2",
|
| 183 |
+
trust_remote_code=True
|
| 184 |
+
)
|
| 185 |
+
|
| 186 |
+
# Ask a question
|
| 187 |
+
query = "What is the role of the RING-HC domain in PEX10-mediated PEX5 recycling?"
|
| 188 |
+
query_embedding = embedder.encode(query).tolist()
|
| 189 |
+
|
| 190 |
+
results = collection.query(
|
| 191 |
+
query_embeddings=[query_embedding],
|
| 192 |
+
n_results=10,
|
| 193 |
+
include=["documents", "metadatas", "distances"]
|
| 194 |
+
)
|
| 195 |
+
|
| 196 |
+
for doc, meta, dist in zip(
|
| 197 |
+
results['documents'][0],
|
| 198 |
+
results['metadatas'][0],
|
| 199 |
+
results['distances'][0]
|
| 200 |
+
):
|
| 201 |
+
src = meta.get('source', 'unknown')
|
| 202 |
+
label = meta.get('pmcid') or meta.get('variation_id') or 'curated'
|
| 203 |
+
print(f"[{src} Β· {label}] (distance: {dist:.3f})")
|
| 204 |
+
print(f"{doc[:200]}...\n")
|
| 205 |
+
```
|
| 206 |
+
|
| 207 |
+
### Combined Literature + Variant Query
|
| 208 |
+
|
| 209 |
+
Because ClinVar records, consequence cards, ESMFold reports, and paper chunks all share the same embedding space, one query retrieves across all four sources:
|
| 210 |
+
|
| 211 |
+
```python
|
| 212 |
+
query = "PEX10 RING domain cysteine mutations that disrupt zinc coordination"
|
| 213 |
+
# Returns: relevant PMC paper chunks + ClinVar C306Y/C306F entries + ESMFold reports for those specific variants
|
| 214 |
+
```
|
| 215 |
+
|
| 216 |
+
That cross-source retrieval is what makes this corpus more queryable than any single database alone.
|
| 217 |
+
|
| 218 |
+
---
|
| 219 |
+
|
| 220 |
+
## π§ ARIA Family Navigator Integration
|
| 221 |
+
|
| 222 |
+
This dataset is the canonical RAG backend for the **PEX10 / PBD Research** knowledge base chip in [ARIA Family Navigator](https://aria-app.webflow.io). When a family has a PEX10 profile, the chip auto-enables in Research Mode and `rag_search` queries route to this corpus.
|
| 223 |
+
|
| 224 |
+
Config (from `src/shared/rag-config.ts`):
|
| 225 |
+
```typescript
|
| 226 |
+
{
|
| 227 |
+
id: 'pex10',
|
| 228 |
+
displayName: 'PEX10 / PBD Research',
|
| 229 |
+
hfDatasetId: 'SkyWhal3/PEX10-RAG-Nemotron',
|
| 230 |
+
collectionName: 'pex10_papers',
|
| 231 |
+
defaultForGenes: ['PEX10', 'PEX-10', 'RNF69'],
|
| 232 |
+
embeddingModel: 'nvidia/llama-nemotron-embed-1b-v2',
|
| 233 |
+
embeddingDim: 2048,
|
| 234 |
+
}
|
| 235 |
+
```
|
| 236 |
+
|
| 237 |
+
---
|
| 238 |
+
|
| 239 |
+
## π Related Resources
|
| 240 |
+
|
| 241 |
+
| Resource | Link |
|
| 242 |
+
|----------|------|
|
| 243 |
+
| **CPU Version (BGE)** | [PEX10-RAG-Database](https://huggingface.co/datasets/SkyWhal3/PEX10-RAG-Database) |
|
| 244 |
+
| **Harvester Tool** | [PMC-Corpus-Harvester](https://huggingface.co/datasets/SkyWhal3/PMC-Corpus-Harvester) |
|
| 245 |
+
| **STXBP1 RAG (sibling)** | [STXBP1-RAG-Nemotron](https://huggingface.co/datasets/SkyWhal3/STXBP1-RAG-Nemotron) |
|
| 246 |
+
| **SNAP25 RAG (sibling)** | [SNAP25-RAG-Nemotron](https://huggingface.co/datasets/SkyWhal3/SNAP25-RAG-Nemotron) |
|
| 247 |
+
| **ARIA Family Navigator** | [aria-app.webflow.io](https://aria-app.webflow.io) |
|
| 248 |
+
|
| 249 |
+
---
|
| 250 |
+
|
| 251 |
+
## π Files
|
| 252 |
+
|
| 253 |
+
| File | Description |
|
| 254 |
+
|------|-------------|
|
| 255 |
+
| `chroma.sqlite3` | ChromaDB metadata + document store |
|
| 256 |
+
| `{uuid}/data_level0.bin` | HNSW vector index |
|
| 257 |
+
| `{uuid}/header.bin` | Index metadata |
|
| 258 |
+
| `{uuid}/length.bin` | Vector dimensions |
|
| 259 |
+
| `curated_entries.json` | ClinVar + truncation + ESMFold entries (for transparency; already embedded) |
|
| 260 |
+
| `metadata.json` | Build provenance + chunking parameters + source paths |
|
| 261 |
+
| `README.md` | This file |
|
| 262 |
+
|
| 263 |
+
---
|
| 264 |
+
|
| 265 |
+
## 𧬠The Story Behind This Dataset
|
| 266 |
+
|
| 267 |
+
Built by **Adam Freygang** β AI/ML engineer, STXBP1 parent, maker of the ARIA Family Navigator. This is the third rare-disease corpus I've published under the same architecture. The first was for my daughter Katelyn (STXBP1). The second was at the request of the SNAP25 Foundation. This one is for the **PBD Project** β Andrew Longenecker's son Diego has PEX10-related peroxisomal biogenesis disorder, and I built this corpus in a single night so our meeting the next morning wouldn't start from zero.
|
| 268 |
+
|
| 269 |
+
The pitch is not "we found secret PEX10 facts nobody can access." The pitch is: *"We assembled a consolidated, queryable PEX10 knowledge-and-structure atlas that most research groups do not currently have in one interoperable package β combining literature, variant evidence, structural modeling, membrane topology interpretation, and variant-level exports that can extend into a live research tool."*
|
| 270 |
+
|
| 271 |
+
If your family or foundation has a rare disease and this platform would help you, reach out. Each new gene takes ~1 day of compute time once the template is in place.
|
| 272 |
+
|
| 273 |
+
---
|
| 274 |
+
|
| 275 |
+
## π License
|
| 276 |
+
|
| 277 |
+
Apache 2.0. Use freely. Attribution requested.
|
| 278 |
+
|
| 279 |
+
---
|
| 280 |
+
|
| 281 |
+
## π Acknowledgments
|
| 282 |
+
|
| 283 |
+
- **Andrew Longenecker** (PBD Project) β for trusting a stranger with your son's cause
|
| 284 |
+
- **Lior Dior** β for the introduction
|
| 285 |
+
- **NVIDIA** β for Nemotron embeddings and NIM API access
|
| 286 |
+
- **The PEX10 research community** β especially the Feng et al. 2022 team whose mechanistic Nature paper gave this corpus its structural backbone
|
| 287 |
+
- **Katelyn, Diego, and every rare-disease child whose families are doing this in the margins of their lives**
|
| 288 |
+
|
| 289 |
+
---
|
| 290 |
+
|
| 291 |
+
## π Citation
|
| 292 |
+
|
| 293 |
+
```bibtex
|
| 294 |
+
@dataset{pex10_rag_nemotron_2026,
|
| 295 |
+
author = {Freygang, Adam},
|
| 296 |
+
title = {PEX10-ARIA RAG Database v1: Nemotron-Embedded Biomedical Literature + ClinVar + Structural Analysis for PBD Research},
|
| 297 |
+
year = {2026},
|
| 298 |
+
publisher = {HuggingFace},
|
| 299 |
+
url = {https://huggingface.co/datasets/SkyWhal3/PEX10-RAG-Nemotron}
|
| 300 |
+
}
|
| 301 |
+
```
|
| 302 |
+
|
| 303 |
+
---
|
| 304 |
+
|
| 305 |
+
<div align="center">
|
| 306 |
+
|
| 307 |
+
*Built with β€οΈ for the PBD community. For Diego.*
|
| 308 |
+
|
| 309 |
+
**Last Updated: April 23, 2026**
|
| 310 |
+
|
| 311 |
+
</div>
|
chroma.sqlite3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2564b01f02419a432f17c9f062af25868f65e219a96465e3141525dbc71ea1bf
|
| 3 |
+
size 843980800
|
curated_entries.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
metadata.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"gene": "PEX10",
|
| 3 |
+
"build_session": "S94",
|
| 4 |
+
"build_date": "2026-04-23",
|
| 5 |
+
"embedder": "nvidia/llama-nemotron-embed-1b-v2",
|
| 6 |
+
"embedding_dim": 2048,
|
| 7 |
+
"collection_name": "pex10_papers",
|
| 8 |
+
"paper_count": 835,
|
| 9 |
+
"chunk_count": 98734,
|
| 10 |
+
"curated_count": 1495,
|
| 11 |
+
"curated_by_source": {
|
| 12 |
+
"clinvar": 1016,
|
| 13 |
+
"consequence_card": 198,
|
| 14 |
+
"esmfold_report": 281
|
| 15 |
+
},
|
| 16 |
+
"build_elapsed_s": 1861.0,
|
| 17 |
+
"device": "cuda",
|
| 18 |
+
"chunking": {
|
| 19 |
+
"target_chars": 1800,
|
| 20 |
+
"overlap_chars": 200,
|
| 21 |
+
"min_chars": 120
|
| 22 |
+
},
|
| 23 |
+
"sources": {
|
| 24 |
+
"pmc_corpus": "D:\\PEX10_datasets\\corpus\\PEX10\\PEX10",
|
| 25 |
+
"clinvar_master_csv": "D:\\PEX10_datasets\\clinvar\\pex10_clinvar_master.csv",
|
| 26 |
+
"truncation_cards": "D:\\PEX10_datasets\\structures\\truncations",
|
| 27 |
+
"esmfold_reports": "D:\\PEX10_datasets\\structures\\variants"
|
| 28 |
+
}
|
| 29 |
+
}
|