resources/META-INF/galaxy-operator.json
1{"description": "Return the first N text lines, preserving their line endings and draining the input.", "documentation": {"example_job": "name: Return the first N text lines, preserving their line endings and draining the\n input.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/table.tsv\n view: bytes\n- id: process\n operator: galaxy_head@1.0\n inputs:\n source: read\n params:\n lines: 2\noutputs:\n result: process\n", "inputs": {"source": "UTF-8 text bytes. Column tools use the selected delimiter, without CSV quote interpretation."}, "outputs": {"result": "Return the first N text lines, preserving their line endings and draining the input."}, "parameters": {"lines": {"description": "Number of lines to select or discard.", "example": 2, "help": "Use a nonnegative integer. Tail is limited to 10000 lines and an 8 MiB-character rolling buffer."}}}, "entrypoint": "xstream.galaxy.Head", "icon": {"color": "#5265ad", "path": "M4 5h16M4 10h16m-16 5h10m-10 5h6M18 13v8m-3-5 3-3 3 3"}, "name": "galaxy_head", "parameters": {"additionalProperties": false, "properties": {"lines": {"default": 10, "description": "Number of lines to select or discard.", "maximum": 1000000, "minimum": 0, "type": "integer"}}, "required": [], "type": "object"}, "params": {"lines": 2}, "version": "1.0"}