scATrans
scATrans is a single-cell differential-analysis toolkit with an RNA-velocity twist: standard DE selects the changed genes, then scATrans partitions them by mechanism — transcription-driven vs stabilization-driven — from the nascent (unspliced) signal, a call a fold-change alone cannot make.
It also supports conventional differential expression workflows (no velocity data required) using scanpy, PyDESeq2 pseudobulk, linear mixed models, or optional Memento. Functional enrichment (ORA, GSEA, GO, KEGG) uses bundled gene sets with consistent universe handling, and a set of visualization functions is provided.
📚 Documentation, tutorials, and API reference: Read the Docs.
Installation
pip install scatrans
# or: conda install -c conda-forge -c bioconda scatrans
Optional extras (scVelo, gene features, PyDESeq2, Memento, GSEA) and a source / editable dev setup are covered in the Installation guide.
Quickstart
import scatrans as scat
# DE selects the changed genes; scATrans partitions them by MECHANISM.
result = scat.partition_de_by_mechanism(
adata,
groupby="condition", target_group="Disease", reference_group="Control",
organism="mouse",
de="builtin", # or a DE method name / precomputed DE table / callable
gene_sets=my_pathways, # optional -> program-level mechanism table
)
result.regime # reliability pre-flight
result.selected # DE-selected genes + per-gene mechanism annotation
result.programs # decisive program-level transcription-vs-stabilization calls
See the Quickstart, Tutorials, and User Guide for the full workflow, DE backends, enrichment, plotting, and reporting guidance (Statistical Guidance).
License
Software (Python source) is licensed under Apache License 2.0. Bundled gene-set data (GO, KEGG) carries its own licensing terms — see License before commercial use.
Author
Zhao Li (李钊)
Email: leelieber@gmail.com
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scatrans-0.10.6.tar.gz.
File metadata
- Download URL: scatrans-0.10.6.tar.gz
- Upload date:
- Size: 14.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a769d5223dba7aa82041e3885be4ca63e7e4ef4e49bd9037a98823ba6b9511c4
|
|
| MD5 |
9bf73f46b10a8dac6b08220475679938
|
|
| BLAKE2b-256 |
830b69dd946a9ab402f4655b4c829a6d4eb27d9ada5d5c1694f15d9c21453669
|
Provenance
The following attestation bundles were made for scatrans-0.10.6.tar.gz:
Publisher:
publish.yml on leelieber2025/scATrans
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scatrans-0.10.6.tar.gz -
Subject digest:
a769d5223dba7aa82041e3885be4ca63e7e4ef4e49bd9037a98823ba6b9511c4 - Sigstore transparency entry: 2207570852
- Sigstore integration time:
-
Permalink:
leelieber2025/scATrans@947c2ed500d40344c440ea88e5cbbfb6cdef9d26 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/leelieber2025
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@947c2ed500d40344c440ea88e5cbbfb6cdef9d26 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file scatrans-0.10.6-py3-none-any.whl.
File metadata
- Download URL: scatrans-0.10.6-py3-none-any.whl
- Upload date:
- Size: 9.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
279cd2288db74b1f8da613a3412887c341083756b35798fcfe6d6f0a36ea3204
|
|
| MD5 |
74df4cf30a2b5778df5f40585ddf441a
|
|
| BLAKE2b-256 |
3bdbe048c2febefb1fb248641d0ee2bbff97766a16d184268a9f12f597a4736d
|
Provenance
The following attestation bundles were made for scatrans-0.10.6-py3-none-any.whl:
Publisher:
publish.yml on leelieber2025/scATrans
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scatrans-0.10.6-py3-none-any.whl -
Subject digest:
279cd2288db74b1f8da613a3412887c341083756b35798fcfe6d6f0a36ea3204 - Sigstore transparency entry: 2207570905
- Sigstore integration time:
-
Permalink:
leelieber2025/scATrans@947c2ed500d40344c440ea88e5cbbfb6cdef9d26 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/leelieber2025
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@947c2ed500d40344c440ea88e5cbbfb6cdef9d26 -
Trigger Event:
workflow_dispatch
-
Statement type: