bioRxiv Science⌕ Search

bioRxiv · 10.64898/2026.10.09.757882

STARgrid: an open-source pipeline from Visium HD sequencing reads to count matrices

Abstract

In Visium HD, transcript positions are computed from sequenced barcodes, which are matched to a list of coordinate barcodes that map to a grid of capture locations. Quantifying reads and assigning their positions have relied on Space Ranger, whose end-user licence prohibits modification and whose published source cannot be redistributed. We present STARgrid, the first open-source pipeline that takes Visium HD FASTQ files from Flex or RNA-seq based quantitation to count matrices at 2, 8 and 16 um; it is part of STAR Suite. On three human slides its output agrees closely with Space Ranger's (correlations of gene totals are at least 0.9989), and STARgrid takes 20-35% less wall time under the tested configurations. STARgrid assigns each read barcode to the coordinate barcode with the most similar sequence, as assessed by edit distance. In an examination of Space Ranger's per-read output on one further slide, Space Ranger does the same for most reads, with two differences. First, where two coordinate barcodes overlap, the shorter being the longer without its first base, Space Ranger records the shorter barcode, although the longer one matches with fewer edits; in all, Space Ranger's location is not among the closest for 0.5980% of the reads that our decoder can place. Second, Space Ranger settles each read on its own, recording one location or none, and leaves 0.2916% of these reads without a location; STARgrid keeps every matching location and chooses among them for each molecule, using all its reads. Our molecule totals are 1.9-7.6% above Space Ranger's. The larger source of this difference is probably that we resolve location for each molecule and not for each read; STAR Suite's own gene assignment and molecule counting may also contribute. The counts that STARgrid adds behave like signal. On H&E images of the same sections they fall in cells at nearly the rate of the counts that both pipelines report. Against an adjacent Xenium section of one slide, our counts are closer to Xenium than Space Ranger's for 15 of the 20 genes of a cancer gene panel that Xenium measures most abundantly (P = 0.0414). The added counts therefore appear to improve the measurement of cancer-associated expression. These results are preliminary, but the method is now open, and every comparison reported here can be repeated, extended and improved upon.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Hung, L.-H., Yeung, K. Y.. 2026-10-12. STARgrid: an open-source pipeline from Visium HD sequencing reads to count matrices. https://doi.org/10.64898/2026.10.09.757882

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Phase-Based Frequency Tracking and Analysis of Vocalisations in the Genus Saxicola

Acoustic analysis provides valuable tools for studying bird vocalisations, but quantitative characterisation of call structure remains challenging when frequency and amplitude vary jointly over time. We present a phase-based frequency tracking method that represents amplitude as a function of instantaneous frequency and use it to characterise alarm calls in the genus Saxicola. The method enables the extraction of acoustic features describing the frequency trajectory and temporal structure of individual calls. We apply the method to a dataset of 801 calls from 49 recordings representing 15 species, and use principal component analysis (PCA) and robust PCA to investigate patterns of acoustic variation across species, recordings and geographic regions. The results demonstrate the feasibility of the approach and reveal structured patterns of acoustic similarity and variation among the calls analysed. Robust PCA concentrates the variance of the low-rank representation into fewer principal components than conventional PCA applied to the original feature matrix, providing a complementary representation of the dominant acoustic structure. The observed patterns illustrate the potential of quantitative acoustic characterisation for comparative studies of vocal variation. However, uneven species representation and uncertainty in individual identity and taxonomic labels limit the biological conclusions that can be drawn from the present dataset. The method provides a foundation for further acoustic research, in which broader sampling and integration with independent genetic and morphological evidence could help investigate variation within and among species.

bioinformatics↗

A Sparse Modal Representation for Dolphin Echolocation Transients

Characterising echolocation provides a non-invasive means of monitoring cetacean populations, health, and behaviour, offering critical data to inform conservation policy and mitigate the impacts of anthropogenic ocean noise. Echolocation clicks are short broadband transients whose internal oscillatory structure is difficult to compare in a sequence using conventional time- or frequency-domain representations. We introduce a Sparse Modal Representation (SMR) in which each click is described as a sparse superposition of delayed damped resonant modes. The representation separates resonant behaviour from temporal localisation, allowing both narrowband and broadband click components to emerge from the same set of resonant building blocks. The methodology combines Burg autoregressive pole estimation, sparse approximation in an over-complete dictionary, and nonlinear parameter refinement to obtain compact and interpretable modal descriptions of individual transients. The method is evaluated using recordings of free-ranging common dolphins (Delphinus delphis) from the DOLPHINFREE project in the Northern Bay of Biscay. The results demonstrate accurate reconstruction using a limited set of parameters that are repeatable across successive clicks and robust under realistic recording conditions. These conditions include wave, vessel, and sonar interference. Repeatability and robustness are essential for using this parameter set to detect changes in animal behaviour.

bioinformatics↗

muDM: A Queryable Multi-Resolution Data Model for Vector Geometry in Spatial Bioimaging

Spatial bioimaging combines raster imagery with vector geometries that encode molecular measurements, connectivity, and anatomical labels. A major challenge is to connect and jointly query these resources at scale, because the vector structures that locate them cannot be searched across resolutions. muDM is a spatial data model for associating vector geometry with its annotated records. Under a single schema, it arranges 2D and 3D geometries, together with their identities and measurements, as a precomputed multi-resolution pyramid, a columnar store that can be queried in place from object storage and equivalent render-ready tiles from the same index. Deployed in a public catalog containing more than 100 datasets, this single model supports connectome meshes, multiplexed tissue imaging, and spatial transcriptomics. For neuron meshes, classifiers which use geometry together with linked synapse counts exceed the performance of geometry-only models, while coarser levels preserved most balanced accuracy and using up to two orders of magnitude less stored geometry.

bioinformatics↗