{"api_version":2,"name":"galaxy_rolling_count","version":"1.0","role":"transform","type":"sdk","description":"Count present numeric values inside each rolling window.","icon":{"path":"M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"},"inputs":{"source":{"representations":["bytes"],"formats":[]}},"outputs":{"result":{"view":"bytes"}},"parameters":{"type":"object","properties":{"value_column":{"type":"integer","default":1,"minimum":1,"maximum":256,"description":"One-based numeric column to process."},"group_column":{"type":"integer","default":0,"minimum":0,"maximum":256,"description":"Optional one-based grouping column. Zero uses one window sequence."},"window":{"type":"integer","default":3,"minimum":2,"maximum":128,"description":"Number of rows per window."},"center":{"type":"boolean","default":false,"description":"Assign the result to the center row instead of the end of the window."}},"additionalProperties":false,"required":[]},"documentation":{"inputs":{"source":"One TSV bytes stream. Headerless UTF-8 TSV. Appends one value per row, with 12 significant digits. Windows stay within each group and results remain in input order. Incomplete or undefined windows emit NA. Empty fields and NA are treated as missing. Counts present values within a full row window."},"outputs":{"result":"TSV bytes. Headerless UTF-8 TSV. Appends one value per row, with 12 significant digits. Windows stay within each group and results remain in input order. Incomplete or undefined windows emit NA. Empty fields and NA are treated as missing. Counts present values within a full row window."},"parameters":{"value_column":{"description":"One-based numeric column to process.","help":"One-based numeric column to process.","example":1},"group_column":{"description":"Optional one-based grouping column. Zero uses one window sequence.","help":"Optional one-based grouping column. Zero uses one window sequence.","example":0},"window":{"description":"Number of rows per window.","help":"Number of rows per window.","example":3},"center":{"description":"Assign the result to the center row instead of the end of the window.","help":"Assign the result to the center row instead of the end of the window.","example":false}},"example_job":"name: Count present numeric values inside each rolling window.\nsteps:\n- id: read_source\n  operator: item_source@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/rolling_count-source.tsv\n    view: bytes\n- id: process\n  operator: galaxy_rolling_count@1.0\n  inputs:\n    source: read_source\n  params:\n    value_column: 1\n    group_column: 0\n    window: 3\n    center: false\n- id: client_sink\n  operator: client_sink@1.0\n  inputs:\n    result: process\n"},"execution":{"executor":"python","entrypoint":"galaxy_rolling_count","config":{}},"source_public":true,"runtime":{"image":"sha256:40db7fee594f1452790d1cc99c2e5429e187eb64633c716b8c6f903c47576975","archive":{"sha256":"e1844833e35390f2eaf9fc9ec7b67057ad0305ad713c0da6c8b055980a66946c","size":73825792,"filename":"python-arrow-2.0-runtime.tar"}},"provenance":{"source_archive":{"sha256":"692af5b488d090e92bacc5773513668e1bd58c999543babadbdfe6c2543c6564","size":18735,"filename":"galaxy_rolling_count-sources.zip"},"source_repository":"https://github.com/bgruening/galaxytools","source_revision":"cf3d3559b6102373ee65693e99e4ed928d459deb","license":"AFL-3.0 AND MIT","license_file":{"sha256":"0edf5da821de32631cf20d8cd0fe548f4b3425e4b20fc88e8f86927f6213f508","size":1116,"filename":"GALAXY-LICENSE.txt"},"build_instructions":"Compile src/*.py with the python-arrow@2.0 builder. Execute with the registered python-arrow@2.0 runtime. See upstream-manifest.json and fixtures.json for evidence."},"artifact":{"sha256":"aefd288532e8aec4e2315472ad090a3457be02b2358ad13cf010a007b93cd489","size":14739,"filename":"operator.zip"},"categories":["Galaxy","Statistics","Tabular data"],"trust":{"score":4,"assessed_by":"administrator","reviewed_at_ms":1795076043009},"publication":{"author":"dacp-examples","submitted_at_ms":1795076035976,"approved_at_ms":1795076043009,"last_submitted_at_ms":1795076035976,"last_approved_at_ms":1795076043009},"download_count":2}