Repository navigation
RustScenic: a maturin-built Python package for Rust gene-network kernels #3346
Ekin-Kahraman
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I’m sharing RustScenic, a maturin-built package that keeps a Python API around Rust kernels for single-cell gene-network analysis.
For anyone shipping a similar mixed package, the packaging details are public:
pyproject.tomlpoints maturin atcrates/rustscenic-py/Cargo.toml, keeps Python code underpython/, and installs the extension asrustscenic._rustscenic.abi3-py310. The v0.5.0 PyPI upload contains fivecp310-abi3wheels: Linux x86_64/aarch64, macOS Intel/Apple Silicon, and Windows x64.PyO3/maturin-actionfor the platform builds and builds an sdist separately.Package configuration · Extension manifest · Release workflow · Published files
The application behind the package is gene regulation: infer candidate regulator-to-gene links and score gene-set activity from single-cell data. One RNA benchmark inferred networks from 1,306,127 mouse-brain cells in 46m42s on 16 CPU cores, with 2,095 selected genes and 256 transcription factors. That is inference on prepared input. Preparation was measured separately and peaked at 71.49 GB; inference peaked at 4.28 GB.
You can explore a precomputed network in the browser by choosing a regulator and inspecting its predicted targets, or read the code and benchmark conditions.
AI-assisted post. The implementation and wheel claims were checked against the linked sources.
All reactions