Skip to main content

scMagnify

scMagnify: Multi scAle Gene regulatory Network InFerence and analYsis

Tests Documentation PyPI License

scMagnify is a computational framework to infer GRNs and explore dynamic regulation synergy from single-cell multiome data.

Overview of scMagnify

🔑scMagnify’s key applications

  1. Infer multi-scale dynamic GRNs via nonlinear Granger causality, enabling the identification of key regulators and quantification of their regulation lags.
  2. Decompose GRNs into combinatorial regulatory modules (RegFactors) via tensor decomposition.
  3. Estimate regulatory activity for TFs and RegFactors via decoupler.
  4. Map signaling-to-transcription cascades linking microenvironment cues to intracellular regulation.

🚀Getting started

Please refer to the documentation, in particular, the API documentation.

📦Installation

You need to have Python 3.10 or newer installed on your system. If you don't have Python installed, we recommend installing uv.

There are several alternative options to install scMagnify:

  1. Install the latest release of scMagnify from PyPI:
uv pip install scmagnify
  1. Install the latest stable version from conda-forge using mamba or conda
mamba create -n=scm conda-forge::scmagnify
  1. Install the latest development version:
uv pip install git+https://github.com/LiHongCSBLab/scMagnify.git@main

🏷️Release notes

See the changelog.

📬Contact

For questions and help requests, you can reach out in the scverse discourse. If you found a bug, please use the issue tracker.

📓Citation

If you use scMagnify in your work, please cite:

Chen, X., Yan, X., Shen, B., Wang, H., Tang, Z., Zang, Y., Lin, P., Zhang, H., Li, Y., & Li, H. (2026). Decomposing multi-scale dynamic regulation from single-cell multiomics with scMagnify. Nature Communications, 17. https://doi.org/10.1038/s41467-026-78441-9

@article{Chen_2026,
  title = {Decomposing multi-scale dynamic regulation from single-cell multiomics with scMagnify},
  author = {Chen, Xufeng and Yan, Xi and Shen, Bihan and Wang, Heqi and Tang, Zhixuan and Zang, Yan and Lin, Ping and Zhang, Haibing and Li, Yu and Li, Hong},
  journal = {Nature Communications},
  volume = {17},
  year = {2026},
  month = oct,
  doi = {10.1038/s41467-026-78441-9},
  url = {https://www.nature.com/articles/s41467-026-78441-9}
}

Metadata

Release files for scmagnify 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scmagnify 0.2.0
File Size Uploaded Provenance Actions
scmagnify-0.2.0.tar.gz 27.4 MB With provenance Details for scmagnify-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for scmagnify 0.2.0
File Interpreter ABI Platform Actions
scmagnify-0.2.0-py3-none-any.whl Python 3 none any Details for scmagnify-0.2.0-py3-none-any.whl

Total release size: 27.6 MB

Release files / scmagnify-0.2.0.tar.gz

Download URL scmagnify-0.2.0.tar.gz
Size 27.4 MB
Tags Source
SHA-256 checksum
How to use checksums
f55f14102a86e414c4a5fb52d00b5723a7c058e098155892301ddedf4777a5f8
BLAKE2b-256 checksum
How to use checksums
77f15e3616bcdb398b90eaf053c7d6dc5a2fbd6e0f9a1c494deab55fb8889d26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / scmagnify-0.2.0-py3-none-any.whl

Download URL scmagnify-0.2.0-py3-none-any.whl
Size 254.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a57bbd9ca79a5a2ed2efb748734f895389c49d037eb473279db276b8af94bba8
BLAKE2b-256 checksum
How to use checksums
0ca7accc8ed38e9ffdce4d995a95a38604ed03b964662b3fc8f5641dc7b1204a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Security for scmagnify 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for scmagnify-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page