Join us for a webinar: The complexities of spatial multiomics unraveled
May 2

Partek Flow Documentation

Page tree
Skip to end of metadata
Go to start of metadata

Space Ranger output

The Visium spatial gene expression solution from 10X Genomics allows us to spatially resolve RNA-Seq expression data in individual tissue sections. For the analysis of Visium spatial gene expression data in Partek Flow, you will need the following output files from the Space Ranger outssubdirectory:

  • The filtered count matrix -- either the .h5 file (one file) or feature-barcode matrix (three files).
  • spatial – Outputs of spatial pipeline (Figure 1) (Spatial imaging data)
Figure 1. The content in outputs directory from Space Ranger. The folder and file highlighted in red are the required files

We recommend import count matrix file using .h5 file format, which allow you to import multiple samples at the same time. You need to rename the file names and put all the files in the sample folder to import in one go.

The spatial subdirectory contains image related files, they are:

tissue_hires_image.png

tissue_lowres_image.png

aligned_fiducials.jpg

detected_tissue_image.jpg

tissue_positions_list.csv

scalefactors_json.json

The folder should be compressed in one .gz or zip file when you upload to Flow server. You can pick the file for each sample from the Partek Flow server, your local computer, or a URL using the file browser . 

Annotate Visium image

To run Annotate cells:

  • Click a Single cell counts data node
  • Click the Annotation/Metadata section in the toolbox
  • Click Annotate Visium image

You will be prompted to pick a Spatial image file for each sample you want to annotate (Figure 2). 

Figure 2. Select the zipped image folder for each sample. The image zip file should contains 6 files including image files and tissue position text file with a scale factor json file
  • Click Finish 

A new data node, Annotated counts, will be generated (Figure 3).

Figure 3. The Annotated counts output node is Split by sample. This means that any tasks performed from this node will also be split by sample. Invoke tasks from the Single cell counts node to combine samples for analyses.

When the task report of the annotated counts node is opened (or double click on the Annotated counts node), the images will be displayed in data viewer (Figure 4)

Figure 4. Tissue image displayed in data viewer

It is a 2D plot and XY axes are the tissue spot coordinates. Tissue spots are on top of the slide image. The opacity of the tissue spots can be changed using the slider to show more of the image under Configure>Style>Color

To view different samples in the Data viewer, navigate to Axes under Configure Click on the button under Content in the left panel (Figure 5). 

Figure 5. View different samples in the data viewer

From the Configure>Background>Image drop-down list in the Data viewer, different formats of the image can be selected (Figure 6). 

Figure 6. Select different format of slide image as background

Click on Show image  to turn on or off the background image.

Note that the "Annotate Visium image" task splits by sample so all of the downstream tasks will also do this (e.g. if the pipeline is built from this node all of the downstream tasks will also be split and viewed per sample). To generate plots with multiple samples on one plot, build the pipeline from the "Single cell counts" node. 

References

[1] https://support.10xgenomics.com/spatial-gene-expression/software/pipelines/latest/output/overview


Additional Assistance

If you need additional assistance, please visit our support page to submit a help ticket or find phone numbers for regional support.

Your Rating: Results: 1 Star2 Star3 Star4 Star5 Star 0 rates


  • No labels