galaxy_find_and_replace
Galaxy · Text processing · Tabular dataReplace literal text within complete lines.
Use this operator
operator: galaxy_find_and_replace@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
UTF-8 bytes stream. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.
Formats: Any compatible format - resultOutputbytes
Replace literal text within complete lines. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.
Output structure and samples are provided by operator inference.
Parameters
- findstringOptional
Nonempty literal search text.
- How to fill
- Nonempty literal search text. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail. · Maximum length: 4096
- Example value
- cat
- Default value
- old
- replacementstringOptional
Literal replacement text.
- How to fill
- Literal replacement text. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail. · Maximum length: 4096
- Example value
- dog
- Default value
- new
- first_onlybooleanOptional
Replace only the first match per row or selected field.
- How to fill
- Replace only the first match per row or selected field. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.
- Example value
- false
- Default value
- false
- ignore_casebooleanOptional
Compare without case differences.
- How to fill
- Compare without case differences. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.
- Example value
- false
- Default value
- false
- skip_headerbooleanOptional
Keep the first input row unchanged.
- How to fill
- Keep the first input row unchanged. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.
- Example value
- false
- Default value
- false
Operator usage example
Connect the input ports to upstream steps and adjust the parameters for your data.
id: process
operator: galaxy_find_and_replace@1.0
inputs:
source: read
params:
find: cat
replacement: dog
first_only: false
ignore_case: false
skip_header: false
Manual download
curl -fLo 'operator.jar' 'https://repo.conox.cn/v1/blobs/sha256/bc66151b77d20209562c5c5934961d8cfd499202909c90f9b4001c1453264105/operator.jar'
sha256sum -- 'operator.jar'
curl -fLo 'GALAXY-LICENSE.txt' 'https://repo.conox.cn/v1/blobs/sha256/b5c47c1fc99e3f0f24de342af06da7bbaf8f394f1b6be0295d0d2ebcf7e874cf/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/bgruening/galaxytools
- Source revision
- cf3d3559b6102373ee65693e99e4ed928d459deb
- License (publisher declared)
- AFL-3.0 AND MIT
- License text
- Available below
- Dependency SBOM
- Dependency SBOM not provided
Build instructions
Compile every src/*.scala against the shared SDK using the jvm-arrow@2.1 Scala builder. Include resources/ in the thin JAR. No external dependencies. See extra-specs.json, README and upstream-extended/ for reviewed sources, explicit supported scope and test fixtures.
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.