HNKA-model / README.md
F1Meng's picture
Prepare curated HNKA resources for controlled access
253dc94 verified
|
Raw History Blame Contribute Delete
2.74 kB
metadata
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.

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

Processed atlas data and the frozen exceedance reference are provided in the companion dataset repository. HNKA dataset

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

De Donno, C. et al. Population-level integration of single-cell datasets enables multi-scale analysis across samples. Nature Methods (2023). scPoli publication

Lotfollahi, M. et al. Mapping single-cell data to reference atlases by transfer learning. Nature Biotechnology (2022). scArches publication

Dependency and source information is recorded in RESOURCE_TERMS.md.