galaxy_sort_columns_by_header
Galaxy · Text processing · Tabular dataAlphabetically reorder table columns by header, optionally pinning one column first.
Use this operator
operator: galaxy_sort_columns_by_header@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. Zero sorts every column; otherwise a one-based column stays first. Headers must be unique.
Formats: Any compatible format - resultOutputbytes
Alphabetically reorder table columns by header, optionally pinning one column first. Zero sorts every column; otherwise a one-based column stays first. Headers must be unique.
Output structure and samples are provided by operator inference.
Parameters
- key_columnintegerOptional
One-based column to keep first, or zero to sort every header.
- How to fill
- One-based column to keep first, or zero to sort every header. Zero sorts every column; otherwise a one-based column stays first. Headers must be unique. · Minimum: 0 · Maximum: 65536
- Example value
- 2
- 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_columns_by_header@1.0
inputs:
source: read
params:
key_column: 2
Manual download
curl -fLo 'operator.jar' 'https://repo.conox.cn/v1/blobs/sha256/4c7fd4e3a06ef2ec9831f80c25a26ce6a91372f88e233f0b6b059a38c0cd50e8/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/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 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.