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.
Arguments
Name | Type & Properties | Description |
|---|---|---|
--input -i | file required | Path to the input .h5mu. |
--input_id | string required | The input id. |
--obs_output | string | Name of the .obs column where to store the id. |
--output -o | file output | |
--output_compression | string | The compression format to be used on the output h5mu object. |
--make_observation_keys_unique | boolean_true | Join the id to the .obs index (.obs_names). |
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 1.0.1 \
-main-script target/nextflow/metadata/add_id/main.nf \
-params-file params.yaml Relationships
Used by
2 relationships
Current component
metadata/add_idopenpipeline 1.0.1
Uses
0 relationships
No component dependencies found.