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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: sdevelo-0.2.11.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.11.tar.gz
Algorithm Hash digest
SHA256 86bb7b246173f9d5bf0a450c226b2b1b2b5d988d3c57ed77179969405d285ced
MD5 27d7932c3a2f5800a9fd895f7324c53e
BLAKE2b-256 bff9c42352ee794a712b5aafba4174b2e4261f67b4f5da368fc4d367893f08c9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sdevelo-0.2.11-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.11-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b9a6795f219427aa0f12a3929e3b6c549136018cd7f155f8ed2e1f8dd5d52e3b
MD5 374219a6b078f3fc6f2ca6fe7b3645e4
BLAKE2b-256 6603664800d76850785f09e23c16651c9183f418523c48473ba53c06a891db3d

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