|
Download README.md from F1Meng/HNKA-model: direct link, hf CLI and curl.
- Browser
- Download file 2.74 kB
-
https://huggingface.co/F1Meng/HNKA-model/resolve/main/README.md
- Command line
-
hf download hf://F1Meng/HNKA-model/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/F1Meng/HNKA-model/resolve/main/README.md
2.74 kB
| language: | |
| - en | |
| tags: | |
| - biology | |
| - single-cell | |
| - natural-killer-cells | |
| - reference-mapping | |
| # HNKA-model | |
| Pretrained mapping models for the HNKA reference atlas and disease-extension atlas. These resources support projection of new NK-cell expression profiles into the atlas representation. | |
| ## Access | |
| Downloads require manual approval before publication. General download access is planned following publication. Approved users can obtain the resources through their authenticated Hugging Face account. Model-weight reuse terms will be provided with the publication release. | |
| ## Resources | |
| | Directory | Model | | |
| | --- | --- | | |
| | `healthy_reference/` | HNKA reference model | | |
| | `pan_disease/` | HNKA disease-extension model | | |
| Each directory contains `model_params.pt`, `attr.pkl` and `var_names.csv`. These files provide the trained parameters, matching model attributes and ordered 3,000-gene schema. Keep each model's three files together. `SHA256SUMS` records file integrity checksums. | |
| ## Use | |
| For an approved account, download a pinned repository revision and verify `SHA256SUMS`. | |
| ```bash | |
| hf download F1Meng/HNKA-model --revision RELEASE_COMMIT --local-dir resources/HNKA-model | |
| ``` | |
| Replace `RELEASE_COMMIT` with the commit shown for the resource version being used. Set `paths.model_dir` to `resources/HNKA-model/healthy_reference` or `resources/HNKA-model/pan_disease` in the analysis configuration. Input formats, mapping dependencies and commands are described in the HNKA code repository. [HNKA code](https://github.com/F1Meng/HNKA) | |
| Processed atlas data and the frozen exceedance reference are provided in the companion dataset repository. [HNKA dataset](https://huggingface.co/datasets/F1Meng/HNKA) | |
| ## Methods and citation | |
| The models use scPoli through scArches, with 3,000 input genes, a 30-dimensional latent space and `combined_batch` and `donor_id` as condition keys. `attr.pkl` and `var_names.csv` preserve the model-specific condition and gene schemas required for loading and query mapping. | |
| Cite the resource revision and the HNKA preprint. Meng, F. et al. *Disease-associated NK-cell state remodeling reveals transcriptional profiles predictive of clinical phenotypes.* bioRxiv (2026). [Preprint](https://doi.org/10.64898/2026.10.22.760478) | |
| De Donno, C. et al. *Population-level integration of single-cell datasets enables multi-scale analysis across samples.* Nature Methods (2023). [scPoli publication](https://doi.org/10.1038/s41592-023-02035-2) | |
| Lotfollahi, M. et al. *Mapping single-cell data to reference atlases by transfer learning.* Nature Biotechnology (2022). [scArches publication](https://doi.org/10.1038/s41587-021-01001-7) | |
| Dependency and source information is recorded in `RESOURCE_TERMS.md`. | |