Source code

Download source archive ↓

resources/META-INF/galaxy-operator.json

1{"categories": ["Galaxy", "Tabular data"], "description": "Apply a numeric function to one tabular column.", "documentation": {"example_job": "name: Apply a numeric function to one tabular column.\nsteps:\n- id: read\n  operator: item_source@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/extended/table_compute.txt\n    view: bytes\n- id: process\n  operator: galaxy_table_compute@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. UTF-8 TSV with an optional first-row header. Replaces one column with six-decimal output. Only the six upstream unary functions are available. Rejects invalid domains and overflow."}, "outputs": {"result": "Apply a numeric function to one tabular column. UTF-8 TSV with an optional first-row header. Replaces one column with six-decimal output. Only the six upstream unary functions are available. Rejects invalid domains and overflow."}, "parameters": {"column": {"description": "One-based numeric column to replace.", "example": 2, "help": "One-based numeric column to replace. UTF-8 TSV with an optional first-row header. Replaces one column with six-decimal output. Only the six upstream unary functions are available. Rejects invalid domains and overflow."}, "function": {"description": "Unary numeric function.", "example": "sqrt", "help": "Unary numeric function. UTF-8 TSV with an optional first-row header. Replaces one column with six-decimal output. Only the six upstream unary functions are available. Rejects invalid domains and overflow."}, "header": {"description": "Pass the first row unchanged.", "example": true, "help": "Pass the first row unchanged. UTF-8 TSV with an optional first-row header. Replaces one column with six-decimal output. Only the six upstream unary functions are available. Rejects invalid domains and overflow."}}}, "entrypoint": "xstream.galaxy.ComputeTableColumn", "fixture": {"data": "site\tvalue\nnorth\t4\nsouth\t9\n", "expected": "site\tvalue\nnorth\t2.000000\nsouth\t3.000000\n", "params": {}}, "icon": {"path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"}, "implementation": "TabularUtilities", "inputs": {"source": {"formats": [], "representations": ["bytes"]}}, "name": "galaxy_table_compute", "parameters": {"additionalProperties": false, "properties": {"column": {"default": 2, "description": "One-based numeric column to replace.", "maximum": 1024, "minimum": 1, "type": "integer"}, "function": {"default": "sqrt", "description": "Unary numeric function.", "enum": ["log", "log10", "exp", "floor", "ceil", "sqrt"], "maxLength": 16, "type": "string"}, "header": {"default": true, "description": "Pass the first row unchanged.", "type": "boolean"}}, "required": [], "type": "object"}, "params": {}, "scope": "UTF-8 TSV with an optional first-row header. Replaces one column with six-decimal output. Only the six upstream unary functions are available. Rejects invalid domains and overflow.", "upstream": {"path": "tools/table_compute/table_compute.xml", "repository": "https://github.com/galaxyproject/tools-iuc"}, "version": "1.0"}