OPERATOR / VERSION 1.0

galaxy_number_lines

Galaxy · Text processing · Tabular data

Number nonempty text lines with configurable starting number, increment and alignment.

View manifest JSON ↗

Use this operator

operator: galaxy_number_lines@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. Empty lines are unnumbered. Logical-page escape sequences are treated as literal text.

    Formats: Any compatible format
  • resultOutputbytes

    Number nonempty text lines with configurable starting number, increment and alignment. Empty lines are unnumbered. Logical-page escape sequences are treated as literal text.

Output structure and samples are provided by operator inference.

Parameters

  • startintegerOptional

    First line number.

    How to fill
    First line number. Empty lines are unnumbered. Logical-page escape sequences are treated as literal text. · Minimum: 0 · Maximum: 1000000000
    Example value
    1
    Default value
    1
  • incrementintegerOptional

    Positive increment between numbered lines.

    How to fill
    Positive increment between numbered lines. Empty lines are unnumbered. Logical-page escape sequences are treated as literal text. · Minimum: 1 · Maximum: 1000000
    Example value
    1
    Default value
    1
  • widthintegerOptional

    Minimum number-label width.

    How to fill
    Minimum number-label width. Empty lines are unnumbered. Logical-page escape sequences are treated as literal text. · Minimum: 1 · Maximum: 64
    Example value
    3
    Default value
    6
  • stylestringOptional

    Line-number alignment: ln left, rn right or rz zero-filled.

    How to fill
    Line-number alignment: ln left, rn right or rz zero-filled. Empty lines are unnumbered. Logical-page escape sequences are treated as literal text. · Allowed values: ln, rn, rz · Maximum length: 4096
    Example value
    rz
    Default value
    rn

Operator usage example

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

id: process
operator: galaxy_number_lines@1.0
inputs:
  source: read
params:
  start: 1
  increment: 1
  width: 3
  style: rz

Manual download

curl -fLo 'operator.jar' 'https://repo.conox.cn/v1/blobs/sha256/80113390545627953d96c5f86dc1c33d95e7e477031c13eda6358ecbdadce2ba/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.