HNKA / README.md
F1Meng's picture
Curated HNKA resource release
f6b525c
|
Raw History Blame Contribute Delete
3.4 kB
metadata
language:
  - en
license: other
license_name: hnka-annotations-and-source-study-terms
license_link: https://huggingface.co/datasets/F1Meng/HNKA/blob/main/LICENSE.txt
tags:
  - biology
  - single-cell
  - natural-killer-cells
  - h5ad

HNKA

HNKA is a single-cell atlas of human natural killer cells across tissues and disease contexts. This repository provides processed atlas data, mapped cytokine-perturbation data and a frozen reference for exceedance analysis.

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.

Resources

File Content
hnka-atlas.h5ad 901,433 cells and 3,000 genes, with reference and disease-extension partitions
hnka-cytokine-perturbation.h5ad 18,888 mapped cytokine-perturbation cells and 3,000 genes
reference/controls.csv.gz Frozen control-cell annotations and calibration values
reference/geometry.npz Frozen reference coordinates and release cell identifiers
reference/reference.json Exceedance reference configuration
DATA_DICTIONARY.tsv Retained fields and their meanings
studies.csv Source-study attribution
LICENSE.txt Annotation and source-data reuse terms
SHA256SUMS File integrity checksums

Both H5AD files store raw counts in X, gene symbols in var_names and 30-dimensional integrated coordinates in obsm["X_scpoliall"]. The atlas retains seven observation columns used by the analysis framework, and the perturbation file retains six. The data dictionary describes the retained fields.

The atlas includes 13 annotated NK-cell states. NKceiver uses a separate 12-state mapping schema. Atlas donor identifiers preserve source-record grouping, and the atlas disease labels describe the harmonized atlas annotations.

Use

For an approved account, download a pinned repository revision and verify SHA256SUMS.

hf download F1Meng/HNKA --repo-type dataset --revision RELEASE_COMMIT --local-dir resources/HNKA

Replace RELEASE_COMMIT with the commit shown for the resource version being used.

import anndata as ad

atlas = ad.read_h5ad("resources/HNKA/hnka-atlas.h5ad")
counts = atlas.X
latent = atlas.obsm["X_scpoliall"]

Configure paths.atlas_h5ad, paths.reference_dir and the query paths in the HNKA analysis configuration. Mapping and exceedance commands are provided in the HNKA code repository. Pretrained atlas-mapping resources are provided in the HNKA-model repository. HNKA code, HNKA-model

Methods and citation

The retained atlas coordinates were generated with scPoli. Exceedance analysis uses the frozen atlas geometry and matched control distributions. Cite the resource revision, the HNKA preprint and the relevant source studies listed in studies.csv.

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