|
Download README.md from F1Meng/NKceiver: direct link, hf CLI and curl.
- Browser
- Download file 2.88 kB
-
https://huggingface.co/F1Meng/NKceiver/resolve/main/README.md
- Command line
-
hf download hf://F1Meng/NKceiver/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/F1Meng/NKceiver/resolve/main/README.md
2.88 kB
| 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](https://github.com/F1Meng/NKceiver) | |
| For an approved account, download a pinned repository revision and verify `SHA256SUMS` before loading the checkpoints. | |
| ```bash | |
| 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](https://doi.org/10.64898/2026.10.22.760478) | |
| 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. | |