resources/META-INF/galaxy-operator.json
1{"categories": ["Galaxy", "Genomics", "Alignments"], "description": "Sort SAM records by coordinates or query name.", "documentation": {"example_job": "name: Sort SAM records by coordinates or query name.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/sam_sort.txt\n view: bytes\n- id: process\n operator: galaxy_sam_sort@1.0\n inputs:\n source: read\n params: {}\noutputs:\n result: process\n", "inputs": {"source": "UTF-8 bytes stream. Stable bounded in-memory sort, at most 100000 records and 8 MiB characters; query names use lexical, not natural numeric, 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": "Sort SAM records by coordinates or query name. Stable bounded in-memory sort, at most 100000 records and 8 MiB characters; query names use lexical, not natural numeric, 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": {"order": {"description": "Coordinate (header reference order) or lexical query-name order.", "example": "coordinate", "help": "Coordinate (header reference order) or lexical query-name order. Stable bounded in-memory sort, at most 100000 records and 8 MiB characters; query names use lexical, not natural numeric, 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."}}}, "entrypoint": "xstream.galaxy.SamSort", "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": "@HD\tVN:1.6\tSO:coordinate\n@SQ\tSN:chr1\tLN:10\nr1\t0\tchr1\t2\t60\t3M\t*\t0\t0\tACG\tIII\n", "params": {}}, "icon": {"color": "#5265ad", "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"}, "implementation": "AlignmentStreams", "name": "galaxy_sam_sort", "parameters": {"additionalProperties": false, "properties": {"order": {"default": "coordinate", "description": "Coordinate (header reference order) or lexical query-name order.", "enum": ["coordinate", "queryname"], "type": "string"}}, "required": [], "type": "object"}, "params": {}, "scope": "Stable bounded in-memory sort, at most 100000 records and 8 MiB characters; query names use lexical, not natural numeric, 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_sort/samtools_sort.xml", "repository": "https://github.com/galaxyproject/tools-iuc"}, "version": "1.0"}