Description
Convert spatial data resulting from Aviti Teton sequencers that have been processed by the Element Biosciences cells2stats workflow to H5MU format.
This component processes cells2stats count matrices to create a standardized H5MU file for downstream analysis.
The component reads:
Parquet file containing the count matrix and metadata
Panel.json with target and batch information
And outputs an H5MU file with:
Count data as the main .X matrix
Spatial coordinates in obsm
Cell Paint intensities in obsm (optional)
Nuclear count data as a layer (optional)
CellProfiler morphology metrics in obsm (optional)
Unassigned targets in obsm (optional)
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
output: "$id.$key.output.h5mu"
modality: [ "rna" ]
obsm_coordinates: [ "spatial" ]
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_cells2stats_to_h5mu/main.nf \
-params-file params.yaml Name | Type & Properties |
|---|---|
--input | file required |
Name | Type & Properties |
|---|---|
--output | file required output |
--output_compression | string |
Name | Type & Properties |
|---|---|
--modality | string |
--obsm_coordinates | string |
--layer_nuclear_counts | string |
--obsm_cell_paint | string |
--obsm_cell_paint_nuclear | string |
--obsm_cell_profiler | string |
--obsm_unassigned_targets | string |