Spatial Transcriptomics

Visium (with probes)

Prepare your metadata based on the latest metadata schema using one of the template files below. See the instructions in the Metadata Validation Workflow document for more information on preparing and validating your metadata.tsv file prior to submission.

Related files:

REQUIRED - For this assay, you must also prepare and submit two additional metadata.tsv files following the metadata schemas linked here for RNAseq and Histology. This link lists the set of fields that are required in the OME TIFF file XML header.

Metadata schema

Version 2 (use this one)


Directory schemas

Version 2.0 (use this one)
pattern required? description dependent on
extras\/.* ✓ Folder for general lab-specific files related to the dataset  
extras\/microscope_hardware\.json ✓ [QA/QC] A file generated by the micro-meta app that contains a description of the hardware components of the microscope. Email HuBMAP Consortium Help Desk help@hubmapconsortium.org if help is required in generating this document.  
extras\/microscope_settings\.json   [QA/QC] A file generated by the micro-meta app that contains a description of the settings that were used to acquire the image data. Email HuBMAP Consortium Help Desk help@hubmapconsortium.org if help is required in generating this document.  
raw\/.* ✓ All raw data files for the experiment.  
raw\/[^\/]+\.gpr ✓ This is a 10X Genomics layout file that’s generated by 10X and individualized for each Visium slide. This is a text file and can be generated using this 10X web form https://support.10xgenomics.com/spatial-gene-expression/software/pipelines/latest/using/slidefile-download along with the unique 10X Visium slide ID.  
raw\/additional_panels_used\.csv   If multiple commercial probe panels were used, then the primary probe panel should be selected in the “oligo_probe_panel” metadata field. The additional panels must be included in this file. Each panel record should include:manufacturer, model/name, product code.  
raw\/custom_probe_set\.csv   This file should contain any custom probes used and must be included if the metadata field “is_custom_probes_used” is “Yes”. The file should minimally include:target gene id, probe seq, probe id. The contents of this file are modeled after the 10x Genomics probe set file (see https://support.10xgenomics.com/spatial-gene-expression-ffpe/probe-sets/probe-set-file-descriptions/probe-set-file-descriptions#probe_set_csv_file).  
raw\/fastq\/.* ✓ Raw sequencing files for the experiment  
raw\/fastq\/oligo\/.* ✓ Directory containing fastq files pertaining to oligo sequencing.  
raw\/fastq\/oligo\/[^\/]+\.fastq\.gz ✓ This is a gzip version of the fastq file. This file contains the cell barcode and unique molecular identifier (technical).  
raw\/images\/.* ✓ Directory containing raw image files. This directory should include at least one raw file.  
raw\/images\/[^\/]+_tissue\.(?:tif|tiff)   Raw microscope file for the experiment. For 10X Visium CytAssist, this would be the high resolution image produced.  
raw\/images\/[^\/]+_fiducial\.(?:tif|tiff) ✓ This is the low resolution image from the 10X CytAssist instrument that includes the fiduciary markings.  
raw\/images\/[^\/]+\.ndpi   Raw microscope file for the experiment  
lab_processed\/.* ✓ Experiment files that were processed by the lab generating the data.  
lab_processed\/images\/.* ✓ Processed image files  
lab_processed\/images\/[^\/]+\.ome\.tiff (example: lab_processed/images/HBM892.MDXS.293.ome.tiff) ✓ OME-TIFF files (multichannel, multi-layered) produced by the microscopy experiment. If compressed, must use loss-less compression algorithm. For Visium this stitched file should only include the single capture area relevant to the current dataset. For GeoMx there will be one OME TIFF file per slide, with each slide including multiple AOIs. See the following link for the set of fields that are required in the OME TIFF file XML header. https://docs.google.com/spreadsheets/d/1YnmdTAA0Z9MKN3OjR3Sca8pz-LNQll91wdQoRPSP6Q4/edit#gid=0  
lab_processed\/images\/[^\/]*ome-tiff\.channels\.csv ✓ This file provides essential documentation pertaining to each channel of the accommpanying OME TIFF. The file should contain one row per OME TIFF channel. The required fields are detailed https://docs.google.com/spreadsheets/d/1xEJSb0xn5C5fB3k62pj1CyHNybpt4-YtvUs5SUMS44o/edit#gid=0  
lab_processed\/annotations\/.*   Directory containing segmentation masks.  
lab_processed\/annotations\/[^\/]+\.segmentations\.ome\.tiff   The segmentation masks should be stored as multi-channel pyramidal OME TIFF bitmasks with one channel per mask, where a single mask contains all instances of a type of object (e.g., all cells, a class of FTUs, etc). The class of objects contained in the mask is documented in the segmentation-masks.csv file. Each individual object in a mask should be represented by a unique integer pixel value starting at 1, with 0 meaning background (e.g., all pixels belonging to the first instance of a T-cell have a value of 1, the pixels for the second instance of a T-cell have a value of 2, etc). The pixel values should be unique within a mask. FTUs and other structural elements should be captured the same way as cells with segmentation masks and the appropriate channel feature definitions. lab_processed\/annotations\/.*
lab_processed\/annotations\/segmentation-masks\.csv   This file contains details about each mask, with one row per mask. Each column in this file contains details describing the mask (e.g., channel number, mask name, ontological ID, etc). Each mask is stored as a channel in the segmentations.ome.tiff file and the mask name should be ontologically based and linked to the ASCT+B table where possible. The number of rows in this file should equal the number of channels in the segmentations.ome.tiff. For example, one row in this file would ontologically describe cells, if the segmentations.ome.tiff file contained a mask of all cells. A minimum set of fields (required and optional) is included below. If multiple segmentations.ome.tiff files are used, this segmentation-masks.csv file should document the masks across all of the OME TIFF files. lab_processed\/annotations\/.*
lab_processed\/annotations\/[^\/]+-objects\.csv   This is a matrix where each row describes an individual object (e.g., one row per cell in the case where a mask contains all cells) and columns are features (i.e., object type, marker intensity, classification strategies, etc). One file should be created per mask with the name of the mask prepended to the file name. For example, if there’s a cell segmentation map called “cells” then you would include a file called “cells-objects.csv” and that file would contain one row per cell in the “cells” mask and one column per feature, such as marker intensity and/or cell type. A minimum set of fields (required and optional) is included below. lab_processed\/annotations\/.*
lab_processed\/annotations\/[^\/]+\.geojson   A GeoJSON file(s) containing the geometries of each object within a mask. For example, if the mask contains multiple FTUs, multiple cells, etc, each of the objects in the mask would be independently documented in the GeoJSON file. There would be a single GeoJSON file per mask and the name of the file should be the name of the mask. If this file is generated by QuPath, the coordinates will be in pixel units with the origin (0, 0) as the top left corner of the full-resolution image. lab_processed\/annotations\/.*
lab_processed\/annotations\/tissue-boundary\.geojson   [QA/QC] If the boundaries of the tissue have been identified (e.g., by manual efforts), then the boundary geometry can be included as a GeoJSON file named “tissue-boundary.geojson”. lab_processed\/annotations\/.*
lab_processed\/annotations\/regions-of-concern\.csv   This file and the associated GeoJSON file can be used to denote any regions in the image that may contain QA/QC concerns. For example, if there are folds in the tissue, the region of the fold can be highlighted. This file should contain one row per region and include documentation about the region and why it’s being flagged. lab_processed\/annotations\/.*
lab_processed\/annotations\/regions-of-concern\.geojson   This file and the associated CSV file can be used to denote any regions in the image that may contain QA/QC concerns. For example, if there are folds in the tissue, the region of the fold can be highlighted. This file should contain the geometric coordinates of each region being flagged. lab_processed\/annotations\/.*