metadata/move_obsm_to_obs

Description

Move a matrix from .obsm to .obs. Newly created columns in .obs will
be created from the .obsm key suffixed with an underscore and the name of the columns
of the specified .obsm matrix.

Type

python_script

License

MIT

Contributors

Run this component

Run the following command to execute this component with Nextflow:

cat > params.yaml <<'EOM'  
modality: [ "rna" ]  
output: "$id.$key.output.h5mu"  
id: "run"  
publish_dir: "output/"  
EOM

nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \  
  -revision v4.0.2 \  
  -main-script target/nextflow/metadata/move_obsm_to_obs/main.nf \  
  -params-file params.yaml  

MuData Input

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

MuData 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.