Source code

Download source archive ↓

resources/META-INF/galaxy-operator.json

1{"categories": ["Galaxy", "Text processing", "Tabular data"], "description": "Add an input label as a new table column, with optional header and prepending.", "documentation": {"example_job": "name: Add an input label as a new table column, with optional header and prepending.\nsteps:\n- id: read\n  operator: read_item@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/extended/add_input_name.txt\n    view: bytes\n- id: process\n  operator: galaxy_add_input_name@1.0\n  inputs:\n    source: read\n  params:\n    label: run1\n    header: sample\n    prepend: true\noutputs:\n  result: process\n", "inputs": {"source": "UTF-8 bytes stream. The input label is explicit configuration; no local path or filename is required."}, "outputs": {"result": "Add an input label as a new table column, with optional header and prepending. The input label is explicit configuration; no local path or filename is required."}, "parameters": {"header": {"description": "Header line count, or new header label for label-column operators.", "example": "sample", "help": "Header line count, or new header label for label-column operators. The input label is explicit configuration; no local path or filename is required."}, "label": {"description": "Explicit input name to append or prepend.", "example": "run1", "help": "Explicit input name to append or prepend. The input label is explicit configuration; no local path or filename is required."}, "prepend": {"description": "Place the added label column first.", "example": true, "help": "Place the added label column first. The input label is explicit configuration; no local path or filename is required."}}}, "entrypoint": "xstream.galaxy.AddInputName", "fixture": {"data": "id\nA\n", "expected": "sample\tid\nrun1\tA\n", "params": {"header": "sample", "label": "run1", "prepend": true}}, "icon": {"color": "#5265ad", "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"}, "name": "galaxy_add_input_name", "parameters": {"additionalProperties": false, "properties": {"header": {"default": "", "description": "Header line count, or new header label for label-column operators.", "maxLength": 4096, "type": "string"}, "label": {"default": "sample", "description": "Explicit input name to append or prepend.", "maxLength": 4096, "type": "string"}, "prepend": {"default": false, "description": "Place the added label column first.", "type": "boolean"}}, "required": [], "type": "object"}, "params": {"header": "sample", "label": "run1", "prepend": true}, "scope": "The input label is explicit configuration; no local path or filename is required.", "upstream": {"path": "add_input_name_as_column/add_input_name_as_column.py", "repository": "https://github.com/galaxyproject/tools-iuc"}, "version": "1.0"}