Skip to main content

SDEvelo: a deep generative approach for transcriptional dynamics with cell-specific latent time and multivariate stochastic modeling

Project description

SDEvelo: A Deep Generative Approach for Transcriptional Dynamics with Cell-Specific Latent Time and Multivariate Stochastic Modeling

Overview

SDEvelo represents a significant advancement in the analysis of single-cell RNA sequencing (scRNA-seq) data, offering a novel approach to inferring RNA velocity through multivariate stochastic differential equations (SDE). This deep generative model accurately captures the complex, stochastic nature of transcriptional dynamics, providing new insights into cell differentiation and state transitions.

Installation Guide

  1. Ensure Python 3.8+ is installed on your system.
  2. Install SDEvelo via pip:
    pip install sdevelo
    

SDEvelo is available on PyPI: https://pypi.org/project/sdevelo/

Documentation

For detailed documentation, please visit: https://sdevelo.readthedocs.io/en/latest/

Workflow and Downstream Analysis

SDEvelo Flow Chart

The above image illustrates the workflow of SDEvelo, from input data to the generation of RNA velocity estimates.

SDEvelo Downstream Tasks

This image showcases the various downstream tasks and analyses that can be performed using the results from SDEvelo.

Key Features

  • Multivariate stochastic modeling: Captures complex, stochastic transcriptional dynamics across multiple genes simultaneously.
  • Cell-specific latent time estimation: Provides accurate representation of cellular progression through biological processes.
  • Versatile applicability: Suitable for both scRNA-seq and sequencing-based spatial transcriptomics data.
  • Computational efficiency: Designed to be scalable for large datasets.
  • Carcinogenesis detection: Demonstrates high accuracy in identifying cancerous processes.
  • Facilitation of downstream analyses: Enables a wide range of biological discoveries through comprehensive output.

Addressing Limitations in Existing Methods

SDEvelo addresses limitations of traditional RNA velocity analysis methods that rely on ordinary differential equations (ODE) to model individual genes sequentially. By using multivariate SDEs, explicitly modeling uncertainty, and estimating cell-specific latent time across genes, SDEvelo offers a more accurate and comprehensive approach to understanding cell differentiation and state transitions in scRNA-seq studies.

System Requirements

  • Operating Systems: Linux (Ubuntu, CentOS), macOS, Windows 10
  • Python Version: Python 3.8 and above
  • Dependencies:
    • anndata==0.10.7
    • matplotlib==3.7.1
    • numpy==1.23.5
    • scipy==1.8.1
    • scvelo>=0.3.0
    • seaborn==0.11.2
    • torch==1.13.1+cu117
  • Hardware Requirements: No non-standard hardware required
  • Installation Time: Approximately 5 minutes

Demo

Running the Demo

  1. Navigate to the docs/demo_simulation directory in the repository.
  2. Open and execute the demo_simulation.ipynb Jupyter Notebook.

Expected Output

  • A streamline plot depicting transcriptional dynamics
  • A latent time heatmap visualizing cell progression over time

Expected Run Time

Approximately 300 seconds on a typical desktop computer.

Instructions for Use

  1. Configure arguments and parameters for your dataset (refer to demo_simulation.ipynb for examples).
  2. Run the SDEvelo model.
  3. Visualize results based on the estimated SDEvelo model.

Stay tuned for additional demos and updates by checking our repository regularly.

Project details


Download files

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

Source Distribution

sdevelo-0.2.10.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

sdevelo-0.2.10-py2.py3-none-any.whl (27.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file sdevelo-0.2.10.tar.gz.

File metadata

  • Download URL: sdevelo-0.2.10.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/69.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for sdevelo-0.2.10.tar.gz
Algorithm Hash digest
SHA256 e69900441618f8768a2c4ad2371bcaf57a2069213f6be68be099b689352dceeb
MD5 e55115ab09b23ee91d12bb01890d6c56
BLAKE2b-256 30cfdfae7452e7e63573eac9b1d65e90bf69a26b7b4081eb00132b3879ebb6a8

See more details on using hashes here.

File details

Details for the file sdevelo-0.2.10-py2.py3-none-any.whl.

File metadata

  • Download URL: sdevelo-0.2.10-py2.py3-none-any.whl
  • Upload date:
  • Size: 27.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/69.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for sdevelo-0.2.10-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dae30b4824b4aec5a3c8ac2393cf2990526d79b137972da52a5feed696973c2e
MD5 799f75e386b44b8fc70db5f81404f479
BLAKE2b-256 c9139bd1ba0d77ada96dc14ee1d6c388678fc6405a3a11f82d5d50892b8c8007

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page