The impact of package selection and versioning on single-cell RNA-seq analysis
Cite this version: Joseph M Rich, Lambda Moses, Pétur Helgi Einarsson, Kayla Jackson, Laura Luebbert, A. Sina Booeshaghi, Sindri Antonsson, Delaney K. Sullivan and 3 others. bioRxiv · 2024-04-05
Standard single-cell RNA-seq workflows rely heavily on Seurat and Scanpy for filtering, dimensionality reduction, clustering, and differential expression. Although the packages are thought to implement similar steps, they produce substantially different outputs. Package differences are comparable to analyzing under 5% of reads or under 20% of cells, while version changes also produce substantial differences that are especially pronounced in differential expression.
- Relations
- 129
- Kinds
- 5
Version of
Connected records
Claims (96)
Showing 61–72.
- Seurat Leiden crashed from high memory while Scanpy's same underlying package completed with lower cost.
This publication contains this grounded claim.
Evidence
the FindClusters function with the Leiden algorithm crashed the Rstudio session in the docker container used to run the program as a result of the high-memory intensity of the process. Interestingly, Scanpy implemented Leiden with the same underlying leiden package and produced the same results without the same compu- tational cost
Source: 2024-04-05-biorxiv.pdf
- Seurat logFC was more stable to read downsampling than Scanpy logFC.
This publication contains this grounded claim.
Evidence
Interestingly, Seurat's logFC calculation is much more stable to reduced read counts than Scanpy's
Source: 2024-04-05-biorxiv.pdf
- Seurat Louvain checks local communities, while Scanpy checks all communities and can move nodes to empty communities.
This publication contains this grounded claim.
Evidence
In particular, during the moving step of the algorithm, Seurat's implementation considers only local communities for possible moves, while Scanpy considers all communities. Scanpy's implementation also provides the possibility to move nodes to empty communities as an option to escape local minima.
Source: 2024-04-05-biorxiv.pdf
- Seurat prefilters markers by p value, detection percentage, and logFC while Scanpy does not without extra functions.
This publication contains this grounded claim.
Evidence
Finally, Seurat, by default, filters markers by p-value, percentage of cells per group possessing the gene, and log-fold change (logFC) prior to performing the Wilcoxon rank-sum test; Scanpy does not perform this type of filtering without invoking additional functions.
Source: 2024-04-05-biorxiv.pdf
- Seurat produced more highly connected default SNN graphs than Scanpy.
This publication contains this grounded claim.
Evidence
Seurat, by default, yields more highly connected SNN graphs than Scanpy
Source: 2024-04-05-biorxiv.pdf
- Seurat reports more significant p values despite using more conservative Bonferroni correction.
This publication contains this grounded claim.
Evidence
Despite using the more conservative Bonferroni correction, Seurat tends to report more significant p-values than Scanpy, which uses the Benjamini-Hochberg correction
Source: 2024-04-05-biorxiv.pdf
- Seurat requires Wilcoxon tie correction while Scanpy omits it by default.
This publication contains this grounded claim.
Evidence
with Seurat requiring tie correction and Scanpy by default omitting tie correction
Source: 2024-04-05-biorxiv.pdf
- Seurat SNN edges use neighborhood Jaccard overlap and prune below 1/15.
This publication contains this grounded claim.
Evidence
Seurat calculates the Jaccard index of neighborhood overlap for each pair of cells and prunes edges that fall below the user-defined prune threshold (default 1/15
Source: 2024-04-05-biorxiv.pdf
- Seurat UMAP builds a new Annoy KNN graph, whereas Scanpy UMAP uses the prior SNN graph.
This publication contains this grounded claim.
Evidence
Seurat's default UMAP function with uwot uses a newly-generated KNN graph from the PCA embeddings built with the approximate KNN graph program Annoy
Source: 2024-04-05-biorxiv.pdf
- Seurat UMAPs showed more overlapping cluster regions, likely because clustering and UMAP use separate graphs.
This publication contains this grounded claim.
Evidence
Interestingly, when overlaying Louvain/Leiden clusters on the UMAP plots, Seurat tends to display more examples of overlapping cluster regions on UMAP space compared to Scanpy. This behavior is likely due to the use of a separate nearest neighbors graph for clustering vs. UMAP generation by Seurat, whereas Scanpy uses the same nearest neighbors graph for each of these.
Source: 2024-04-05-biorxiv.pdf
- Seurat v4 uses pseudocount 1 while Seurat v5 uses 1/nc.
This publication contains this grounded claim.
Evidence
the added pseudocount in Seurat v4 is 1, while the added pseudocount in Seurat v5 is 1 nc
Source: 2024-04-05-biorxiv.pdf
- Seurat v5 marker defaults changed from 10% to 1% cell fraction and from 0.25 to 0.1 minimum logFC.
This publication contains this grounded claim.
Evidence
the default fraction of cells per gene was changed from 0.1 in Seurat v4 to 0.01 in Seurat v5; the default minimum logFC was changed from 0.25 in Seurat v4 to 0.1 in Seurat v5
Source: 2024-04-05-biorxiv.pdf