Deterministic, explainable autophagy/lysosome dependency QC for single-cell expression data.
- Rust >= 1.95
Install from crates.io:
cargo install kira-autolysStandalone run (single input, per-cell outputs):
kira-autolys run \
--input ./data/pbmc3k \
--out ./out/pbmc3k \
--mode cellStandalone run (sample mode):
kira-autolys run \
--input ./data/inf \
--out ./out/inf \
--mode samplePipeline run (shared cache lookup + pipeline artifacts):
kira-autolys run \
--input ./data/inf \
--out ./out/inf \
--mode sample \
--run-mode pipelineFull/v2 export:
kira-autolys run \
--input ./data/inf \
--out ./out/inf \
--mode sample \
--schema v2Cohort summary from v2 artifacts:
kira-autolys cohort-summary \
--input ./out/inf/kira-autolys \
--schema v2--run-mode standalone(default): standalone behavior and outputs.--run-mode pipeline: pipeline contract mode forkira-organelle.
In pipeline mode, kira-autolys searches the input directory for shared cache as specified in kira-shared-sc-cache/CACHE_FILE.md:
- no prefix:
kira-organelle.bin - prefixed dataset:
<PREFIX>.kira-organelle.bin
Prefix is detected non-recursively from names like <PREFIX>_matrix.mtx(.gz), <PREFIX>_features.tsv(.gz), <PREFIX>_barcodes.tsv(.gz).
Behavior:
- cache exists and valid: use shared cache path.
- cache missing in pipeline + MTX directory input: hard error (cache required).
- cache missing in other pipeline inputs: warn and fall back to direct input.
- cache exists but invalid: hard error (no silent fallback).
In pipeline mode, outputs are written to:
--out <DIR>-><DIR>/kira-autolys/
Required artifacts:
autolys.tsv(per-observation contract table)summary.json(run-level aggregates)panels_report.tsv(panel audit)pipeline_step.json(ingestion manifest forkira-organelle)
Additional artifacts may be emitted (scores.tsv, report.txt, report_summary.json).
All TSV float values are fixed %.6f.
- Cache format specification: kira-shared-sc-cache/CACHE_FILE.md
- Reader validates header/magic/version/endian/header-size/file-bytes, header CRC64-ECMA, section bounds, string tables, and CSC invariants.