Source code

Download source archive ↓

resources/META-INF/galaxy-operator.json

1{"categories": ["Galaxy", "Text processing", "Tabular data"], "description": "Replace literal text within complete lines.", "documentation": {"example_job": "name: Replace literal text within complete lines.\nsteps:\n- id: read\n  operator: read_item@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/extended/replace_text_in_line.txt\n    view: bytes\n- id: process\n  operator: galaxy_replace_text_in_line@1.0\n  inputs:\n    source: read\n  params:\n    find: cat\n    replacement: dog\n    first_only: false\n    ignore_case: false\n    skip_header: false\noutputs:\n  result: process\n", "inputs": {"source": "UTF-8 bytes stream. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail."}, "outputs": {"result": "Replace literal text within complete lines. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail."}, "parameters": {"find": {"description": "Nonempty literal search text.", "example": "cat", "help": "Nonempty literal search text. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail."}, "first_only": {"description": "Replace only the first match per row or selected field.", "example": false, "help": "Replace only the first match per row or selected field. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail."}, "ignore_case": {"description": "Compare without case differences.", "example": false, "help": "Compare without case differences. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail."}, "replacement": {"description": "Literal replacement text.", "example": "dog", "help": "Literal replacement text. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail."}, "skip_header": {"description": "Keep the first input row unchanged.", "example": false, "help": "Keep the first input row unchanged. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail."}}}, "entrypoint": "xstream.galaxy.ReplaceTextInLine", "fixture": {"data": "cat\tcat\n", "expected": "dog\tdog\n", "params": {"find": "cat", "first_only": false, "ignore_case": false, "replacement": "dog", "skip_header": false}}, "icon": {"color": "#5265ad", "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"}, "name": "galaxy_replace_text_in_line", "parameters": {"additionalProperties": false, "properties": {"find": {"default": "old", "description": "Nonempty literal search text.", "maxLength": 4096, "type": "string"}, "first_only": {"default": false, "description": "Replace only the first match per row or selected field.", "type": "boolean"}, "ignore_case": {"default": false, "description": "Compare without case differences.", "type": "boolean"}, "replacement": {"default": "new", "description": "Literal replacement text.", "maxLength": 4096, "type": "string"}, "skip_header": {"default": false, "description": "Keep the first input row unchanged.", "type": "boolean"}}, "required": [], "type": "object"}, "params": {"find": "cat", "first_only": false, "ignore_case": false, "replacement": "dog", "skip_header": false}, "scope": "Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail.", "upstream": {"path": "text_processing/text_processing/replace_text_in_line.xml", "repository": "https://github.com/bgruening/galaxytools"}, "version": "1.0"}