GitHub
Back to all tutorials

Core analysis

CITE-seq Analysis

CITE-seq measures gene expression and cell-surface proteins (with oligo-tagged antibodies) in the same cells. This tutorial analyzes a 10x Genomics CITE-seq dataset in CellPilot: loading the H5 file, reading the RNA and protein markers of clusters, naming cell types, plotting proteins, and comparing proteins with each other and with their genes. Joint RNA + protein clustering (WNN) is covered in the Multi-omics Integration tutorial. Every command is typed in the chat box of the AI Assistant panel; no code or API key is needed. The screenshots come from CellPilot 2.1.0 running this exact dataset.

Input data

The example is the 10x Genomics 5k Peripheral Blood Mononuclear Cells (PBMCs) from a healthy donor with cell surface proteins (v3 chemistry) dataset: 5,247 cells, 33,538 genes and 32 TotalSeq-B antibodies, including 3 isotype controls. Everything CellPilot needs is in one H5 file (17 MB):

curl -O https://cf.10xgenomics.com/samples/cell-exp/3.0.2/5k_pbmc_protein_v3/5k_pbmc_protein_v3_filtered_feature_bc_matrix.h5

For your own data, use the filtered_feature_bc_matrix.h5 (or the filtered_feature_bc_matrix folder) of a Cell Ranger run with Gene Expression and Antibody Capture libraries. No renaming is needed.

1. Load the dataset

  1. Open CellPilot.
  2. In the Data Loader & Model panel, set Data Type to scRNA-seq and Data to Single sample.
  3. Click Browse and select the H5 file (or the folder that contains it).
  4. Wait for the analysis to finish.

CellPilot recognizes the antibody features by itself. The gene expression is analyzed as in the scRNA-seq tutorial (quality control, normalization, PCA, clustering, UMAP), and the antibody counts are CLR-normalized as in Seurat. The window then shows two views: the RNA View and the Protein View, which shows the protein of whatever you plot.

What you should see: 4,141 of 5,247 cells pass quality control, 12 clusters, and a chat message that the dataset also has 32 antibodies.
CellPilot after loading the 5k PBMC CITE-seq dataset
After loading: RNA View (left) and Protein View (right).
List the antibodies

lists the 32 antibodies of the panel (CD3, CD4, CD8a, CD14, CD16, CD19, CD56, HLA-DR, …) and the isotype controls (IgG1, IgG2a, IgG2b), which measure non-specific antibody binding.

2. Explore a cluster

Tell me about cluster 1
Find markers for cluster 1

Find markers for cluster 1 gives two tables: marker genes in the RNA View and marker proteins in the Protein View (Wilcoxon test on CLR values, as Seurat's FindMarkers(assay = "ADT")). Find protein markers for cluster 1 gives only the proteins.

Cluster 1 has 967 cells; its top marker gene is CCR7 and its top marker proteins are CD27, CD3, CD197 (the CCR7 protein), CD278 and CD127: naive CD4 T cells.
Marker genes and marker proteins of cluster 1
Marker genes (left) and marker proteins (right) of cluster 1.

3. Identify cell types

Annotate all clusters
yes

CellPilot compares every cluster's gene expression with built-in reference atlases and names the most similar cell type. Every cluster here is an immune cell type closest to blood cells, so CellPilot reports the organ as blood and names the cell types from blood, bone marrow and lymphoid-organ atlases (never from, say, the gut atlas's immune cells). If your immune cells were sorted from a tissue, name the organ first (for example this sample is lung). yes renames the clusters with these names; clusters with the same name are merged. The proteins give an independent check: CD14 protein should be high in the monocytes, CD19 in the B cells.

Clusters renamed with cell types
After yes: cell type names on both views.

You can change cluster names at any time, for example if an automatic name looks wrong: Rename cluster 3 to CD8 T cells.

4. Plot genes and proteins

Plot CD14
Plot CD19 protein
Violin plot of CD14 protein
Dot plot of CD3, CD4, CD8a, CD14, CD16, CD19, CD56 proteins

Plot CD14 shows the CD14 gene on the RNA View and the CD14 antibody on the Protein View (the Protein View follows a gene when an antibody has the same name). Add protein (or write adt_CD19) to plot the antibody itself; most antibodies are named after the protein, which can differ from the gene name (CD20 is the MS4A1 gene). Violin and dot plots work for proteins as for genes.

CD19 protein on the UMAP
Plot CD19 protein: B cells.
Violin plot of CD14 protein
Violin plot of CD14 protein: monocytes.
Dot plot of seven proteins
The protein dot plot: T cells (CD3, CD4, CD8a), monocytes (CD14, CD16), B cells (CD19) and NK cells (CD56).

5. Compare proteins, and proteins with genes

Scatter CD4 vs CD8a protein
Feature scatter CD3 protein and CD3E

A scatter of two proteins separates CD4 and CD8 T cells as in flow cytometry; each point is a cell, colored by cluster. A protein against its gene shows how well RNA and protein agree; the correlation is given in the title.

CD4 versus CD8a protein scatter
Scatter CD4 vs CD8a protein.
CD3 protein versus CD3E RNA
Feature scatter CD3 protein and CD3E.

6. Protein-only UMAP

Show the protein UMAP

The Protein View then shows a UMAP computed from the 32 antibodies alone, colored by the RNA clusters, so you can see which populations the protein panel separates by itself. Say show the RNA UMAP in the protein view to go back.

UMAP of the 32 antibodies
RNA UMAP (left) and protein UMAP (right), both colored by the RNA clusters.

7. Adjust analysis parameters

List parameters
Change clustering resolution to 0.5

The settings and commands are the same as in the scRNA-seq tutorial (quality control, variable genes, PCA, clustering, UMAP); the clusters come from the gene expression, and the protein plots follow them. A lower resolution gives fewer, broader clusters; re-clustering clears the cell type names.

List parameters shows resolution 1 (12 clusters); after Change clustering resolution to 0.5, how many clusters are there answers 9 clusters.

8. Save and revisit results

CellPilot saves the analysis (UMAP, clusters and names) as cellpilot_results.json next to the data. When you load the same dataset again, CellPilot asks whether to load the previous results.