convert/from_xenium_to_spatialdata

Description

Converts the output from 10X Genomics Xenium dataset into a SpatialData objcet.
By default, the following files will be converted:

  • experiment.xenium: File containing specifications.

  • nucleus_boundaries.parquet: Polygons of nucleus boundaries.

  • cell_boundaries.parquet: Polygons of cell boundaries.

  • transcripts.parquet: File containing transcripts.

  • cell_feature_matrix.h5: File containing cell feature matrix.

  • cells.parquet: File containing cell metadata.

  • morphology_mip.ome.tif: File containing morphology mip.

  • morphology_focus.ome.tif: File containing morphology focus.

Type

python_script

Contributors

Run this component

Run the following command to execute this component with Nextflow:

cat > params.yaml <<'EOM'  
output: "$id.$key.output.zarr"  
cells_boundaries: [ true ]  
nucleus_boundaries: [ true ]  
cells_labels: [ true ]  
transcripts: [ true ]  
nucleus_labels: [ true ]  
morphology_mip: [ true ]  
morphology_focus: [ true ]  
aligned_images: [ true ]  
cells_table: [ true ]  
n_jobs: [ 1 ]  
id: "run"  
publish_dir: "output/"  
EOM

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

Arguments

Name
Type & Properties
--input
-i
file
required
--output
-o
file
output
--cells_boundaries
boolean
--nucleus_boundaries
boolean
--cells_as_circles
boolean_true
--cells_labels
boolean
--transcripts
boolean
--nucleus_labels
boolean
--morphology_mip
boolean
--morphology_focus
boolean
--aligned_images
boolean
--cells_table
boolean
--n_jobs
integer

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.