Source code

Download source archive ↓

resources/META-INF/galaxy-operator.json

1{"categories": ["Galaxy", "Text processing", "Tabular data"], "description": "Convert explicitly configured fixed-width fields into trimmed tab-separated columns.", "documentation": {"example_job": "name: Convert explicitly configured fixed-width fields into trimmed tab-separated\n  columns.\nsteps:\n- id: read\n  operator: read_item@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/extended/fixed_width_to_tabular.txt\n    view: bytes\n- id: process\n  operator: galaxy_fixed_width_to_tabular@1.0\n  inputs:\n    source: read\n  params:\n    widths:\n    - 4\n    - 3\n    pad_short: false\noutputs:\n  result: process\n", "inputs": {"source": "UTF-8 bytes stream. Explicit character widths only; no automatic boundary detection, FORTRAN descriptors, reports or encoding conversion. Long rows or unpadded short rows fail."}, "outputs": {"result": "Convert explicitly configured fixed-width fields into trimmed tab-separated columns. Explicit character widths only; no automatic boundary detection, FORTRAN descriptors, reports or encoding conversion. Long rows or unpadded short rows fail."}, "parameters": {"pad_short": {"description": "Pad short fixed-width rows with spaces.", "example": false, "help": "Pad short fixed-width rows with spaces. Explicit character widths only; no automatic boundary detection, FORTRAN descriptors, reports or encoding conversion. Long rows or unpadded short rows fail."}, "widths": {"description": "Positive fixed-width character counts for each field.", "example": [4, 3], "help": "Positive fixed-width character counts for each field. Explicit character widths only; no automatic boundary detection, FORTRAN descriptors, reports or encoding conversion. Long rows or unpadded short rows fail."}}}, "entrypoint": "xstream.galaxy.FixedWidthToTabular", "fixture": {"data": "AB  123\nCD  456\n", "expected": "AB\t123\nCD\t456\n", "params": {"pad_short": false, "widths": [4, 3]}}, "icon": {"color": "#5265ad", "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"}, "name": "galaxy_fixed_width_to_tabular", "parameters": {"additionalProperties": false, "properties": {"pad_short": {"default": false, "description": "Pad short fixed-width rows with spaces.", "type": "boolean"}, "widths": {"default": [4, 3], "description": "Positive fixed-width character counts for each field.", "items": {"default": 1, "maximum": 65536, "minimum": 1, "type": "integer"}, "maxItems": 128, "type": "array"}}, "required": [], "type": "object"}, "params": {"pad_short": false, "widths": [4, 3]}, "scope": "Explicit character widths only; no automatic boundary detection, FORTRAN descriptors, reports or encoding conversion. Long rows or unpadded short rows fail.", "upstream": {"path": "fixed2tab/fixed2tab.xml", "repository": "https://github.com/galaxyproject/tools-iuc"}, "version": "1.0"}