torbcellselection

Separate T or B cells from mixed scRNA-seq data using clonotype percentages, marker genes, or k-means clustering.

22|4|Updated May 18, 2021
One-click install
npx skills add https://github.com/pwwang/immunopipe --skill torbcellselection
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: torbcellselection
Source: https://github.com/pwwang/immunopipe/tree/main/skills/torbcellselection
Command: npx skills add https://github.com/pwwang/immunopipe --skill torbcellselection

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Separates T and non-T cells or B and non-B cells from a mixed cell population using clonotype percentages from VDJ data, indicator gene expression, custom selector expressions, or automated k-means clustering.

Core Features & Use Cases

  • Supports multiple separation strategies: VDJ clonotype percentage, marker-based identification (CD3 markers for T cells; CD19/MS4A1 for B cells), user-defined selectors, and unsupervised k-means clustering.
  • Integrates with SeuratClusteringOfAllCells and ScRepLoading to enable seamless downstream TCR/BCR analysis workflows.
  • Provides cluster-level selection with detailed outputs, including reports and plots for validation.

Quick Start

Configure [TOrBCellSelection] with SeuratClusteringOfAllCells (and ScRepLoading if using VDJ data), then run to automatically identify and retain T/B cell clusters.

Frequently Asked Questions about torbcellselection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I separate T and B cells from mixed scRNA-seq data?

To separate T and B cells from mixed scRNA-seq data, you can use clonotype percentages from VDJ data, marker gene expression like CD3 or CD19, custom selector expressions, or automatic k-means clustering to identify and filter specific cell populations.

How does k-means clustering identify T cells and non-T cells?

K-means clustering identifies T cells and non-T cells by automatically grouping mixed scRNA-seq data into clusters based on expression patterns, allowing unsupervised separation without requiring predefined marker genes or VDJ clonotype information.

Do I need VDJ data to isolate B cells from scRNA-seq data?

You do not need VDJ data to isolate B cells if you set ignore_vdj to true, allowing you to rely on marker genes like CD19 and MS4A1 or custom selector expressions instead of scBCR-seq clonotype percentages.

What is the best way to separate T cells using scTCR-seq clonotype data?

The best way to separate T cells using scTCR-seq data is leveraging clonotype percentage thresholds from VDJ data, which precisely identifies T cell clusters while integrating with SeuratClusteringOfAllCells workflows.

Can I use custom selector expressions to filter non-T cells in Seurat?

You can use custom selector expressions to filter non-T cells in Seurat, applying your own logical criteria to mixed scRNA-seq data to retain specific clusters and output a filtered Seurat object with detailed selection reports.

Why does T cell separation require SeuratClusteringOfAllCells data?

T cell separation requires SeuratClusteringOfAllCells data because the selection process validates inputs and performs cluster-level filtering on pre-clustered scRNA-seq data, unless the ignore_vdj parameter is set to true.