resources/META-INF/galaxy-operator.json
1{"categories": ["Galaxy", "Text processing", "Tabular data"], "description": "Replace literal text within one tab-separated field.", "documentation": {"example_job": "name: Replace literal text within one tab-separated field.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/replace_text_in_column.txt\n view: bytes\n- id: process\n operator: galaxy_replace_text_in_column@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\n column: 1\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 one tab-separated field. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail."}, "parameters": {"column": {"description": "One-based selected field, or zero for a whole-line key where allowed.", "example": 1, "help": "One-based selected field, or zero for a whole-line key where allowed. Literal matching only: no regular expressions, shell commands, sed programs or replacement backreferences. Case-insensitive matching is locale-independent. Missing selected columns fail."}, "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.ReplaceTextInColumn", "fixture": {"data": "cat\tcat\n", "expected": "dog\tcat\n", "params": {"column": 1, "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_column", "parameters": {"additionalProperties": false, "properties": {"column": {"default": 1, "description": "One-based selected field, or zero for a whole-line key where allowed.", "maximum": 65536, "minimum": 1, "type": "integer"}, "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": {"column": 1, "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_column.xml", "repository": "https://github.com/bgruening/galaxytools"}, "version": "1.0"}