yq
yaml
json
xml
csv
toml
properties
Description
A portable YAML, JSON, XML, CSV, TOML and properties processor
Inputs
Name | Type & Properties | Description |
|---|---|---|
--input | file required | files to be processed |
Outputs
Name | Type & Properties | Description |
|---|---|---|
--output | file required output | output file |
Arguments
Name | Type & Properties | Description |
|---|---|---|
--eval | string required | expression to evaluate |
--indent -I | integer | sets indent level for output (default 2) |
--input_format -p | string | parse format for input. (default "auto") |
--output_format -o | string | output format type. (default "auto") |
--pretty_print -P | boolean_true | pretty print, shorthand for '... style = ""' |
Run this component
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
output: "$id.$key.output"
id: "run"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/toolbox.git \
-revision v0.1.0 \
-main-script target/nextflow/yq/main.nf \
-params-file params.yaml Relationships
Used by
0 relationships
No components use this component.
Current component
yqtoolbox v0.1.0
Uses
0 relationships
No component dependencies found.