dataflow/move_anndata_slots

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.

Type

python_script

Contributors

Run this component

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  

Source

Name
Type & Properties
--input_source
file
required
--source_modality
string

Target

Name
Type & Properties
--input_target
file
required
--target_modality
string

Slots to move

Name
Type & Properties
--obs
string
multiple
--var
string
multiple
--obsm
string
multiple
--varm
string
multiple
--obsp
string
multiple
--varp
string
multiple
--uns
string
multiple

Options

Name
Type & Properties
--allow_overwrite
boolean_true

Output

Name
Type & Properties
--output
-o
file
required
output
--output_compression
string

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.