pypi rustscenic 0.4.0
v0.4.0

latest releases: 0.7.0, 0.6.1, 0.6.0...
6 months ago

rustscenic v0.4.0 — publishable end-to-end

First release tagged publishable end-to-end: a single
rustscenic.pipeline.run(...) call on real 10x multiome data produces
every SCENIC+ artefact end-to-end, on two independent public datasets
across species and tissue.

What is proven

  • Real PBMC 3k multiome (human, adult immune): 1,091 eRegulons via
    the public orchestrator. 451 s wall, 3.67 GB peak RSS, 4/4 canonical
    lineage TFs (SPI1, PAX5, GATA3, TBX21).
    Artefact: validation/multiome_pipeline_run_v0.3.9.json.
  • Real mouse brain E18 5k multiome (mouse, embryonic CNS): 1,125
    eRegulons. 826 s wall, 4.01 GB peak RSS, 9/9 expected cortex marker
    TFs
    (Pax6, Neurod2, Sox2, Ascl1, Tbr1, Neurog2, Fezf2, Eomes, Foxg1)
    recovered as regulons.
    Artefact: validation/multiome_pipeline_run_v0.3.10_brain_e18.json.
  • GRN parity vs pyscenic 0.12.1 + arboreto 0.1.6 on identical PBMC
    fixture: per-edge Spearman 0.611 on 480,680 shared edges, within-TF
    Spearman mean 0.632, 1.78× wall speedup, 1.14 M vs 0.95 M edges.
    Artefact: validation/parity_v0310/grn_parity_pbmc3k_full.json.
  • Bit-identical determinism under fixed seed (live + inline Rust
    tests).
  • Auditable evidence: every claim in this release maps to a JSON
    artefact under validation/ with dataset MD5, command, version SHA,
    hardware, per-stage walls, peak RSS, output inventory, biology
    checks, caveats.
  • Install matrix (core / examples / validation / benchmarks) is
    CI-tested on every tag push.

Scope honesty

Real-data end-to-end is validated on two public multiome datasets
(PBMC 3k and mouse brain E18 5k). Broader public-dataset sweep is
planned for v0.4.x — see docs/v0.4.x-benchmark-plan.md for the
shortlist (PBMC 10k, mouse brain 10k, NeurIPS BMMC 70k, mouse heart
E18, human tonsil, breast cancer multiome) and per-dataset success
criteria.

Workflow

For real 10x multiome, the documented path is:

  1. Load RNA, run cell QC.
  2. Build the ATAC peak matrix from fragments + peaks BED.
  3. Subset both to RNA-QC'd cells (this is essential; see caveat below).
  4. Pass both to rustscenic.pipeline.run(rna=..., adata_atac=..., ...).

See docs/tester-quickstart.md for the canonical script.

Known caveats

  • pipeline.run does not yet pre-subset ATAC fragments based on RNA QC
    inside the orchestrator. The caller must do this and pass
    adata_atac=... (step 3 above). Without it, an unsubsetted
    ~450 k-barcode 10x fragments file will stall topics + GRN. This is a
    workflow caveat, not a correctness gap; both real-data smokes in this
    release use the caller-side-subset path. Closing the gap inside the
    orchestrator is tracked for v0.5.
  • AUCell wall-time + per-cell Pearson numbers in README: still from the
    2026-04 logs. Refresh planned for a v0.4.x point release.
  • Region-cistarget kernel parity vs ctxcore: separate from the v0.3.10
    GRN parity refresh; tracked for v0.4.x.

Tests

152 Python tests pass, 1 skipped. 57 Rust inline tests pass (grn 12,
topics 8, preproc 32, aucell 5).

Install

pip install "rustscenic[validation] @ git+https://github.com/Ekin-Kahraman/rustscenic@v0.4.0"

Wheels for Linux + macOS (x86_64 + aarch64) + sdist are attached to
this release.

For the canonical reference comparison (pyscenic 0.12.1 + arboreto
0.1.6):

docker build -t rustscenic-ref:0.12.1 validation/reference/

Citation

If you use rustscenic in a publication, please cite the rustscenic
GitHub release tag and the pinned reference image SHA used for any
parity claims.

Full Changelog: v0.3.11...v0.4.0

Don't miss a new rustscenic release

NewReleases is sending notifications on new releases.