Computational tools

We have developed a set of open source tools for analysis, storage, and visualization of Spatial Transcriptomics datasets.

Many of our tools for the original Spatial Transcriptomics platform can be found at GitHub:


STutility is an R-package with the goal of providing an easy-to-use visualization and analysis tool kit for spatial transcriptomics data. The package was developed by Ludvig Larsson and Joseph Bergenstråhle in the Genomics (Spatial) research group at the Royal Institute of Technology (KTH). 

A well documented tutorial can be found here:
The source code can be found on GitHub:
Publication related to STUtility:

For questions regarding STUtility, please contact: Ludvig Larsson

Spatial Transcriptomics Pipeline

The Spatial Transcriptomics (ST) pipeline is used to generate Spatial Transcriptomics datasets (containing gene counts for each spot) and basic statistics. As input, it uses the fastq files generated by the users sequencing platform. A manual description on how to use the pipeline is bundled within the pipeline itself.

The ST pipeline can be obtained from GitHub here.

For questions regarding the ST pipeline, please contact: Jose Fernandez Navarro

Spatial Transcriptomics Spot Detector

The Spatial Transcriptomics (ST) Spot Detector is a web tool for automatic spot detection and positional adjustments for spatial transcriptomics datasets.

The arrays used to generate ST datasets may contain positional variations due to printing artifacts. This web tool aims to detect correct spot positions using the images generated from the ST protocol. In order to obtain relevant experimental data, it is also possible to automatically select the spots which are located under the tissue, using a corresponding HE image. The spot positions and selections are further adjustable to one’s own needs.

The generated output file contains adjusted spot coordinates and pixel coordinates, together with a file containing a 3×3 affine matrix to transform array coordinates to pixel coordinates, which can be useful for downstream analysis.

The Spatial Transcriptomics Spot Detector is available at GitHub.

For questions regarding the software, please contact:
Kim Wong
Jose Fernandez Navarro

Spatial Transcriptomics Viewer

The Spatial Transcriptomics (ST) Viewer allows for visualisation and interaction with spatial transcriptomics data coupled with a tissue image. A manual describing how to use the ST Viewer is included in the repository.
The ST Viewer is available at GitHub.

The ST Analysis package can be used for further analyses based on ST data and selections made using the ST Viewer (e.g. differential expression analysis, clustering, spot classification).
The ST Analysis package is available at GitHub.

For questions regarding these software packages, please contact: Jose Fernandez

3D Viewer

By taking multiple consecutive tissue sections, it is possible to construct a three-dimensional gene expression map. This is done by generating gene expression data for each tissue section, and then aligning and stacking the data into gene expression maps.

This application provides morphological gene expression data and can be accessed here.

For questions regarding these applications, please contact: Ludvig Larsson


Automated ST protocol

To reduce the amount of manual preparation needed for ST samples, an automation script for the Nordiag Magnatrix 8000+ robot has been developed. It is available here.

For questions regarding the script, please contact: Anders Jemt