Skip to main content

PyPi CI

[!IMPORTANT] scvelo-modern is a minimal compatibility distribution of scVelo 0.3.4. It preserves the scvelo import package and scientific implementation while fixing the stochastic velocity regression caused by NumPy 2 scalar-assignment rules. Use the official scVelo project unless you need this compatibility fix. Do not install scvelo and scvelo-modern in the same environment because both distributions provide the same import package.

The compatibility patch is intentionally narrow: it converts the one-element least-squares result to a scalar before assignment. Regression tests cover all four fit_offset/fit_offset2 combinations on NumPy 1.26 and NumPy 2, compare against the unmodified scVelo 0.3.4 numerical baseline, and exercise the complete stochastic velocity path. The fork can be retired after upstream publishes an equivalent fix.

This distribution is based on upstream scVelo v0.3.4 at commit 9b6e946. The NumPy 2 regression is tracked upstream in #1341.

scVelo - RNA velocity generalized through dynamical modeling

scVelo is a scalable toolkit for RNA velocity analysis in single cells; RNA velocity enables the recovery of directed dynamic information by leveraging splicing kinetics 1. scVelo collects different methods for inferring RNA velocity using an expectation-maximization framework 2, deep generative modeling 3, or metabolically labeled transcripts4.

scVelo's key applications

  • estimate RNA velocity to study cellular dynamics.
  • identify putative driver genes and regimes of regulatory changes.
  • infer a latent time to reconstruct the temporal sequence of transcriptomic events.
  • estimate reaction rates of transcription, splicing and degradation.
  • use statistical tests, e.g., to detect different kinetics regimes.

Citing scVelo

If you include or rely on scVelo when publishing research, please adhere to the following citation guide:

EM and steady-state model

If you use the EM (dynamical) or steady-state model, cite

@article{Bergen2020,
  title = {Generalizing RNA velocity to transient cell states through dynamical modeling},
  volume = {38},
  ISSN = {1546-1696},
  url = {http://dx.doi.org/10.1038/s41587-020-0591-3},
  DOI = {10.1038/s41587-020-0591-3},
  number = {12},
  journal = {Nature Biotechnology},
  publisher = {Springer Science and Business Media LLC},
  author = {Bergen, Volker and Lange, Marius and Peidli, Stefan and Wolf, F. Alexander and Theis, Fabian J.},
  year = {2020},
  month = aug,
  pages = {1408–1414}
}

RNA velocity inference through metabolic labeling information

If you use the implemented method for estimating RNA velocity from metabolic labeling information, cite

@article{Weiler2024,
  author = {Weiler, Philipp and Lange, Marius and Klein, Michal and Pe'er, Dana and Theis, Fabian},
  publisher = {Springer Science and Business Media LLC},
  url = {http://dx.doi.org/10.1038/s41592-024-02303-9},
  doi = {10.1038/s41592-024-02303-9},
  issn = {1548-7105},
  journal = {Nature Methods},
  month = jun,
  number = {7},
  pages = {1196--1205},
  title = {CellRank 2: unified fate mapping in multiview single-cell data},
  volume = {21},
  year = {2024},
}

Support

Found a bug or would like to see a feature implemented? Feel free to submit an issue. Have a question or would like to start a new discussion? Head over to GitHub discussions. Your help to improve scVelo is highly appreciated. For further information visit scvelo.org.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scvelo_modern-0.3.4.post1.tar.gz (194.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scvelo_modern-0.3.4.post1-py3-none-any.whl (191.0 kB view details)

Uploaded Python 3

File details

Details for the file scvelo_modern-0.3.4.post1.tar.gz.

File metadata

  • Download URL: scvelo_modern-0.3.4.post1.tar.gz
  • Upload date:
  • Size: 194.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for scvelo_modern-0.3.4.post1.tar.gz
Algorithm Hash digest
SHA256 8958786dbbd238425470908392d99babea6388099d8928408a51ec49f2cf951f
MD5 3f7e11d100ee8ff1b988b89319de6046
BLAKE2b-256 fe03c85c9344d3165fa578b572689656e71f7dcea3efab375822af786b4990ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for scvelo_modern-0.3.4.post1.tar.gz:

Publisher: release.yml on cafferychen777/scvelo-modern

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scvelo_modern-0.3.4.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for scvelo_modern-0.3.4.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 67b3e036bb427febfe033aa51375acb69999d49a1756ee00874ca91106676f32
MD5 791bb201fa031ef44278b51fcb0f71a7
BLAKE2b-256 974fc953a22a52b29fd6a67ac9c0c6ad3876253aeb1a1efdb2f036f4b5aada86

See more details on using hashes here.

Provenance

The following attestation bundles were made for scvelo_modern-0.3.4.post1-py3-none-any.whl:

Publisher: release.yml on cafferychen777/scvelo-modern

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page