Skip to main content

Add your description here

Project description

FateSens

A sensitivity-based computational framework for analyzing gene regulatory dynamics using flow maps derived from scRNA-seq data.

Overview

Overview Figure

Abstract

Cell differentiation is a dynamic process in which cells traverse through high-dimensional gene expression space under the influence of gene regulatory networks and environmental cues. Recent advances in single-cell RNA sequencing (scRNA-seq) have enabled us to measure high-resolution snapshots of this dynamic process. Several computational methods have been developed to reconstruct cellular flow maps from these snapshots, revealing the trajectories taken by cells in gene expression space. While existing methods provide increasingly detailed descriptions of cellular trajectories, the stability of these trajectories to perturbations is largely unexplored. As such, it remains unclear how robust inferred trajectories are to perturbations, which genes most strongly influence long-term fate outcomes, and where instability arises between competing fate commitments.

While sensitivity and stability analysis tools from dynamical systems theory provide a principled way to study the stability of differentiation trajectories, existing approaches are not designed for the high-dimensionality and sparsity of scRNA-seq data.

FateSens introduces a sensitivity-based computational framework for analyzing gene regulatory dynamics using flow maps derived from scRNA-seq data.

Setup

Either, create a virtual environment and install using uv:

git clone git@github.com:sashittal-group/FateSens.git
pip install uv
uv venv --python 3.12
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
uv sync

or, install from pypi

pip install fatesens # for compability make sure you have python 3.12

Usage

Import FateSens in your Python code:

import fatesens as fs

Tutorial

See the tutorial folder for examples on how to use FateSens, including:

  • fate_boundary_estimation.ipynb
  • regulatory_gene_estimation.ipynb

Data

The data used for this analysis can be found at (LARRY data on neutrophil-monocyte trajectory): https://doi.org/10.6084/m9.figshare.31846435

Note: The tutorial uses a subsampled dataset (20% of cells) for quick demonstration, which takes approximately 2-3 minutes to run. For full dataset analysis, comment out 1. the subsampling step 2. increase n_neighbor_for_jacobian, I recommend 200. Full dataset processing takes approximately 20-30 minutes on a single core.

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

fatesens-0.1.1.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

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

fatesens-0.1.1-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

Details for the file fatesens-0.1.1.tar.gz.

File metadata

  • Download URL: fatesens-0.1.1.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fatesens-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a3ca12d2e3dc702bc82762a10b43b50cad5ea81c38931df2794186a1ddb6d14d
MD5 19eab8e7521dfb0e46ed733b221bfc2c
BLAKE2b-256 a11457db4b237c46c2a3010e5720639d0c98672fd8f7747bd9ef25c5dc28f1c5

See more details on using hashes here.

File details

Details for the file fatesens-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: fatesens-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 27.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fatesens-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d9292f79eb7407b5eba869186bd03297440dfe23be90393926badcee53cd40c9
MD5 3fb679a4dbad3156647bc9a4906ca0d4
BLAKE2b-256 0efc95dd1b8769a0cd124f0a3b348d4adcda83a4b32296aafee0ee4effa7d70a

See more details on using hashes here.

Supported by

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