Source code

Download source archive ↓

resources/META-INF/galaxy-operator.json

1{"categories": ["Galaxy", "Text processing", "Tabular data"], "description": "Sort text lines and retain one occurrence of each comparison key.", "documentation": {"example_job": "name: Sort text lines and retain one occurrence of each comparison key.\nsteps:\n- id: read\n  operator: read_item@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/extended/unique_lines.txt\n    view: bytes\n- id: process\n  operator: galaxy_unique_lines@1.0\n  inputs:\n    source: read\n  params:\n    ignore_case: false\n    column: 0\n    numeric: false\n    header: 0\noutputs:\n  result: process\n", "inputs": {"source": "UTF-8 bytes stream. Whole line or one selected field; stable representative, bounded 8 MiB-character buffer. Header lines pass unchanged."}, "outputs": {"result": "Sort text lines and retain one occurrence of each comparison key. Whole line or one selected field; stable representative, bounded 8 MiB-character buffer. Header lines pass unchanged."}, "parameters": {"column": {"description": "One-based selected field, or zero for a whole-line key where allowed.", "example": 0, "help": "One-based selected field, or zero for a whole-line key where allowed. Whole line or one selected field; stable representative, bounded 8 MiB-character buffer. Header lines pass unchanged."}, "header": {"description": "Header line count, or new header label for label-column operators.", "example": 0, "help": "Header line count, or new header label for label-column operators. Whole line or one selected field; stable representative, bounded 8 MiB-character buffer. Header lines pass unchanged."}, "ignore_case": {"description": "Compare without case differences.", "example": false, "help": "Compare without case differences. Whole line or one selected field; stable representative, bounded 8 MiB-character buffer. Header lines pass unchanged."}, "numeric": {"description": "Compare keys as finite decimal/scientific numbers.", "example": false, "help": "Compare keys as finite decimal/scientific numbers. Whole line or one selected field; stable representative, bounded 8 MiB-character buffer. Header lines pass unchanged."}}}, "entrypoint": "xstream.galaxy.UniqueLines", "fixture": {"data": "b\na\nb\n", "expected": "a\nb\n", "params": {"column": 0, "header": 0, "ignore_case": false, "numeric": false}}, "icon": {"color": "#5265ad", "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"}, "name": "galaxy_unique_lines", "parameters": {"additionalProperties": false, "properties": {"column": {"default": 0, "description": "One-based selected field, or zero for a whole-line key where allowed.", "maximum": 65536, "minimum": 0, "type": "integer"}, "header": {"default": 0, "description": "Header line count, or new header label for label-column operators.", "maximum": 10000, "minimum": 0, "type": "integer"}, "ignore_case": {"default": false, "description": "Compare without case differences.", "type": "boolean"}, "numeric": {"default": false, "description": "Compare keys as finite decimal/scientific numbers.", "type": "boolean"}}, "required": [], "type": "object"}, "params": {"column": 0, "header": 0, "ignore_case": false, "numeric": false}, "scope": "Whole line or one selected field; stable representative, bounded 8 MiB-character buffer. Header lines pass unchanged.", "upstream": {"path": "text_processing/text_processing/unsorted_uniq.xml", "repository": "https://github.com/bgruening/galaxytools"}, "version": "1.0"}