Source code

Download source archive ↓

resources/META-INF/galaxy-operator.json

1{"categories": ["Galaxy", "Tabular data", "Visualization"], "description": "Render tabular category counts as an SVG stacked bar chart.", "documentation": {"example_job": "name: Render tabular category counts as an SVG stacked bar chart.\nsteps:\n- id: read\n  operator: item_source@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/extended/draw_stacked_barplot.txt\n    view: bytes\n- id: process\n  operator: galaxy_draw_stacked_barplot@1.0\n  inputs:\n    source: read\n  params: {}\n- id: client_sink\n  operator: client_sink@1.0\n  inputs:\n    result: process\n", "inputs": {"source": "UTF-8 bytes stream. Tab-separated header and category rows. Up to 24 criteria and 24 categories, with nonnegative values. Emits a self-contained SVG instead of the upstream PDF."}, "outputs": {"result": "Render tabular category counts as an SVG stacked bar chart. Tab-separated header and category rows. Up to 24 criteria and 24 categories, with nonnegative values. Emits a self-contained SVG instead of the upstream PDF."}, "parameters": {}}, "entrypoint": "xstream.galaxy.DrawStackedBarplot", "fixture": {"data": "category\tmorning\nA&B\t2\n", "expected": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 220 340\" role=\"img\">\n<title>Stacked counts by criterion</title>\n<rect x=\"42\" y=\"26.000000\" width=\"66\" height=\"230.000000\" fill=\"#2563eb\"><title>A&amp;B: 2.0</title></rect>\n<text x=\"42\" y=\"276\">morning</text>\n<text x=\"42\" y=\"310\" fill=\"#2563eb\">A&amp;B</text>\n</svg>\n", "params": {}}, "icon": {"path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"}, "implementation": "TabularUtilities", "inputs": {"source": {"formats": [], "representations": ["bytes"]}}, "name": "galaxy_draw_stacked_barplot", "parameters": {"additionalProperties": false, "properties": {}, "required": [], "type": "object"}, "params": {}, "scope": "Tab-separated header and category rows. Up to 24 criteria and 24 categories, with nonnegative values. Emits a self-contained SVG instead of the upstream PDF.", "upstream": {"path": "tools/draw_stacked_barplots/draw_stacked_barplots.xml", "repository": "https://github.com/galaxyproject/tools-devteam"}, "version": "1.0"}