metadata/add_id

Description

Add id of .obs. Also allows to make .obs_names (the .obs index) unique
by prefixing the values with an unique id per .h5mu file.

Type

python_script

License

MIT

Contributors

Run this component

Run the following command to execute this component with Nextflow:

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

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

Arguments

Name
Type & Properties
--input
-i
file
required
--input_id
string
required
--obs_output
string
--output
-o
file
output
--make_observation_keys_unique
boolean_true
--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.