Format conversion
This tutorial will show how to implement basic format conversions using the complementary pipeline SAW convert
. To make this utility more straightforward and concise, several pipelines have been created under SAW convert
. The sub-pipeline is usually named as "A2B", which signifies the switching from A-form to B-form.
Select the one you need for format conversion.
Matrix related
visualization
visualization
Conversion from a raw GEF to a visualization GEF.
The raw GEF only saves the gene expression in the bin1 dimension to prevent the output file from becoming too large. For GEF to be visualized in StereoMap, it is necessary to have comprehensive information on various bin sizes, usually with a bin list of [ 1, 5, 10, 20, 50, 100, 150, 200].
gef2gem
gef2gem
Conversion from a bin GEF to a GEM.
The feature expression recorded in GEM has only one type of bin size, so you have to set --bin-size
for the conversion.
Conversion from a cellbin GEF to a cellbin GEM.
gem2gef
gem2gef
Conversion from a GEM to a bin GEF.
If your input GEM is of bin1, the output GEF will be a visualization GEF that includes expression counts of bin1, 5, 10, 20, 50, 100, 150, 200.
If your input GEM is not of bin1, the output GEF will contain the expression counts of that specific bin size.
Conversion from a cellbin GEM to a cellbin GEF.
bin2cell
bin2cell
Conversion from a bin GEF to a cellbin GEF.
gef2h5ad
gef2h5ad
Conversion from a bin GEF to an AnnData H5AD.
Conversion from a cellbin GEF to an AnnData H5AD.
gem2h5ad
gem2h5ad
Conversion from a GEM to an AnnData H5AD.
Conversion from a cellbin GEF to an AnnData H5AD.
gef2img
gef2img
Plot a heatmap of a bin GEF.
It supports using feature expression matrix to generate a grayscale image heatmap of the spatial expression.
Image related
tar2img
tar2img
Extract TIFF images from an image .tar.gz
file. Usually including a microscope image aligned with the matrix, a tissue segmentation image and a cell segmentation image, if required algorithmic or manual processing results are recorded in the image .tar.gz
file.
img2rpi
img2rpi
Conversion from TIFF images to an RPI file, used in StereoMap.
merge
merge
Merge images (up to three) into one image.
Merged image of microscopy image ssDNA_SS200000135TL_D1_regist.tif
and tissue segmentation mask file ssDNA_SS200000135TL_D1_tissue_cut.tif
to evaluate the performance of tissue segmentation.
Part of the merged image of the microscopy image ssDNA_SS200000135TL_D1_regist.tif
and cell segmentation mask file ssDNA_SS200000135TL_D1_mask.tif
to evaluate the performance of cell segmentation.
overlay
overlay
Stack the template points onto the image, to check whether the image template crosspoints derived by image QC are accurate.
Stack the matrix template onto ssDNA_SS200000135TL_D1_regist.tif
image to verify the registration outcome.
Last updated