galaxy_sort_lines
Galaxy · Text processing · Tabular dataStable sort of text rows using a selected tab-separated key.
Use this operator
operator: galaxy_sort_lines@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. One full-field sort key; numeric mode requires finite decimal/scientific values. No locale, random or human-size sorting. Bounded 8 MiB-character row buffer.
Formats: Any compatible format - resultOutputbytes
Stable sort of text rows using a selected tab-separated key. One full-field sort key; numeric mode requires finite decimal/scientific values. No locale, random or human-size sorting. Bounded 8 MiB-character row buffer.
Output structure and samples are provided by operator inference.
Parameters
- columnintegerOptional
One-based selected field, or zero for a whole-line key where allowed.
- How to fill
- One-based selected field, or zero for a whole-line key where allowed. One full-field sort key; numeric mode requires finite decimal/scientific values. No locale, random or human-size sorting. Bounded 8 MiB-character row buffer. · Minimum: 1 · Maximum: 65536
- Example value
- 2
- Default value
- 1
- numericbooleanOptional
Compare keys as finite decimal/scientific numbers.
- How to fill
- Compare keys as finite decimal/scientific numbers. One full-field sort key; numeric mode requires finite decimal/scientific values. No locale, random or human-size sorting. Bounded 8 MiB-character row buffer.
- Example value
- true
- Default value
- false
- reversebooleanOptional
Use descending key order.
- How to fill
- Use descending key order. One full-field sort key; numeric mode requires finite decimal/scientific values. No locale, random or human-size sorting. Bounded 8 MiB-character row buffer.
- Example value
- false
- Default value
- false
- ignore_casebooleanOptional
Compare without case differences.
- How to fill
- Compare without case differences. One full-field sort key; numeric mode requires finite decimal/scientific values. No locale, random or human-size sorting. Bounded 8 MiB-character row buffer.
- Example value
- false
- Default value
- false
- headerintegerOptional
Header line count, or new header label for label-column operators.
- How to fill
- Header line count, or new header label for label-column operators. One full-field sort key; numeric mode requires finite decimal/scientific values. No locale, random or human-size sorting. Bounded 8 MiB-character row buffer. · Minimum: 0 · Maximum: 10000
- Example value
- 1
- Default value
- 0
Operator usage example
Connect the input ports to upstream steps and adjust the parameters for your data.
id: process
operator: galaxy_sort_lines@1.0
inputs:
source: read
params:
column: 2
numeric: true
reverse: false
ignore_case: false
header: 1
Manual download
curl -fLo 'operator.jar' 'https://repo.conox.cn/v1/blobs/sha256/78f3d005b8ff6c73932d79e0d5492b5f0501e48b5842bdaaeaa9f55aa7380a3b/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.