Scope

RustScenic focuses on the regulatory-network compute path that benefits most from a small Rust-backed Python package: matrix-level inference, per-cell scoring, motif enrichment, topic modelling, enhancer-gene links and eRegulon assembly.

Designed For

  • Local CPU runs on laptops and workstations.
  • Regular CPython 3.10–3.14 environments; see installation for platform, source-build and published-wheel qualification details.
  • Researchers who want fewer moving parts than the legacy SCENIC stack.
  • Benchmarked, reproducible workflows with commands and artefacts committed in the repository.

Current Boundary

  • Motif ranking databases are external inputs because public databases can be hundreds of megabytes to tens of gigabytes.
  • GRN edge rankings are independently implemented and can differ from arboreto at fine grain because RustScenic uses an independent histogram-tree builder and random-number stream; the early-stop monitor and fitted-tree distribution are validated separately. Before v0.7.0, TF values were merged into at most 255 bins, which lowered agreement with arboreto at tens of thousands of cells.
  • Topic modelling ships both Online VB and collapsed Gibbs paths. The Gibbs path is the stronger sparse scATAC option at larger topic counts.
  • The million-cell benchmark measures RNA gene-network inference, not a complete spatial or RNA/chromatin workflow. Preparation memory is reported separately.
  • Full workflow coverage from raw fragments plus external motif databases is in active validation.

Positioning

RustScenic combines gene-regulation analysis stages in a CPU-based Python package. Benchmarks show faster execution on the stated workloads; output agreement varies by stage. Reproducibility requires the same input, version, seed, thread count and settings.