Description
Move slots (.obs, .var, .obsm, .varm, .obsp, .varp, .uns) from a modality
in a source MuData file into a modality in a target MuData file.
The specified slots are copied from the source modality into the target
modality. By default, copying to a key that already exists in the target
raises an error; use --allow_overwrite to overwrite it instead.
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
source_modality: [ "rna" ]
output: "$id.$key.output.h5mu"
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/dataflow/move_anndata_slots/main.nf \
-params-file params.yaml Name | Type & Properties |
|---|---|
--input_source | file required |
--source_modality | string |
Name | Type & Properties |
|---|---|
--input_target | file required |
--target_modality | string |
Name | Type & Properties |
|---|---|
--obs | string multiple |
--var | string multiple |
--obsm | string multiple |
--varm | string multiple |
--obsp | string multiple |
--varp | string multiple |
--uns | string multiple |
Name | Type & Properties |
|---|---|
--allow_overwrite | boolean_true |
Name | Type & Properties |
|---|---|
--output -o | file required output |
--output_compression | string |