resources/META-INF/galaxy-operator.json
1{"categories": ["Galaxy", "Text processing", "Tabular data"], "description": "Add a literal header or footer line to a text stream.", "documentation": {"example_job": "name: Add a literal header or footer line to a text stream.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/add_line.txt\n view: bytes\n- id: process\n operator: galaxy_add_line@1.0\n inputs:\n source: read\n params:\n text: header\n position: header\noutputs:\n result: process\n", "inputs": {"source": "UTF-8 bytes stream. Existing data lines are normalized to LF; this avoids concatenating a footer onto an unterminated final row."}, "outputs": {"result": "Add a literal header or footer line to a text stream. Existing data lines are normalized to LF; this avoids concatenating a footer onto an unterminated final row."}, "parameters": {"position": {"description": "Insert the line as a header or footer.", "example": "header", "help": "Insert the line as a header or footer. Existing data lines are normalized to LF; this avoids concatenating a footer onto an unterminated final row."}, "text": {"description": "Literal line content.", "example": "header", "help": "Literal line content. Existing data lines are normalized to LF; this avoids concatenating a footer onto an unterminated final row."}}}, "entrypoint": "xstream.galaxy.AddLine", "fixture": {"data": "a\nb\n", "expected": "header\na\nb\n", "params": {"position": "header", "text": "header"}}, "icon": {"color": "#5265ad", "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"}, "name": "galaxy_add_line", "parameters": {"additionalProperties": false, "properties": {"position": {"default": "header", "description": "Insert the line as a header or footer.", "enum": ["header", "footer"], "maxLength": 4096, "type": "string"}, "text": {"default": "header", "description": "Literal line content.", "maxLength": 4096, "type": "string"}}, "required": [], "type": "object"}, "params": {"position": "header", "text": "header"}, "scope": "Existing data lines are normalized to LF; this avoids concatenating a footer onto an unterminated final row.", "upstream": {"path": "text_processing/add_line_to_file/add_line_to_file.xml", "repository": "https://github.com/bgruening/galaxytools"}, "version": "1.0"}