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.9.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: sdevelo-0.2.9.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.9.tar.gz
Algorithm Hash digest
SHA256 95f67f964a73648d2582d95156a96254bfeb776e573562ed162b1951933a930e
MD5 3a30f74ba6b3e5bc6912f74ec2d8e9d5
BLAKE2b-256 bbb807424643e0ee57f511b497555ab2aa91907962e103b99e021e7328b5770c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sdevelo-0.2.9-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.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 017557297eb68b3c990dbca0bceb8842a37868e39924b87be1dd4db9ecf5daed
MD5 bf951c6ee499df16d603e23a05b56872
BLAKE2b-256 f5d4cfe58218e09f361612cfaaa5c4c89ff1f6fbf8762e851a6718b5d5bd2601

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