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.

How CyteArc compares with Scanpy and Seurat

Compare how CyteArc keeps counts and results with how Scanpy and Seurat keep them, and decide which steps of an analysis to run in CyteArc. All three tools run the same steps: quality control, feature selection, normalization, reduction, neighbor graphs, embeddings, clustering and marker discovery. The three differ in where counts and results are kept and in how each step finds the results it builds on.

How the data model differs

In Scanpy or SeuratIn CyteArc
An AnnData or SeuratObject in memory holds counts, metadata and resultsA DataStore opens a Zarr store of counts, metadata and results on local disk or in object storage, and reads the counts in blocks of bounded size instead of loading them whole
A step changes the object in the current sessionA step saves its result in the store as an immutable artifact, which later sessions can inspect or reuse
Filtering subsets the object or creates a viewFiltering returns a cell selection, an artifact that marks the kept cells; no cell is deleted
Cells stay in the order of the file or object they came from, and per-cell values often attach by positionAn import writes the cells in a random order and keeps each cell’s row in the file in sourceRow; per-cell values attach by cell ID, and exports write the file’s order (cell order)
Graphs and embeddings fill named slots, such as obsp and obsm, or graphs and reductionsEach graph and embedding is an artifact, and the step that writes it returns an ArtifactRef that the next step takes as its input
One object holds one current set of resultsEach PipelineRun keeps its own results, and a new run leaves earlier runs unchanged

Because each step names its inputs, analyses with different settings share one store. Given a cell selection cells, such as the one ds.qc.filter returns, features = ds.features.hvgs(cells, top_n=2000) returns a reference to a gene selection that ds.features.normalize(cells, features) takes, and a second selection with top_n=1000 is saved beside the first without replacing it. The provenance guide explains what each result records and when a saved result is reused.

Choose where each step runs

A common split runs quality control through clustering and marker search in CyteArc, where the counts stay on disk or in object storage, and exports the cells and results that a method in another tool needs. CyteArc does not include scVI, Scanorama or RNA velocity; an scVI or Scanorama embedding comes back as coordinates through ds.reduction.import_coordinates. For differential expression across donors, CyteArc compares donor-level summaries, as the donor-level comparisons tutorial shows, and builds pseudobulk counts for replicate-aware models such as DESeq2 and edgeR.