Skip to main content

scATrans

PyPI version Bioconda Python versions Documentation Status CI License DOI

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

scatrans-0.10.6.tar.gz (14.5 MB view details)

Uploaded Source

Built Distribution

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

scatrans-0.10.6-py3-none-any.whl (9.1 MB view details)

Uploaded Python 3

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

Hashes for scatrans-0.10.6.tar.gz
Algorithm Hash digest
SHA256 a769d5223dba7aa82041e3885be4ca63e7e4ef4e49bd9037a98823ba6b9511c4
MD5 9bf73f46b10a8dac6b08220475679938
BLAKE2b-256 830b69dd946a9ab402f4655b4c829a6d4eb27d9ada5d5c1694f15d9c21453669

See more details on using hashes here.

Provenance

The following attestation bundles were made for scatrans-0.10.6.tar.gz:

Publisher: publish.yml on leelieber2025/scATrans

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for scatrans-0.10.6-py3-none-any.whl
Algorithm Hash digest
SHA256 279cd2288db74b1f8da613a3412887c341083756b35798fcfe6d6f0a36ea3204
MD5 74df4cf30a2b5778df5f40585ddf441a
BLAKE2b-256 3bdbe048c2febefb1fb248641d0ee2bbff97766a16d184268a9f12f597a4736d

See more details on using hashes here.

Provenance

The following attestation bundles were made for scatrans-0.10.6-py3-none-any.whl:

Publisher: publish.yml on leelieber2025/scATrans

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.10.16

2 files

0.10.15

2 files

0.10.14

2 files

0.10.13

2 files

0.10.12

2 files

0.10.11

2 files

0.10.10

2 files

0.10.9

2 files

0.10.8

2 files

0.10.7

2 files

This release

0.10.6 This release

2 files

0.10.5

2 files

0.10.4

2 files

0.10.3

2 files

0.10.2

2 files

0.10.1

2 files

0.9.9

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page