galaxy_head
Galaxy · Text processing · Tabular dataReturn the first N text lines, preserving their line endings and draining the input.
Use this operator
operator: galaxy_head@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 text bytes. Column tools use the selected delimiter, without CSV quote interpretation.
Formats: Any compatible format - resultOutputbytes
Return the first N text lines, preserving their line endings and draining the input.
Output structure and samples are provided by operator inference.
Parameters
- linesintegerOptional
Number of lines to select or discard.
- How to fill
- Use a nonnegative integer. Tail is limited to 10000 lines and an 8 MiB-character rolling buffer. · Minimum: 0 · Maximum: 1000000
- Example value
- 2
- Default value
- 10
Operator usage example
Connect the input ports to upstream steps and adjust the parameters for your data.
id: process
operator: galaxy_head@1.0
inputs:
source: read
params:
lines: 2
Manual download
curl -fLo 'operator.jar' 'https://repo.conox.cn/v1/blobs/sha256/d16a5708834102ccdd4a5bc70eb4355581705aa93432f6fbdf5fa5b1d14cf940/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-devteam
- Source revision
- ddbe2a1e6eded54877d786fbcfc18e594fb12932
- License (publisher declared)
- AFL-3.0 AND MIT
- License text
- Available below
- Dependency SBOM
- Dependency SBOM not provided
Build instructions
Scala adaptation sources are src/Galaxy.scala and src/Sequences.scala. Compile against the shared SDK with the registered jvm-arrow@2.1 Scala builder; include resources/ in the thin JAR. No external libraries beyond the shared runtime. README files document upstream behavior and deliberate fixes; upstream/ retains original tools and 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.