{"api_version":2,"name":"galaxy_number_lines","version":"1.0","description":"Number nonempty text lines with configurable starting number, increment and alignment.","icon":{"path":"M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"},"inputs":{"source":{"representations":["bytes"],"formats":[]}},"parameters":{"type":"object","properties":{"start":{"type":"integer","default":1,"minimum":0,"maximum":1000000000,"description":"First line number."},"increment":{"type":"integer","default":1,"minimum":1,"maximum":1000000,"description":"Positive increment between numbered lines."},"width":{"type":"integer","default":6,"minimum":1,"maximum":64,"description":"Minimum number-label width."},"style":{"type":"string","default":"rn","maxLength":4096,"enum":["ln","rn","rz"],"description":"Line-number alignment: ln left, rn right or rz zero-filled."}},"additionalProperties":false,"required":[]},"documentation":{"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":{"start":{"description":"First line number.","help":"First line number. Empty lines are unnumbered. Logical-page escape sequences are treated as literal text.","example":1},"increment":{"description":"Positive increment between numbered lines.","help":"Positive increment between numbered lines. Empty lines are unnumbered. Logical-page escape sequences are treated as literal text.","example":1},"width":{"description":"Minimum number-label width.","help":"Minimum number-label width. Empty lines are unnumbered. Logical-page escape sequences are treated as literal text.","example":3},"style":{"description":"Line-number alignment: ln left, rn right or rz zero-filled.","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.","example":"rz"}},"example_job":"name: Number nonempty text lines with configurable starting number, increment and\n  alignment.\nsteps:\n- id: read\n  operator: item_source@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\n- id: receive_result\n  operator: client_sink@1.0\n  inputs:\n    result: process\n"},"execution":{"executor":"jvm","entrypoint":"xstream.galaxy.NumberLines","config":{}},"runtime":{"image":"sha256:23732819bf6777f314efc0454034fb8509caac9dc81b84538e52104274cb4af3","archive":{"sha256":"c2292f636d53fb70c0de30cf95b589b9eebd1d60c805465281a6980ff2889288","size":104964639,"filename":"jvm-arrow-2.1.tar.gz"}},"source_public":true,"provenance":{"source_archive":{"sha256":"16c3eac2ec87ba76a7787bbfa6d814bb66fcf0932db9fae5cb524b33e5a0c767","size":1100289,"filename":"galaxy_number_lines-sources.zip"},"source_repository":"https://github.com/bgruening/galaxytools","source_revision":"cf3d3559b6102373ee65693e99e4ed928d459deb","license":"AFL-3.0 AND MIT","license_file":{"sha256":"b5c47c1fc99e3f0f24de342af06da7bbaf8f394f1b6be0295d0d2ebcf7e874cf","size":12526,"filename":"GALAXY-LICENSE.txt"},"build_instructions":"Compile every src/*.scala against the shared SDK using the jvm-arrow@2.1 Scala builder. Include resources/ in the thin JAR. No external dependencies. See extra-specs.json, README and upstream-extended/ for reviewed sources, explicit supported scope and test fixtures."},"artifact":{"sha256":"80113390545627953d96c5f86dc1c33d95e7e477031c13eda6358ecbdadce2ba","size":213599,"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":1794188839153},"publication":{"author":"dacp-examples","submitted_at_ms":1794188807931,"approved_at_ms":1794188839153,"last_submitted_at_ms":1794188807931,"last_approved_at_ms":1794188839153},"download_count":3}