Source code

Download source archive ↓

resources/META-INF/galaxy-operator.json

1{"categories": ["Galaxy", "Text processing", "Tabular data"], "description": "Collapse adjacent equal text records, optionally counting or selecting duplicate groups.", "documentation": {"example_job": "name: Collapse adjacent equal text records, optionally counting or selecting duplicate\n  groups.\nsteps:\n- id: read\n  operator: read_item@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/extended/unique_consecutive.txt\n    view: bytes\n- id: process\n  operator: galaxy_unique_consecutive@1.0\n  inputs:\n    source: read\n  params:\n    ignore_case: false\n    count: true\n    mode: all\noutputs:\n  result: process\n", "inputs": {"source": "UTF-8 bytes stream. Only consecutive duplicates are grouped; no arbitrary field skipping or blank-delimited grouping."}, "outputs": {"result": "Collapse adjacent equal text records, optionally counting or selecting duplicate groups. Only consecutive duplicates are grouped; no arbitrary field skipping or blank-delimited grouping."}, "parameters": {"count": {"description": "Prefix each emitted group by its occurrence count.", "example": true, "help": "Prefix each emitted group by its occurrence count. Only consecutive duplicates are grouped; no arbitrary field skipping or blank-delimited grouping."}, "ignore_case": {"description": "Compare without case differences.", "example": false, "help": "Compare without case differences. Only consecutive duplicates are grouped; no arbitrary field skipping or blank-delimited grouping."}, "mode": {"description": "Emit every group, repeated groups, or singleton groups.", "example": "all", "help": "Emit every group, repeated groups, or singleton groups. Only consecutive duplicates are grouped; no arbitrary field skipping or blank-delimited grouping."}}}, "entrypoint": "xstream.galaxy.UniqueConsecutive", "fixture": {"data": "a\na\nb\n", "expected": "2\ta\n1\tb\n", "params": {"count": true, "ignore_case": false, "mode": "all"}}, "icon": {"color": "#5265ad", "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"}, "name": "galaxy_unique_consecutive", "parameters": {"additionalProperties": false, "properties": {"count": {"default": false, "description": "Prefix each emitted group by its occurrence count.", "type": "boolean"}, "ignore_case": {"default": false, "description": "Compare without case differences.", "type": "boolean"}, "mode": {"default": "all", "description": "Emit every group, repeated groups, or singleton groups.", "enum": ["all", "repeated", "single"], "maxLength": 4096, "type": "string"}}, "required": [], "type": "object"}, "params": {"count": true, "ignore_case": false, "mode": "all"}, "scope": "Only consecutive duplicates are grouped; no arbitrary field skipping or blank-delimited grouping.", "upstream": {"path": "text_processing/text_processing/sorted_uniq.xml", "repository": "https://github.com/bgruening/galaxytools"}, "version": "1.0"}