{"api_version":2,"name":"galaxy_sam_filter_flags","version":"1.0","description":"Select SAM alignments by required and excluded bit masks; omit headers and comments.","icon":{"path":"M3 4h18l-7 8v7l-4 2v-9zM16 15h5m-5 4h5"},"inputs":{"source":{"representations":["bytes"],"formats":[]}},"parameters":{"type":"object","properties":{"require_flags":{"type":"integer","minimum":0,"maximum":65535,"default":0,"description":"SAM flags that must all be set."},"exclude_flags":{"type":"integer","minimum":0,"maximum":65535,"default":0,"description":"SAM flags that must all be unset."}},"required":[],"additionalProperties":false},"documentation":{"inputs":{"source":"UTF-8 SAM bytes, including optional @ headers. Alignments require at least 11 fields."},"outputs":{"result":"Select SAM alignments by required and excluded bit masks; omit headers and comments."},"parameters":{"require_flags":{"description":"SAM flags that must all be set.","help":"Integer bit mask, for example 2 for properly paired reads. Must not overlap exclude_flags.","example":2},"exclude_flags":{"description":"SAM flags that must all be unset.","help":"Integer bit mask, for example 4 for unmapped reads or 1024 for duplicates. SAM flags are 16-bit integers.","example":4}},"example_job":"name: Select SAM alignments by required and excluded bit masks; omit headers and comments.\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_filter_flags@1.0\n  inputs:\n    source: read\n  params:\n    require_flags: 2\n    exclude_flags: 4\n- id: receive_result\n  operator: client_sink@1.0\n  inputs:\n    result: process\n"},"execution":{"executor":"jvm","entrypoint":"xstream.galaxy.SamFilterFlags","config":{}},"runtime":{"image":"sha256:23732819bf6777f314efc0454034fb8509caac9dc81b84538e52104274cb4af3","archive":{"sha256":"c2292f636d53fb70c0de30cf95b589b9eebd1d60c805465281a6980ff2889288","size":104964639,"filename":"jvm-arrow-2.1.tar.gz"}},"source_public":true,"provenance":{"source_archive":{"sha256":"df1771f965f2b06da8f84e86e8ea6653667cdd4f2b581b01ea79c011f50a2db2","size":291978,"filename":"galaxy_sam_filter_flags-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":"8dd2bdb27c47e1cca3c7c0e39dd779133c46cb5ac958995db2bee2a093b29830","size":68954,"filename":"operator.jar"},"categories":["Galaxy","SAM","Bioinformatics"],"role":"transform","type":"sdk","outputs":{"result":{"view":"bytes"}},"trust":{"score":4,"assessed_by":"administrator","reviewed_at_ms":1794148456220},"publication":{"author":"dacp-examples","submitted_at_ms":1794148424397,"approved_at_ms":1794148456220,"last_submitted_at_ms":1794148424397,"last_approved_at_ms":1794148456220},"download_count":2}