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.

Type

python_script

Contributors

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  

Inputs

Name
Type & Properties
--input
file
required
--modality
string

Expected slots

Name
Type & Properties
--obs
string
multiple
--obsm
string
multiple
--obsp
string
multiple
--uns
string
multiple

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.