Skip to content
Open access

scPyviewer: a Python-native interactive viewer from AnnData single-cell data

Sep 2026 · bioRxiv · 0 citations · 17 references
Biology

TL;DR

ScPyviewer is a web-based viewer that ingests AnnData objects directly and reproduces the core interaction patterns of the incumbent R Shiny tools without leaving the Python stack and uniquely offers native AnnData ingestion with no Seurat conversion, and cross-dataset comparison over shared genes and matched cell-type composition.

Abstract

Motivation Interactive tools that let non-programmers explore an analyzed single-cell dataset, its embeddings, gene expression, cell metadata, and marker genes, have become standard laboratory infrastructure. Every actively maintained tool in this space (ShinyCell, ScRDAVis, sCIRCLE, scViewer) is built on R Shiny and requires a Seurat object as input. Laboratories whose primary analysis pipeline is Python/scanpy, the dominant framework for single-cell RNA-seq, spatial, and multi-omic analysis, therefore have no lightweight, language-native option that pairs a shareable web-based viewer with a scriptable Python API: sharing a scanpy result means either exporting to Seurat first or handing over a notebook that only a programmer can run. Results We present scPyviewer, a web-based viewer that ingests AnnData objects directly and reproduces the core interaction patterns of the incumbent R Shiny tools without leaving the Python stack. In a feature-parity audit against three actively maintained R Shiny incumbents, scPyviewer matches or exceeds every baseline capability (7/7); among these, it uniquely offers native AnnData ingestion with no Seurat conversion, and cross-dataset comparison over shared genes and matched cell-type composition. Benchmarked head-to-head against the R/Seurat rendering substrate the incumbents are built on, identical operations, identical data, across three datasets spanning 22,315 to roughly 313,000 cells, scPyviewer renders every core view faster at every scale tested (up to 3.6× on a single view) and at a fraction of the memory (5.2× lower on the smallest dataset). At the largest scale tested, the gap becomes categorical rather than incremental: scPyviewer completes every view on a 313,000-cell dataset while the Seurat substrate exhausts an 8 GB memory budget and fails outright. Beyond the interactive app, scPyviewer installs via pip or conda and exposes a public Python API that returns Matplotlib figures and pandas tables for scripted, publication-ready output. Availability and implementation scPyviewer is implemented in Python 3.11 (scanpy 1.11.5, anndata 0.12.19, streamlit 1.59.2, plotly 6.9.0) and distributed with a one-command reproduction interface that installs pinned dependencies, regenerates the benchmark and all figures, and launches the interactive app. Source code is available at https://github.com/xuan13hao/scPyviewer.git.

Read PDF

Similar papers

Open access Sep 2026

Datamonkey 3: browser-native molecular evolution analysis

We present Datamonkey 3, a browser-native implementation of the Datamonkey web platform for molecular evolutionary analysis. By utilizing WebAssembly to execute the HyPhy analysis engine on the client side, Datamonkey 3 removes the dependency on remote computational clusters for standard analyses. This architecture ens...

Steven Weaver, Ben Murrell, Anton Nekrutenko et al. · 0 citations
Open access Jun 2025

Rxiv-Maker: An automated template engine for streamlined scientific publications.

Preprints have transformed how biologists share results, yet how well a preprint reads still depends on formatting, a task that has shifted from publishers to authors. Cell biology has also become increasingly quantitative, with conclusions resting on multi-step image analysis whose figures, values, and statistics are...

Bruno M. Saraiva, R. Carlota, António D. Brito et al. · 0 citations
Preprint Aug 2026

Ten simple rules for non-visual, reproducible and accessible bioinformatics

Ten simple rules for non-visual bioinformatics are presented, covering plots as decision records, cautious use of AI-generated figure descriptions, accessible computing environments, text-first literate programming, structured data and metadata, compact object summaries, accessible publication formats, collaboration pr...

Jacqueline G. Kientsch, S. Neuhauss, I. Mallona · 0 citations
Open access Aug 2026

FigTreeKit: A Python toolkit for programmatic FigTree styling, taxonomy-aware clade auditing, and phylogenetic tree rendering

FigTree is a long-standing phylogenetic tree viewer, but its GUI-centered workflow does not itself provide a versioned, batch-replayable record of styling operations. We present FigTreeKit, a Python package that serializes a supported subset of FigTree 1.4.4 annotations (!hilight, !color, and !font), audits taxonomy ma...

Zi-Chao Zeng, Yin-Zhao Wang · 0 citations
#machine learning Preprint Sep 2026

GenomeOcean Anywhere: Private WebGPU Inference for Genome MoEs

Genome foundation models are most useful where sequences are generated, yet the largest models need datacenter accelerators and a place to send private DNA. We ask whether a 15-billion-parameter genome mixture-of-experts (MoE) model can instead run on volunteers'web browsers, with the experts spread across many untrust...

Guang Yang, Feng-Chen Liu · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.