SpatialPath is a pipeline that provides pathway-level activity scores across spatial omics datasets.
The workflow for SpatialPath is shown below. Inputs include FASTQ's, along with histology images, which are put through numerous analyses including read mapping, gene expression quantification, spatial binning and pathway activity scoring. Outputs include spatial plots with pathway level scores overlayed across each sample.
To set up the SpatialPath environment and download the necessary reference files, run the installation script.
- Conda installed
- git
git clone https://github.com/cathalgking/SpatialPath.git
cd SpatialPath
./install_spatialpath.sh
./spatialpath.sh -t 28 -i /path/to/spaceranger/output -s mouse -p /path/to/spatialpath
-t <threads>
: Number of threads to use (default: 1)-i <input_folder>
: Input folder (must be the output from Spaceranger)-s <species>
: Species (mouse
orhuman
)-p <spatialpath_dir>
: Location of SpatialPath installation
SpatialPath
is demonstrated below on a 10x Visium CytAssist experiment1 on fresh frozen mouse brain tissue. The tissue section contained 4,298 detected spatial spots (voxels), with a median of 19,627 UMI counts and 6,178 genes per spot. Sequencing was conducted on an Illumina NovaSeq, achieving a sequencing depth of 171,410,389 reads with 38.4% saturation. Multiple pathways of interest can be input to SpatialPath
. For this dataset, all GO pathways were input including common neurological pathways such as Neurotransmitter secretion.
SpatialPath
has multiple outputs which allow for easy visualisation and customisation. One spatial plot visualisation per input pathway will be outputted in PDF format. Raw data is stored within commonly used data objects namely SpatialExperiment
, Seurat
and Anndata
for easy access and customisation. Below are four example SpatialPath plots, displaying one GO pathway per plot, for the example mouse brain dataset.