test_workflows/assert_h5mu_slots
Description
Test helper. Reads a modality from an output h5mu and asserts that the expected
.obs columns, .obsm keys, .obsp keys and .uns keys are all present. Raises an
error listing any missing slots.
Inputs
Name | Type & Properties | Description |
|---|---|---|
--input | file required | Output h5mu file to validate. |
--modality | string | Modality to inspect. |
Expected slots
Name | Type & Properties | Description |
|---|---|---|
--obs | string multiple | Expected .obs column names. |
--obsm | string multiple | Expected .obsm keys. |
--obsp | string multiple | Expected .obsp keys. |
--uns | string multiple | Expected .uns keys. |
Run this component
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
modality: [ "rna" ]
id: "run"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/openpipeline_composed.git \
-revision v0.2.0 \
-main-script target/nextflow/test_workflows/assert_h5mu_slots/main.nf \
-params-file params.yaml Relationships
Used by
0 relationships
No components use this component.
Current component
test_workflows/assert_h5mu_slotsopenpipeline_composed v0.2.0
Uses
0 relationships
No component dependencies found.