Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Joint reanalysis of CyteBase datasets

Combine cells from four public COVID-19 blood studies into one CyteArc composite, analyze them together with and without Harmony correction for study, and reopen the saved results. A composite is a writable datastore that reads its counts from the source datasets and saves its own metadata and analyses, so the counts are never copied into it.

The studies profiled the peripheral blood of COVID-19 patients and healthy donors: Wilk et al. (2020), Lee et al. (2020), and the Arunachalam et al. (2020) and Schulte-Schrepping et al. (2020) datasets that Jin et al. (2021) republished. The composite combines all 233,870 of their COVID-19 and healthy-donor cells, without subsampling, on the 19,405 genes that every study measured. Without correction the cells group by study, and 7 of the 26 clusters draw at least 90% of their cells from one study. After Harmony, 1 of 21 clusters does, and the markers of most corrected clusters name a blood cell type, including plasmablasts, immature neutrophils and hematopoietic progenitors. Three corrected clusters still separate the healthy-donor cells that one study sequenced with an older 10x chemistry, because a correction for study leaves a difference inside one study in place.

Open the source datasets

Each study is a dataset of the October 2026 CyteBase release (2610): a public CZ CELLxGENE Discover dataset converted to a CyteArc store, which opens by its Hugging Face URI. CyteBase datasets explains these URIs and how to search the catalog for other datasets. Reading the public bucket needs network access but no token. Datasets combined into one composite must come from one species and share gene IDs.

Started: 2026-11-24T13:28:55.874015Z | Wall time: 0.913 s

Started: 2026-11-24T13:28:56.788246Z | Wall time: 25.800 s

Select the cells to combine

Keep every cell whose disease label is COVID-19 or normal, CELLxGENE’s label for healthy donors, and that CELLxGENE marks as the primary copy of the cell (is_primary_data), so that no cell enters twice. rows holds the positions of the selected cells in each source; a source left out of rows contributes all of its stored cells, inactive ones included.

source_cellsselected_cellsleft_out
blood_wilk4472144721none
blood_lee5957249053influenza (10,519)
blood_arunachalam4913949139none
blood_schulte_schrepping9095790957none

Started: 2026-11-24T13:29:22.591012Z | Wall time: 4.010 s

The selection keeps every cell of three studies and 49,053 of the 59,572 cells of Lee et al., whose other 10,519 cells come from influenza patients.

Create the composite

create_composite with features="intersection" keeps the genes that all four sources measured, while features="union" keeps every gene and fills a source’s missing genes with zeros. Creation reads the selected counts once, to compute each cell’s totals over the kept genes for QC, and copies the cell and feature metadata. Choose a new local path, or a URL in your own bucket with its storage_options. If the path already exists, reopen it as the last section shows.

233,870 cells and 19,405 shared genes

Started: 2026-11-24T13:29:26.603096Z | Wall time: 109.078 s

Check the study design

The composite keeps each source’s metadata columns under an orig_ prefix, such as orig_disease and orig_donor_id. Harmony removes the differences between the batches it is given, so if a study held only one condition, correcting for study would remove the difference between conditions too. Before correcting for study, check that each study holds both conditions. Count donors within each study, because the same donor ID in two studies does not name the same person.

cellsdonorsassay
datasetorig_disease
blood_arunachalamCOVID-1923185710x 3' v3
normal25954510x 3' v3
blood_leeCOVID-1931463810x 3' v3
normal17590410x 3' v3
blood_schulte_schreppingCOVID-19451701810x 3' v3
normal457872110x 3' v2, 10x 3' v3
blood_wilkCOVID-19280947Seq-Well
normal166276Seq-Well
Within-study donors represented in both conditions: 0

Started: 2026-11-24T13:31:15.681933Z | Wall time: 0.162 s

Every study contributes both COVID-19 and healthy donors, 4 to 21 per condition, so no study coincides with a condition. No donor contributes cells to both conditions, so any comparison of the conditions compares different donors. The studies differ in technology: Wilk et al. used Seq-Well and the other three used 10x Genomics 3’ chemistry, version 3, except that Schulte-Schrepping et al.'s healthy donors include cells sequenced with version 2, so every version 2 cell comes from a healthy donor.

Analyze the composite without correction

ds.pipeline.rna runs CyteArc’s RNA recipe on the composite: QC filtering, cell-cycle scores, highly variable genes, normalization, PCA, a neighbor graph, UMAP, Leiden clusters, doublet scores and markers. It saves the results as a pipeline run, a record of each stage’s settings and outputs that can be reopened by its label. Leiden runs at several resolutions, and the run keeps the partition with the best silhouette score.

This run removes cells whose log total counts or log detected genes lie more than 5 scaled median absolute deviations (MADs) from their study’s median, or whose mitochondrial or ribosomal percentage lies more than 5 scaled MADs above it; the scaling makes a MAD match the standard deviation of normally distributed values. Gene selection leaves out mitochondrial, ribosomal, HLA and histone genes, and the sex-specific genes XIST and nine Y-chromosome genes. A run’s cell view, run.cells, reads only what the run computed or froze, so snapshot_columns freezes the study, condition, donor and assay columns into it for the comparisons below.

The cell-cycle stage scores CyteArc’s bundled human marker lists. Two of the 43 S-phase markers and one of the 54 G2M markers are not among the shared genes, so each phase is scored with the markers that remain. The run report records each warning with the stage that logged it, so the warnings stay with the saved run.

WARNING: 2 of 43 s_genes were not found in the assay feature names
WARNING: 1 of 54 g2m_genes were not found in the assay feature names

Started: 2026-11-24T13:31:15.844727Z | Wall time: 676.914 s

includedretainedretained_fraction
datasetorig_disease
blood_arunachalamCOVID-1923185231841.000
normal25954259531.000
blood_leeCOVID-1931463305920.972
normal17590175260.996
blood_schulte_schreppingCOVID-1945170440030.974
normal45787452500.988
blood_wilkCOVID-1928094276870.986
normal16627165090.993
cell_cycle: 2 of 43 s_genes were not found in the assay feature names
cell_cycle: 1 of 54 g2m_genes were not found in the assay feature names

Started: 2026-11-24T13:42:32.760924Z | Wall time: 0.127 s

QC keeps at least 97.2% of the cells of every study and condition, so filtering barely shifts the balance between conditions; the COVID-19 cells of Lee et al. and Schulte-Schrepping et al. lose the most, with 97.2% and 97.4% kept. The UMAPs color the retained cells by study and by cluster.

Two UMAP panels of the cells that the uncorrected run retained, colored by source dataset (left) and by its Leiden clusters (right). Wilk et al.'s cells (red) form separate islands at the upper left, left and bottom, Schulte-Schrepping et al.'s cells (green) form islands on the left, and the cells of Lee et al. and Arunachalam et al. (orange and blue) overlap with the remaining green cells in the central and right regions.

Started: 2026-11-24T13:42:32.889310Z | Wall time: 1.613 s

Without correction, Wilk et al.'s Seq-Well cells (red) form islands of their own and Schulte-Schrepping et al.'s cells (green) form several more, while the 10x cells of Lee et al. and Arunachalam et al. (orange and blue) overlap with each other and with the rest of Schulte-Schrepping et al.'s cells.

Correct study effects with Harmony

Harmony Korsunsky et al., 2019 adjusts the PCA coordinates so that similar cells from different studies come together, and the run rebuilds the graph, UMAP and clusters from the adjusted coordinates; the counts, and any comparison of expression made from them, keep the differences between studies. The Harmony batch correction tutorial explains how Harmony works. The second run adds harmony={"batch_columns": ["dataset"]} and changes nothing else. Indexing a run by one of its outputs, such as baseline["pca"], returns a reference to the saved result, so the assertions show that the second run reused the first run’s cells and PCA instead of computing them again.

WARNING: 2 of 43 s_genes were not found in the assay feature names
WARNING: 1 of 54 g2m_genes were not found in the assay feature names
Harmony converged: True, after 14 rounds
Two UMAP panels of the same cells after Harmony correction for study, colored by source dataset (left) and by the run's Leiden clusters (right). The four study colors overlap across most of the layout; regions on the left and an island at the top remain mostly green, Schulte-Schrepping et al.'s cells.

Started: 2026-11-24T13:42:34.503080Z | Wall time: 395.296 s

Harmony converged after 14 rounds. The four studies overlap across most of the corrected layout, apart from regions on the left and an island at the top that remain mostly Schulte-Schrepping et al.'s cells (green).

Compare study mixing in the two runs

Two measures compare how well each run mixes the studies. At the level of clusters, a one-study cluster draws at least 90% of its cells from a single study. At the level of cells, same_study_neighbors is the fraction of a cell’s neighbors in the run’s graph that come from the cell’s own study, averaged over cells; ds.graph.load returns that graph as a sparse matrix. The run report also gives the Leiden resolution that each run chose.

leiden_resolutionclustersone_study_clusterssame_study_neighbors
uncorrected0.52670.797
harmony0.52110.614
Same-study neighbors under random mixing: 0.275

Started: 2026-11-24T13:49:09.800222Z | Wall time: 0.462 s

Both runs chose resolution 0.5, so the difference between 26 and 21 clusters comes from the corrected coordinates, not from the resolution. Without correction, 7 of the 26 clusters are one-study clusters, and on average 80% of a cell’s graph neighbors come from its own study. With Harmony, 1 of 21 clusters is a one-study cluster, and the same-study fraction falls to 61%, against 28% for neighbors drawn at random from the four studies. Harmony brings the studies into shared clusters, while a cell’s nearest neighbors still come mostly from its own study.

Each bar below shows one cluster’s cells by study, in the UMAP colors.

Two panels of stacked bars, one bar per cluster, showing the fraction of the cluster's cells from each study, colored as in the UMAPs, with the study legend above both panels. Top, the 26 uncorrected clusters: three are almost entirely Schulte-Schrepping et al.'s cells (green) and four almost entirely Wilk et al.'s (red). Bottom, the 21 Harmony clusters: most draw cells from all four studies, and one study supplies about four fifths or more of the cells of only five, all of them Schulte-Schrepping et al.'s.

Started: 2026-11-24T13:49:10.263230Z | Wall time: 0.382 s

Among the uncorrected clusters, three are almost entirely Schulte-Schrepping et al.'s cells, and four almost entirely Wilk et al.'s. Most corrected clusters draw on all four studies.

Name the corrected clusters from their markers

The table describes each corrected cluster: its size, its largest study and that study’s fraction of the cluster, the fractions of its cells from COVID-19 donors and sequenced with 10x 3’ v2 chemistry, and its five top-ranked markers.

cellslargest_studylargest_study_fractioncovid19_fractionv2_fractiontop_markers
clusters
138602blood_schulte_schrepping0.430.580.00MAL, TSHZ2, TRABD2A, PASK, LEF1
232472blood_schulte_schrepping0.380.600.00CYP27A1, LINC00937, HOMER3, CYP1B1, TMEM176A
326923blood_schulte_schrepping0.300.600.00TRGC2, GZMK, CD8A, CD8B, LINC01871
426720blood_lee0.280.460.00SH2D1B, KLRF1, NCAM1, CD160, PRSS23
517229blood_lee0.350.600.00LINC02397, FCRL1, PAX5, EBF1, TNFRSF13C
615425blood_schulte_schrepping0.790.130.79LGALS2, CSTA, GABARAP, FCN1, TYROBP
713639blood_schulte_schrepping0.910.040.91POLR2J3, KLRB1, ZNF90, BEST1, CD7
810129blood_wilk0.360.940.00SIGLEC1, OTOF, TCN2, SERPING1, CD163
910123blood_arunachalam0.320.290.19LYPD2, VMO1, CDKN1C, NEURL1, CKB
109899blood_arunachalam0.450.850.00TMEM40, GP9, CLDN5, CMTM5, ESAM
115399blood_wilk0.530.900.06IGF1, TNFRSF17, GLDC, CAV1, SYNE3-AS1
124497blood_schulte_schrepping0.500.970.00TSHZ2, ANK3, MAL, LEF1, INPP4B
134048blood_arunachalam0.670.360.00ENHO, CD1E, PKIB, CLEC10A, CD1C
142960blood_arunachalam0.720.440.09CLEC4C, LRRC26, SHD, LILRA4, PROC
152468blood_schulte_schrepping0.400.860.00PKMYT1, MND1, CDC45, TROAP, SPC25
162363blood_schulte_schrepping0.800.980.00ALPL, CMTM2, CXCR1, KCNJ15, MME
172361blood_schulte_schrepping0.890.070.89VPREB3, LINC00926, MS4A1, IGHD, FCRLA
181889blood_wilk0.460.900.02ALAS2, AHSP, SLC4A1, CA1, HBM
191540blood_schulte_schrepping0.851.000.00MMP8, CEACAM8, LTF, BPI, TCN1
201021blood_wilk0.660.830.14IGKV1-39, IGKV1D-39, IGKV1-9, IGKV1-12, IGHG2
21997blood_arunachalam0.580.660.00CD34, CRHBP, CYTL1, NPR3, SPINK2
All analyzed cells: COVID-19 fraction 0.54, v2 fraction 0.13

Started: 2026-11-24T13:49:10.646259Z | Wall time: 0.397 s

The markers identify the main blood cell types:

  • T and NK cells: naive CD4 T cells (MAL, TSHZ2, TRABD2A), CD8 T cells (GZMK, CD8A, CD8B) and NK cells (SH2D1B, KLRF1, NCAM1).

  • B lineage: B cells (FCRL1, PAX5) and plasmablasts (TNFRSF17).

  • Myeloid cells: CD14 monocytes (CYP27A1, CYP1B1), CD16 monocytes (LYPD2, VMO1, CDKN1C), conventional dendritic cells (CD1C, CLEC10A), plasmacytoid dendritic cells (CLEC4C, LILRA4), neutrophils (ALPL, MME) and immature neutrophils (MMP8, LTF, CEACAM8).

  • Other cells: platelets (GP9, CMTM5), erythroid cells (ALAS2, HBM), cycling cells (CDC45, PKMYT1) and hematopoietic progenitors (CD34, CRHBP).

One cluster, 1,021 cells of which 66% come from Wilk et al., ranks only immunoglobulin genes among its top markers, such as IGKV1-39 and IGHG2.

One study supplies 79% to 91% of the cells of five corrected clusters, and at most 72% of every other cluster. Three of the five consist mostly of the healthy-donor cells that Schulte-Schrepping et al. sequenced with 10x 3’ v2 chemistry: monocytes, naive B cells and a cluster whose top markers mix POLR2J3, ZNF90 and BEST1 with the T and NK cell genes KLRB1 and CD7. Each is 79% to 91% v2 cells, against 13% of all analyzed cells, and at most 13% COVID-19 cells. Adding orig_assay to batch_columns would make the v2 cells a batch of their own, but that batch holds only healthy donors, so the correction would partly remove the difference between conditions along with the difference between chemistries. The other two are the neutrophils and immature neutrophils, which are 80% and 85% Schulte-Schrepping et al.'s cells and 98% and more than 99% COVID-19 cells.

COVID-19 donors gave 54% of the analyzed cells but 86% to 98% of the cells in the plasmablast, cycling and erythroid clusters and in the neutrophil cluster. They also gave 94% of a cluster of monocytes that express the interferon-stimulated genes SIGLEC1 and OTOF, and 97% of a second cluster of CD4 T cells. These fractions pool cells across donors, so a few donors can dominate a cluster; the donor-level comparisons tutorial tests a difference between conditions across donors.

Reopen the composite later

The composite saves both runs and reads its counts from the CyteBase sources, which must stay available and unchanged. Reopen it with the DataStore constructor, passing source_storage_options for anonymous access to the public sources, and open a run by its label.

Reopened joint_harmony: completed

Started: 2026-11-24T13:49:11.044612Z | Wall time: 6.894 s

The reopened composite holds the completed Harmony run with the same clusters.

The Harmony batch correction tutorial corrects the sequencing batches of one study and scores batch mixing and cell-type separation with LISI metrics, and the dataset merging tutorial merges datastores into a new store that holds their counts.

References
  1. Wilk, A. J., Rustagi, A., Zhao, N. Q., Roque, J., Martínez-Colón, G. J., McKechnie, J. L., Ivison, G. T., Ranganath, T., Vergara, R., Hollis, T., Simpson, L. J., Grant, P., Subramanian, A., Rogers, A. J., & Blish, C. A. (2020). A single-cell atlas of the peripheral immune response in patients with severe COVID-19. Nature Medicine, 26(7), 1070–1076. 10.1038/s41591-020-0944-y
  2. Lee, J. S., Park, S., Jeong, H. W., Ahn, J. Y., Choi, S. J., Lee, H., Choi, B., Nam, S. K., Sa, M., Kwon, J.-S., Jeong, S. J., Lee, H. K., Park, S. H., Park, S.-H., Choi, J. Y., Kim, S.-H., Jung, I., & Shin, E.-C. (2020). Immunophenotyping of COVID-19 and influenza highlights the role of type I interferons in development of severe COVID-19. Science Immunology, 5(49). 10.1126/sciimmunol.abd1554
  3. Arunachalam, P. S., Wimmers, F., Mok, C. K. P., Perera, R. A. P. M., Scott, M., Hagan, T., Sigal, N., Feng, Y., Bristow, L., Tak-Yin Tsang, O., Wagh, D., Coller, J., Pellegrini, K. L., Kazmin, D., Alaaeddine, G., Leung, W. S., Chan, J. M. C., Chik, T. S. H., Choi, C. Y. C., … Pulendran, B. (2020). Systems biological assessment of immunity to mild versus severe COVID-19 infection in humans. Science, 369(6508), 1210–1220. 10.1126/science.abc6261
  4. Schulte-Schrepping, J., Reusch, N., Paclik, D., Baßler, K., Schlickeiser, S., Zhang, B., Krämer, B., Krammer, T., Brumhard, S., Bonaguro, L., De Domenico, E., Wendisch, D., Grasshoff, M., Kapellos, T. S., Beckstette, M., Pecht, T., Saglam, A., Dietrich, O., Mei, H. E., … Ziebuhr, J. (2020). Severe COVID-19 Is Marked by a Dysregulated Myeloid Cell Compartment. Cell, 182(6), 1419-1440.e23. 10.1016/j.cell.2020.08.001
  5. Jin, K., Bardes, E. E., Mitelpunkt, A., Wang, J. Y., Bhatnagar, S., Sengupta, S., Krummel, D. P., Rothenberg, M. E., & Aronow, B. J. (2021). An interactive single cell web portal identifies gene and cell networks in COVID-19 host responses. iScience, 24(10), 103115. 10.1016/j.isci.2021.103115
  6. Korsunsky, I., Millard, N., Fan, J., Slowikowski, K., Zhang, F., Wei, K., Baglaenko, Y., Brenner, M., Loh, P., & Raychaudhuri, S. (2019). Fast, sensitive and accurate integration of single-cell data with Harmony. Nature Methods, 16(12), 1289–1296. 10.1038/s41592-019-0619-0