OPERATOR / VERSION 1.0

galaxy_replace_text_in_line

Galaxy · Text processing · Tabular data

Replace literal text within complete lines.

View manifest JSON ↗

Use this operator

operator: galaxy_replace_text_in_line@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

    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_replace_text_in_line@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/2efeea4f87d4c630250c2422d524425aa8d29814a5d1a5db31abce60a3c30f5d/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.