galaxy_unique_consecutive
Galaxy · Text processing · Tabular dataCollapse adjacent equal text records, optionally counting or selecting duplicate groups.
Use this operator
operator: galaxy_unique_consecutive@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. Only consecutive duplicates are grouped; no arbitrary field skipping or blank-delimited grouping.
Formats: Any compatible format - resultOutputbytes
Collapse adjacent equal text records, optionally counting or selecting duplicate groups. Only consecutive duplicates are grouped; no arbitrary field skipping or blank-delimited grouping.
Output structure and samples are provided by operator inference.
Parameters
- ignore_casebooleanOptional
Compare without case differences.
- How to fill
- Compare without case differences. Only consecutive duplicates are grouped; no arbitrary field skipping or blank-delimited grouping.
- Example value
- false
- Default value
- false
- countbooleanOptional
Prefix each emitted group by its occurrence count.
- How to fill
- Prefix each emitted group by its occurrence count. Only consecutive duplicates are grouped; no arbitrary field skipping or blank-delimited grouping.
- Example value
- true
- Default value
- false
- modestringOptional
Emit every group, repeated groups, or singleton groups.
- How to fill
- Emit every group, repeated groups, or singleton groups. Only consecutive duplicates are grouped; no arbitrary field skipping or blank-delimited grouping. · Allowed values: all, repeated, single · Maximum length: 4096
- Example value
- all
- Default value
- all
Operator usage example
Connect the input ports to upstream steps and adjust the parameters for your data.
id: process
operator: galaxy_unique_consecutive@1.0
inputs:
source: read
params:
ignore_case: false
count: true
mode: all
Manual download
curl -fLo 'operator.jar' 'https://repo.conox.cn/v1/blobs/sha256/5a380d182e1f53bab9e0ce9f63775839302d1f5221e95bef7ad5174acd48dadd/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.