OPERATOR / VERSION 1.0

galaxy_jq_set_path

Galaxy · JSON · Data transformation

Set a selected nested value.

View manifest JSON ↗

Use this operator

operator: galaxy_jq_set_path@1.0

Configure remote_operator_library_urls with this repository’s origin. XStream verifies and caches artifacts by digest, sharing them across operators.

Named ports

  • sourceInputbytes

    One JSONL bytes stream. Runs the fixed jq filter `setpath(($path|fromjson); ($value|fromjson))` on a JSON value stream (up to 1 MiB per input). Each emitted value is serialized on its own JSON Lines row.

    Formats: Any compatible format
  • resultOutputbytes

    JSONL bytes. Runs the fixed jq filter `setpath(($path|fromjson); ($value|fromjson))` on a JSON value stream (up to 1 MiB per input). Each emitted value is serialized on its own JSON Lines row.

Output structure and samples are provided by operator inference.

Parameters

  • pathstringOptional

    JSON array of object keys and array indices.

    How to fill
    JSON array of object keys and array indices. · Maximum length: 256
    Example value
    ["a",0]
    Default value
    ["a",0]
  • valuestringOptional

    Replacement JSON value.

    How to fill
    Replacement JSON value. · Maximum length: 1024
    Example value
    9
    Default value
    9

Operator usage example

Connect the input ports to upstream steps and adjust the parameters for your data.

id: process
operator: galaxy_jq_set_path@1.0
inputs:
  source: read_source
params:
  path: '["a",0]'
  value: '9'

Manual download

curl -fLo 'operator.zip' 'https://repo.conox.cn/v1/blobs/sha256/a6de431a872b7b0886bf1a8a75737fc49c4e9edc9741c12fc7d4da45972a4a17/operator.zip'
sha256sum -- 'operator.zip'
curl -fLo 'GALAXY-LICENSE.txt' 'https://repo.conox.cn/v1/blobs/sha256/06276304c423a835d843f55c62288aee7e5d6e474f301fe51a6e78481c39ca5b/GALAXY-LICENSE.txt'
sha256sum -- 'GALAXY-LICENSE.txt'

Compare checksums with the manifest. Download execution and build environments from the runtime catalog ↗.

Source and licensing

See Source archive under Artifact details

Source repository
https://github.com/galaxyproject/tools-iuc
Source revision
a9914e6c25a7aee16191a11c654ea25d72d0017c
License (publisher declared)
AFL-3.0 AND MIT
License text
Available below
Dependency SBOM
Dependency SBOM not provided

Build instructions

Compile src/*.py with the python-arrow@2.0 builder. Execute with the registered galaxy-jq@1.0 runtime. See upstream-manifest.json and fixtures.json for evidence.

Publisher-provided source, licenses and dependency information support your review. Availability and checksums do not certify safety, legal clearance, or that the executable matches the source.