NKceiver / README.md
F1Meng's picture
Prepare curated HNKA resources for controlled access
c6e16d6 verified
|
Raw History Blame Contribute Delete
2.88 kB
metadata
language:
  - en
license: cc-by-4.0
tags:
  - biology
  - single-cell
  - pytorch
  - natural-killer-cells
  - classification

NKceiver

NKceiver predicts disease class, COVID-19 severity and ICI response from single-cell NK-cell expression profiles, with state-level contributions for each prediction. This repository provides NKceiver 1.0.0 inference resources compatible with the NKceiver 1.0.0 code package.

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 or directory Content
weights/annotator.pt Frozen NK-state mapping resource and ordered gene/state schemas
weights/disease/ Disease classifier checkpoint and bundle configuration
weights/covid/ COVID-19 severity classifier checkpoint and bundle configuration
weights/ici/ ICI response classifier checkpoint and bundle configuration
VERSION.json Resource format and compatible code version
LICENSE.txt Weight and reference-resource reuse terms
SHA256SUMS File integrity checksums

Each task directory contains bundle.json and model.ckpt. The shared mapping resource and task bundle provide the 3,000-gene panel and 12-state schema used for prediction.

Use

Install Python 3.11 and NKceiver from its code repository. NKceiver code

For an approved account, download a pinned repository revision and verify SHA256SUMS before loading the checkpoints.

hf download F1Meng/NKceiver --revision RELEASE_COMMIT --local-dir resources/NKceiver
nkceiver-predict --input donor_NK.h5ad --bundle resources/NKceiver/weights --task ici --counts-key X --output results/donor

Replace RELEASE_COMMIT with the commit shown for the resource version being used. Choose disease, covid or ici with --task. Input contains one donor's NK cells, raw counts in X or a named count layer, and gene symbols in var_names covering the bundle's gene panel. For multiple original samples from one donor, provide --sample-key sample_id --patient-key donor_id.

The command writes prediction.csv, states.csv and report.md. These contain predicted probabilities, state composition and signed state contributions. The models and their state-contribution outputs support research use.

Citation

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

Author-owned weights and derived reference resources use the CC BY 4.0 terms in LICENSE.txt. The NKceiver code repository provides its software license separately.