{"api_version":2,"name":"galaxy_sam_flagstat","version":"1.0","description":"Count alignment flag categories with QC-pass/fail totals.","icon":{"path":"M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"},"inputs":{"source":{"representations":["bytes"],"formats":[]}},"parameters":{"type":"object","properties":{},"additionalProperties":false,"required":[]},"documentation":{"inputs":{"source":"UTF-8 bytes stream. Normalized TSV counts; no percentage formatting. Paired/read1/read2/proper-pair/singleton categories count primary alignments, matching samtools; mapped and duplicate totals include all records. UTF-8 SAM text only, no BAM/CRAM or indexed random access. Requires @SQ for mapped reads; validates flags, coordinates, CIGAR, sequence and quality. At most 100000 reference sequences."},"outputs":{"result":"Count alignment flag categories with QC-pass/fail totals. Normalized TSV counts; no percentage formatting. Paired/read1/read2/proper-pair/singleton categories count primary alignments, matching samtools; mapped and duplicate totals include all records. UTF-8 SAM text only, no BAM/CRAM or indexed random access. Requires @SQ for mapped reads; validates flags, coordinates, CIGAR, sequence and quality. At most 100000 reference sequences."},"parameters":{},"example_job":"name: Count alignment flag categories with QC-pass/fail totals.\nsteps:\n- id: read\n  operator: item_source@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/extended/sam_flagstat.txt\n    view: bytes\n- id: process\n  operator: galaxy_sam_flagstat@1.0\n  inputs:\n    source: read\n  params: {}\n- id: receive_result\n  operator: client_sink@1.0\n  inputs:\n    result: process\n"},"execution":{"executor":"jvm","entrypoint":"xstream.galaxy.SamFlagstat","config":{}},"runtime":{"image":"sha256:23732819bf6777f314efc0454034fb8509caac9dc81b84538e52104274cb4af3","archive":{"sha256":"c2292f636d53fb70c0de30cf95b589b9eebd1d60c805465281a6980ff2889288","size":104964639,"filename":"jvm-arrow-2.1.tar.gz"}},"source_public":true,"provenance":{"source_archive":{"sha256":"d85372d1e459bebfb78c52f22790ab44ca9ffe7cd0e1000eeb685062ca163c06","size":1909591,"filename":"galaxy_sam_flagstat-sources.zip"},"source_repository":"https://github.com/galaxyproject/tools-iuc","source_revision":"a9914e6c25a7aee16191a11c654ea25d72d0017c","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 runtime dependencies. See README, extra-specs.json, upstream manifests and dependency evidence for supported scopes, licenses and tests."},"artifact":{"sha256":"5d1b7da324e4d70c412675bfc5b0119872de633d9ca8ef264dddf81ee4777045","size":480639,"filename":"operator.jar"},"categories":["Galaxy","Genomics","Alignments"],"role":"transform","type":"sdk","outputs":{"result":{"view":"bytes"}},"trust":{"score":4,"assessed_by":"administrator","reviewed_at_ms":1794231711498},"publication":{"author":"dacp-examples","submitted_at_ms":1794231644728,"approved_at_ms":1794231711498,"last_submitted_at_ms":1794231644728,"last_approved_at_ms":1794231711498},"download_count":3}