Skip to main content

STCAT Python Versions

STCAT is an automated T cell type annotation tool for scRNA-seq datasets. It based on a high-confidence T cell subtypes and states reference. The reference can be found in our TCellAtlas portal. STCAT can automatically annotate T cell subtypes and states for scRNA-seq data of different conditions and tissues.

TCellAtlats Website

TCellAtlas contains 1,677,799 high-quality T cells of 339 samples from 38 10x Genomics projects across 37 conditions and 16 tissues. It also includes 47,215 high-quality T cells in 21 conditions and 8 tissues from 18 Smart-seq projects. TCellAtlas contains all 68 T cell subtypes/states, which makes it the most comprehensive T cell subtypes/states and T cell database with the largest number of cells. Information of STCAT can be also found in our TCellAtlas portal. The database is accessible at TCellAtlas. Our TCellAtlas portal provides STCAT online services, which you can click here to access the service.

PyPI Page

STCAT homepage on PyPI: https://pypi.org/project/STCAT/

Install STCAT

1.Create environment

conda create -n STCAT python=3.9.16
conda activate STCAT

2.Install using pip

pip install STCAT

Usage

STCAT expects a raw count matrix as input and can be implemented with only one line of code in Python. STCAT expects to use an Anndata object ( .h5ad file format ) as input, and at the same time, a raw count matrix ( reads or UMIs ) is required. The file input is in a cell-by-gene format ( cells as rows and genes as columns ). For more information, please see anndata. The barcode should be unique for each cell, with no duplicates. As for the annotation result, STCAT will be automatically added to the common anndata format of scRNA-seq analysis for easy viewing.

import scanpy as sc
import STCAT
adata = sc.read_h5ad(<file_path>)
results = STCAT.STCAT(adata)

Example:

Here is an example for guidance, and the demo.h5ad file mentioned in the example can be found below. Tutorial

demo.h5ad file in Tutorial

demo.h5ad

Citation

An automatic annotation tool and reference database for T cell subtypes and states at single-cell resolution. Wen-Kang Shen, Chu-Yu Zhang, Yi-Min Gu, Tao Luo, Si-Yi Chen, Tao Yue, Gui-Yan Xie, Yu Liao, Yong Yuan, Qian Lei, and An-Yuan Guo, Science Bulletin. 2025 Mar. https://doi.org/10.1016/j.scib.2025.02.043

Metadata

Release files for STCAT 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for STCAT 1.1.2
File Size Uploaded
stcat-1.1.2.tar.gz 1.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for STCAT 1.1.2
File Interpreter ABI Platform
stcat-1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 3.3 MB

Release files / stcat-1.1.2.tar.gz

Download URL stcat-1.1.2.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
cac9927023f8bd01ce6db55f1c5cc38b1bf9ba62ce8df0ee6462b1a3057c6c5e
BLAKE2b-256 checksum
How to use checksums
675f362880bb9c71ebdb12b70ea6e7cebeb7af5662c392716f024c2460271a22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.16

Release files / stcat-1.1.2-py3-none-any.whl

Download URL stcat-1.1.2-py3-none-any.whl
Size 1.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
bb581040474d9bd02a5a59d62f83946b0c41c18b6ee4d743288f537f4d7ef8aa
BLAKE2b-256 checksum
How to use checksums
7acf36ee76e6ebf8785e6f3e4a745df02ac026eb8f31c943476dc77c3b8f12b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.16

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.1.1

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.7

2 release files

0.6.1

2 release files

0.6

2 release files

0.5

2 release files

0.4

2 release files

0.3.1

2 release files

0.3

2 release files

0.2

2 release 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