{"api_version":2,"name":"galaxy_sam_to_interval","version":"1.0","description":"Convert mapped SAM alignments to zero-based half-open genomic intervals using reference-consuming CIGAR operations.","icon":{"path":"M3 6h18M3 18h18M6 3v6m12 6v6M6 12h12"},"inputs":{"source":{"representations":["bytes"],"formats":[]}},"parameters":{"type":"object","properties":{"print_all":{"type":"boolean","default":false,"description":"Whether to retain original SAM fields after interval coordinates."}},"required":[],"additionalProperties":false},"documentation":{"inputs":{"source":"UTF-8 SAM bytes, including optional @ headers. Alignments require at least 11 fields."},"outputs":{"result":"Convert mapped SAM alignments to zero-based half-open genomic intervals using reference-consuming CIGAR operations."},"parameters":{"print_all":{"description":"Whether to retain original SAM fields after interval coordinates.","help":"false emits chromosome, start, end, strand and read name. true appends the complete original SAM row after strand. CIGAR M/D/N/=/X consume reference bases; I/S/H/P do not.","example":false}},"example_job":"name: Convert mapped SAM alignments to zero-based half-open genomic intervals using\n  reference-consuming CIGAR operations.\nsteps:\n- id: read\n  operator: item_source@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/alignments.sam\n    view: bytes\n- id: process\n  operator: galaxy_sam_to_interval@1.0\n  inputs:\n    source: read\n  params:\n    print_all: false\n- id: receive_result\n  operator: client_sink@1.0\n  inputs:\n    result: process\n"},"execution":{"executor":"jvm","entrypoint":"xstream.galaxy.SamToInterval","config":{}},"runtime":{"image":"sha256:23732819bf6777f314efc0454034fb8509caac9dc81b84538e52104274cb4af3","archive":{"sha256":"c2292f636d53fb70c0de30cf95b589b9eebd1d60c805465281a6980ff2889288","size":104964639,"filename":"jvm-arrow-2.1.tar.gz"}},"source_public":true,"provenance":{"source_archive":{"sha256":"2f52ca663337b31c3a2367d02497b41505c8ddd09df6464c4604b22d98dd5bea","size":291986,"filename":"galaxy_sam_to_interval-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 and src/Alignments.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":"4f28f963e7fb08ab14081f1d5d64ddc51867be577e31cb8aa22233544d13d578","size":68962,"filename":"operator.jar"},"categories":["Galaxy","SAM","Bioinformatics"],"role":"transform","type":"sdk","outputs":{"result":{"view":"bytes"}},"trust":{"score":4,"assessed_by":"administrator","reviewed_at_ms":1794148498578},"publication":{"author":"dacp-examples","submitted_at_ms":1794148456715,"approved_at_ms":1794148498578,"last_submitted_at_ms":1794148456715,"last_approved_at_ms":1794148498578},"download_count":3}