Source code

Download source archive ↓

resources/META-INF/galaxy-operator.json

1{"categories": ["Galaxy", "Genomics", "Alignments"], "description": "Count mapped and unmapped segments by reference.", "documentation": {"example_job": "name: Count mapped and unmapped segments by reference.\nsteps:\n- id: read\n  operator: read_item@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/extended/sam_reference_counts.txt\n    view: bytes\n- id: process\n  operator: galaxy_sam_reference_counts@1.0\n  inputs:\n    source: read\n  params: {}\noutputs:\n  result: process\n", "inputs": {"source": "UTF-8 bytes stream. Streaming full-scan equivalent of idxstats; counts records by mapped flag, retaining header reference order. 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 mapped and unmapped segments by reference. Streaming full-scan equivalent of idxstats; counts records by mapped flag, retaining header reference order. 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.SamReferenceCounts", "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": "chr1\t10\t1\t0\n*\t0\t0\t0\n", "params": {}}, "icon": {"color": "#5265ad", "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"}, "implementation": "AlignmentStreams", "name": "galaxy_sam_reference_counts", "parameters": {"additionalProperties": false, "properties": {}, "required": [], "type": "object"}, "params": {}, "scope": "Streaming full-scan equivalent of idxstats; counts records by mapped flag, retaining header reference order. 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_idxstats/samtools_idxstats.xml", "repository": "https://github.com/galaxyproject/tools-iuc"}, "version": "1.0"}