Source code

Download source archive ↓

resources/META-INF/galaxy-operator.json

1{"categories": ["Galaxy", "Text processing", "Tabular data"], "description": "Number nonempty text lines with configurable starting number, increment and alignment.", "documentation": {"example_job": "name: Number nonempty text lines with configurable starting number, increment and\n  alignment.\nsteps:\n- id: read\n  operator: read_item@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/extended/number_lines.txt\n    view: bytes\n- id: process\n  operator: galaxy_number_lines@1.0\n  inputs:\n    source: read\n  params:\n    start: 1\n    increment: 1\n    width: 3\n    style: rz\noutputs:\n  result: process\n", "inputs": {"source": "UTF-8 bytes stream. Empty lines are unnumbered. Logical-page escape sequences are treated as literal text."}, "outputs": {"result": "Number nonempty text lines with configurable starting number, increment and alignment. Empty lines are unnumbered. Logical-page escape sequences are treated as literal text."}, "parameters": {"increment": {"description": "Positive increment between numbered lines.", "example": 1, "help": "Positive increment between numbered lines. Empty lines are unnumbered. Logical-page escape sequences are treated as literal text."}, "start": {"description": "First line number.", "example": 1, "help": "First line number. Empty lines are unnumbered. Logical-page escape sequences are treated as literal text."}, "style": {"description": "Line-number alignment: ln left, rn right or rz zero-filled.", "example": "rz", "help": "Line-number alignment: ln left, rn right or rz zero-filled. Empty lines are unnumbered. Logical-page escape sequences are treated as literal text."}, "width": {"description": "Minimum number-label width.", "example": 3, "help": "Minimum number-label width. Empty lines are unnumbered. Logical-page escape sequences are treated as literal text."}}}, "entrypoint": "xstream.galaxy.NumberLines", "fixture": {"data": "a\n\nb\n", "expected": "001\ta\n   \n002\tb\n", "params": {"increment": 1, "start": 1, "style": "rz", "width": 3}}, "icon": {"color": "#5265ad", "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"}, "name": "galaxy_number_lines", "parameters": {"additionalProperties": false, "properties": {"increment": {"default": 1, "description": "Positive increment between numbered lines.", "maximum": 1000000, "minimum": 1, "type": "integer"}, "start": {"default": 1, "description": "First line number.", "maximum": 1000000000, "minimum": 0, "type": "integer"}, "style": {"default": "rn", "description": "Line-number alignment: ln left, rn right or rz zero-filled.", "enum": ["ln", "rn", "rz"], "maxLength": 4096, "type": "string"}, "width": {"default": 6, "description": "Minimum number-label width.", "maximum": 64, "minimum": 1, "type": "integer"}}, "required": [], "type": "object"}, "params": {"increment": 1, "start": 1, "style": "rz", "width": 3}, "scope": "Empty lines are unnumbered. Logical-page escape sequences are treated as literal text.", "upstream": {"path": "text_processing/text_processing/nl.xml", "repository": "https://github.com/bgruening/galaxytools"}, "version": "1.0"}