Urgent.News

What's breaking now, across thousands of outlets.

Tech

From 100 Million Cells to One Molecule You Can Walk Inside — Why Cascade Makes NexoPeek Essential Now

From 100 Million Cells to One Molecule You Can Walk Inside — Why Cascade Makes NexoPeek Essential Now I still remember the night the data dump landed on my laptop. A single CSV, 100 million rows, each row a cell from a spatial transcriptomics experiment. The file was 27 GB, the kind of thing that makes a laptop fan sound like a jet engine. I had a deadline in two days, a grant review looming, and…

In the aftermath of a 100 million cell spatial transcriptomics experiment, the data dump proved daunting. A single CSV file, 27 gigabytes in size, threatened to overwhelm even the most powerful laptops. With a looming grant review deadline, the usual "load-into-pandas-and-plot" approach was rendered inadequate. A viral Hacker News post caught the eye, promising a solution.

The post introduced Cascade, a pipeline that divided the massive cellular atlas into hierarchical tiles, each small enough to stream to a browser without sacrificing resolution. NexoPeek, a web-based viewer built on Cascade, allowed users to "walk inside" the data, rotating, slicing, and measuring distances in real time. Intrigued, the reporter cloned the open-source Cascade repository, spun up a local MinIO bucket, and ran the ingestion script on a 4-core VM.

The ingestion process took three hours, producing 12 terabytes of tiled Parquet files and a manifest JSON that NexoPeek reads at load time. Upon opening the viewer in Chrome, the 100 million-cell dataset appeared as a faint cloud. As the reporter hovered, the tile loader fetched the next level, revealing individual nuclei. Further zooms exposed a single mRNA molecule, its coordinates precise to the nanometer.

The experience was visceral, the viewer never freezing, with a flat frame-time graph indicating smooth performance. This demonstrated the two critical aspects of cascade architecture: progressive refinement, ensuring the first tile seen is a coarse summary, and stateless streaming, allowing tiles to be immutable objects stored in object storage without the need for a persistent server session.

The reporter faced challenges such as Parquet writer limits and WebGPU shader compatibility issues, but each hurdle was overcome, highlighting the transparent nature of the stack, which facilitated debugging. The cascade design mirrors biological organization, from tissues to cells to molecules, and this hierarchical approach enables researchers to scale spatial data products without engineering complexities.

For those dealing with spatial data that seems too large for browsers, the cascade-tiling approach is recommended. The open-source repo, ingestion scripts, and a minimal NexoPeek starter are available on GitHub. By trying the demo on a small subset, users can explore the first tile and scale up, allowing the data to tell its story.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Sharing Local MCP Tools Between Machines with MCPWire

A teammate’s agent needs to use a tool that already works on your machine, but running it on theirs means installing the server, configuring credentials, and reproducing access to the systems behind…

  • MCPWire allows sharing local tools between machines without server installation
  • Guest establishes a local stdio MCP server with encrypted peer connection
  • MCPWire's share command on host creates ticket for discovery and encryption

How does FORECAST.ETS predict the December sales peak?

FORECAST.ETS(...) looks like magic: give it three years of monthly sales and it sends back a December higher than all the other months, a January that drops and a confidence interval around both.

  • FORECAST.ETS predicts December sales peak
  • 36-month monthly sales table input
  • Predicted value for December 2026 is 20.654

It won on the steady sellers and lost on the rest

On one Walmart store, a machine-learning forecast was 3.9 percent worse than a 28-day moving average on absolute error, and the worse forecast for 58 percent of the 823 items.

  • Walmart's machine-learning forecast performed 3.9% worse than 28-day moving average on average error
  • Model excelled on steady sellers but struggled with intermittent and lumpy items
  • Moving average outperformed model for 77% of the store's items

More from Sunday 8 November →