{"api_version":2,"name":"galaxy_trim","version":"1.0","description":"Trim whole text lines or one tab-separated column using one-based inclusive character positions.","icon":{"path":"M4 4v16M20 4v16M7 8h10M7 16h10M9 5l-3 7 3 7m6-14 3 7-3 7"},"inputs":{"source":{"representations":["bytes"],"formats":[]}},"parameters":{"type":"object","properties":{"column":{"type":"integer","minimum":0,"maximum":65536,"default":0,"description":"Column to trim, or zero for the entire line."},"start":{"type":"integer","minimum":1,"maximum":1048576,"default":1,"description":"First retained character position."},"end":{"type":"integer","minimum":0,"maximum":1048576,"default":0,"description":"Last retained character position."},"ignore_prefixes":{"type":"string","maxLength":4096,"default":"","description":"Leading characters whose lines remain unchanged."},"fastq":{"type":"boolean","default":false,"description":"Whether to preserve alternating FASTQ identifier lines."}},"required":[],"additionalProperties":false},"documentation":{"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.","help":"Use a one-based tab-separated column number; zero trims the complete line. Missing columns fail.","example":0},"start":{"description":"First retained character position.","help":"One-based inclusive Unicode character position; one keeps the beginning.","example":2},"end":{"description":"Last retained character position.","help":"One-based inclusive end; zero keeps the rest of the value. A nonzero end must be at least start.","example":5},"ignore_prefixes":{"description":"Leading characters whose lines remain unchanged.","help":"A string of literal Unicode characters, for example >@+. Each character is a separate ignored prefix, not a regular expression.","example":">"},"fastq":{"description":"Whether to preserve alternating FASTQ identifier lines.","help":"For four-line FASTQ, preserves physical lines 1 and 3 and trims sequence and quality lines. Wrapped FASTQ is not supported.","example":false}},"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: item_source@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\n- id: receive_result\n  operator: client_sink@1.0\n  inputs:\n    result: process\n"},"execution":{"executor":"jvm","entrypoint":"xstream.galaxy.Trim","config":{}},"runtime":{"image":"sha256:23732819bf6777f314efc0454034fb8509caac9dc81b84538e52104274cb4af3","archive":{"sha256":"c2292f636d53fb70c0de30cf95b589b9eebd1d60c805465281a6980ff2889288","size":104964639,"filename":"jvm-arrow-2.1.tar.gz"}},"source_public":true,"provenance":{"source_archive":{"sha256":"265ac98bf516e71eff8900b0dddded41b5a148e9a37addb7fa780213bfb9638b","size":477654,"filename":"galaxy_trim-sources.zip"},"source_repository":"https://github.com/galaxyproject/tools-devteam","source_revision":"ddbe2a1e6eded54877d786fbcfc18e594fb12932","license":"AFL-3.0 AND MIT","license_file":{"sha256":"b5c47c1fc99e3f0f24de342af06da7bbaf8f394f1b6be0295d0d2ebcf7e874cf","size":12526,"filename":"GALAXY-LICENSE.txt"},"build_instructions":"Scala adaptation sources are src/Galaxy.scala, src/Sequences.scala, src/Alignments.scala and src/GenomicText.scala. Compile against the shared SDK with the registered jvm-arrow@2.1 Scala builder; include resources/ in the thin JAR. No external libraries beyond the shared runtime. README files document upstream behavior and deliberate fixes; upstream/ retains original tools and fixtures."},"artifact":{"sha256":"ce9807dc8d8b93c28256d3fdfccecb67e7bee84031b55ef466cbb5f0bcb049db","size":89728,"filename":"operator.jar"},"categories":["Galaxy","Text processing","Tabular data"],"role":"transform","type":"sdk","outputs":{"result":{"view":"bytes"}},"trust":{"score":4,"assessed_by":"administrator","reviewed_at_ms":1794184057592},"publication":{"author":"dacp-examples","submitted_at_ms":1794184029152,"approved_at_ms":1794184057592,"last_submitted_at_ms":1794184029152,"last_approved_at_ms":1794184057592},"download_count":3}