Home

Awesome

PyPI Downloads Documentation Status

Cytopath

Cytopath is a method for trajectory inference with single-cell RNA sequencing data. Transcriptional activity information from RNA velocity of single cells is used to define a Markov chain model; simulation of this model yields an ensemble of possible differentiation trajectories that are used to estimate the lineage path.

Cytopath can infer trajectories with or without root/terminal state supervision. No topological constraints (e.g. a tree structure) are placed on the inference as each trajectory is modelled independently. The number of trajectories to be inferred can either be defined or estimated in an unsupervised fashion. Subsequent statistical analysis reveals the topological and molecular characteristics of the differentiation process.

Cytopath can model complex behaviours like cycling and convergence as well as cooccurring combinations of multiple processes.

method_figure

Installation

pip install cytopath

cytopath depends on scvelo to process the data and may require additional dependencies of scvelo to be installed manually. Other dependencies are the following:

python>=3.8 numpy==1.23.5 scipy pandas>=1.4.1 anndata scvelo>=0.1.25 joblib fastdtw hausdorff scikit-learn>=1.3.0 numba tqdm

Documentation

Sample notebooks can be found here. A step-by-step installation and analysis guide can be found here.

Citation

Gupta R., Cerletti D., Gut G., Oxenius A., Claassen M. Simulation-based inference of differentiation trajectories from RNA velocity fields. Cell Reports Methods, Volume 2, Issue 12, 2022, 100359, ISSN 2667-2375. doi:https://doi.org/10.1016/j.crmeth.2022.100359.