Documentation

SituCraft opens the output of a 10x Genomics Xenium run, checks it, and shows the tissue, its transcripts and its cells at any zoom. From there it segments, types and reviews the cells, asks how the tissue is organized, and compares groups of subjects, keeping every decision on record. Everything runs on your computer; your data are never uploaded.

A path through it

Each page is a subject, in the order an analysis usually goes. Start with Getting started and an example; the worked examples there answer a question on each subject step by step.

SubjectPagesWhat you do there
StartGetting started, Opening a bundleInstall, try an example, open your own bundle and check it
The tissueThe Viewer, Quality controlSee the stains, transcripts and cells at any zoom; decide whether the run supports analysis, and where
SegmentationsSegmentations, Refinement, Comparing and deciding, ExportsExpand nuclei, redraw cells from their transcripts, import other tools' cells, compare any two and choose one, export it
Cell typesClusters and the map, LabelsGroup cells by their expression, name them from markers or a reference, review the cells worth a look
PathologyImages and alignment, Regions and reviewsAdd the H&E and immunofluorescence images, align them, draw regions with QuPath, record a pathologist's review
SpatialSpatial analysis, Niches and genesWhich cells and types are neighbors, at what distances, in which regions; niches, spatially variable genes, and how much an answer depends on the segmentation
CohortsSamples, The design, Sample summaries, Cohort QC, Differential abundance, Differential expression, Spatial statistics between groups, Error rates and scaleA study's sections in one project, each a sample (or its regions, such as a tissue microarray's cores), described by your fields and its bundle's; the replicate unit, the groups compared and the covariates, before any comparison; every sample measured the same way and summarized in the cohort table; the samples side by side, their batches and panels; each cell type's share and density, its genes by pseudobulk, and the samples' spatial statistics compared between groups, the sample the unit; the tests' error rates on thousands of simulated cohorts, and why cells are never tested as replicates
ReportsFiguresSaved views of the tissue drawn at a journal's column width with a scale bar and a legend, lettered panels on a page, written as SVG, PDF or PNG with what they were drawn from inside, and read back
ReferenceAgents and scripts, Remote control, The record, Running at scale, TroubleshootingLet an AI agent look and work, with the leave you give it, and drive SituCraft from Python and R; what is kept and where; results made again without a window; what to do when something goes wrong

How it works

References

Two references stay in the repository: Formats, every file SituCraft reads and writes, and the remote control reference, every action a script can send. The changelog says what each release added.