FateSens
A sensitivity-based computational framework for analyzing gene regulatory dynamics using flow maps derived from scRNA-seq data.
Overview
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.ipynbregulatory_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.
Metadata
Release files for fatesens 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fatesens-0.1.1.tar.gz | 20.1 kB | Without provenance | Details for fatesens-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fatesens-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for fatesens-0.1.1-py3-none-any.whl |
Total release size: 47.4 kB
Release files / fatesens-0.1.1.tar.gz
| Download URL | fatesens-0.1.1.tar.gz |
|---|---|
| Size | 20.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3ca12d2e3dc702bc82762a10b43b50cad5ea81c38931df2794186a1ddb6d14d
|
|
BLAKE2b-256 checksum How to use checksums |
a11457db4b237c46c2a3010e5720639d0c98672fd8f7747bd9ef25c5dc28f1c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / fatesens-0.1.1-py3-none-any.whl
| Download URL | fatesens-0.1.1-py3-none-any.whl |
|---|---|
| Size | 27.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9292f79eb7407b5eba869186bd03297440dfe23be90393926badcee53cd40c9
|
|
BLAKE2b-256 checksum How to use checksums |
0efc95dd1b8769a0cd124f0a3b348d4adcda83a4b32296aafee0ee4effa7d70a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Security for fatesens 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.