convert/from_spaceranger_hd_to_spatialdata

spaceranger
visium_hd
segmentation
spatialdata

Description

Converts the output from 10X Genomics Space Ranger for Visium HD into a
SpatialData object.

By default it reads the segmented cells (per-cell count matrix and cell
boundary polygons) that Space Ranger 4.x writes to segmented_outputs/. Set
--mode bins to instead read a binned output (binned_outputs/square_<N>um/)
at the bin size given by --bin_size. In both cases the loaded table is
renamed to "table" so that downstream components stay technology-agnostic.

Type

python_script

Keywords

spaceranger
visium_hd
segmentation
spatialdata

Contributors

Run this component

Run the following command to execute this component with Nextflow:

cat > params.yaml <<'EOM'  
output: "$id.$key.output.zarr"  
mode: [ "segmented_cells" ]  
bin_size: [ 8 ]  
output_type: [ "filtered" ]  
id: "run"  
publish_dir: "output/"  
EOM

nextflow run https://packages.viash-hub.com/vsh/openpipeline_spatial.git \  
  -revision v0.6.0 \  
  -main-script target/nextflow/convert/from_spaceranger_hd_to_spatialdata/main.nf \  
  -params-file params.yaml  

Arguments

Name
Type & Properties
--input
-i
file
required
--output
-o
file
required
output
--mode
string
--bin_size
integer
--output_type
string
--output_layer
string
--dataset_id
string

Collaborate Accelerate Succeed

Empower your organization with secure, scalable workflow solutions that simplify development, ensure compliance, and drive innovation.

Viash Hub is a platform developed by Data Intuitive, a Belgian-based bioinformatics company specializing in data workflow development and deployment.