Source code

Download source archive ↓

resources/META-INF/galaxy-operator.json

1{"categories": ["Galaxy", "Genomics", "Alignments"], "description": "Count alignment flag categories with QC-pass/fail totals.", "documentation": {"example_job": "name: Count alignment flag categories with QC-pass/fail totals.\nsteps:\n- id: read\n  operator: read_item@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: {}\noutputs:\n  result: process\n", "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": {}}, "entrypoint": "xstream.galaxy.SamFlagstat", "fixture": {"data": "@HD\tVN:1.6\tSO:unsorted\n@SQ\tSN:chr1\tLN:10\nr1\t0\tchr1\t2\t60\t3M\t*\t0\t0\tACG\tIII\n", "expected": "category\tqc_pass\tqc_fail\ntotal\t1\t0\nprimary\t1\t0\nsecondary\t0\t0\nsupplementary\t0\t0\nduplicates\t0\t0\nmapped\t1\t0\npaired\t0\t0\nread1\t0\t0\nread2\t0\t0\nproper_pair\t0\t0\nsingletons\t0\t0\n", "params": {}}, "icon": {"color": "#5265ad", "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"}, "implementation": "AlignmentStreams", "name": "galaxy_sam_flagstat", "parameters": {"additionalProperties": false, "properties": {}, "required": [], "type": "object"}, "params": {}, "scope": "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.", "upstream": {"path": "tool_collections/samtools/samtools_flagstat/samtools_flagstat.xml", "repository": "https://github.com/galaxyproject/tools-iuc"}, "version": "1.0"}