galaxy_jq_first_index
Galaxy · JSON · Data transformationReturn the first offset of a substring.
Use this operator
operator: galaxy_jq_first_index@1.0Configure 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 `index($needle)` 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 `index($needle)` 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
- needlestringOptional
Substring to locate.
- How to fill
- Substring to locate. · Maximum length: 64
- Example value
- ab
- Default value
- ab
Operator usage example
Connect the input ports to upstream steps and adjust the parameters for your data.
id: process
operator: galaxy_jq_first_index@1.0
inputs:
source: read_source
params:
needle: ab
Manual download
curl -fLo 'operator.zip' 'https://repo.conox.cn/v1/blobs/sha256/4f2aab009225ab7bcd93ce480dd63fda164a34f7aa47970d4d6468610603de40/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.