resources/META-INF/galaxy-operator.json
1{"description": "Trim whole text lines or one tab-separated column using one-based inclusive character positions.", "documentation": {"example_job": "name: Trim whole text lines or one tab-separated column using one-based inclusive\n character positions.\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_trim@1.0\n inputs:\n source: read\n params:\n column: 0\n start: 2\n end: 5\n ignore_prefixes: '>'\n fastq: false\noutputs:\n result: process\n", "inputs": {"source": "UTF-8 text bytes. Column tools use the selected delimiter, without CSV quote interpretation."}, "outputs": {"result": "Trim whole text lines or one tab-separated column using one-based inclusive character positions."}, "parameters": {"column": {"description": "Column to trim, or zero for the entire line.", "example": 0, "help": "Use a one-based tab-separated column number; zero trims the complete line. Missing columns fail."}, "end": {"description": "Last retained character position.", "example": 5, "help": "One-based inclusive end; zero keeps the rest of the value. A nonzero end must be at least start."}, "fastq": {"description": "Whether to preserve alternating FASTQ identifier lines.", "example": false, "help": "For four-line FASTQ, preserves physical lines 1 and 3 and trims sequence and quality lines. Wrapped FASTQ is not supported."}, "ignore_prefixes": {"description": "Leading characters whose lines remain unchanged.", "example": ">", "help": "A string of literal Unicode characters, for example >@+. Each character is a separate ignored prefix, not a regular expression."}, "start": {"description": "First retained character position.", "example": 2, "help": "One-based inclusive Unicode character position; one keeps the beginning."}}}, "entrypoint": "xstream.galaxy.Trim", "icon": {"color": "#5265ad", "path": "M4 4v16M20 4v16M7 8h10M7 16h10M9 5l-3 7 3 7m6-14 3 7-3 7"}, "name": "galaxy_trim", "parameters": {"additionalProperties": false, "properties": {"column": {"default": 0, "description": "Column to trim, or zero for the entire line.", "maximum": 65536, "minimum": 0, "type": "integer"}, "end": {"default": 0, "description": "Last retained character position.", "maximum": 1048576, "minimum": 0, "type": "integer"}, "fastq": {"default": false, "description": "Whether to preserve alternating FASTQ identifier lines.", "type": "boolean"}, "ignore_prefixes": {"default": "", "description": "Leading characters whose lines remain unchanged.", "maxLength": 4096, "type": "string"}, "start": {"default": 1, "description": "First retained character position.", "maximum": 1048576, "minimum": 1, "type": "integer"}}, "required": [], "type": "object"}, "params": {"column": 0, "end": 5, "fastq": false, "ignore_prefixes": ">", "start": 2}, "version": "1.0"}