{"api_version":2,"name":"galaxy_interval_weighted_average","version":"1.0","role":"transform","type":"sdk","description":"Compute interval overlap-weighted averages from a reference stream.","icon":{"path":"M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"},"inputs":{"source":{"representations":["bytes"],"formats":[]},"reference":{"representations":["bytes"],"formats":[]}},"outputs":{"result":{"view":"bytes"}},"parameters":{"type":"object","properties":{"column":{"type":"integer","default":4,"minimum":4,"maximum":1024,"description":"One-based reference column containing numeric values."},"allow_zeros":{"type":"boolean","default":false,"description":"Include zero-valued reference intervals in the weights."}},"additionalProperties":false,"required":[]},"documentation":{"inputs":{"source":"UTF-8 bytes stream. BED3 source and tabular reference with BED3 coordinates and a numeric value. Uses half-open overlaps, including overlapping reference rows independently. Outputs four decimals or NA.","reference":"UTF-8 bytes stream. BED3 source and tabular reference with BED3 coordinates and a numeric value. Uses half-open overlaps, including overlapping reference rows independently. Outputs four decimals or NA."},"outputs":{"result":"Compute interval overlap-weighted averages from a reference stream. BED3 source and tabular reference with BED3 coordinates and a numeric value. Uses half-open overlaps, including overlapping reference rows independently. Outputs four decimals or NA."},"parameters":{"column":{"description":"One-based reference column containing numeric values.","help":"One-based reference column containing numeric values. BED3 source and tabular reference with BED3 coordinates and a numeric value. Uses half-open overlaps, including overlapping reference rows independently. Outputs four decimals or NA.","example":4},"allow_zeros":{"description":"Include zero-valued reference intervals in the weights.","help":"Include zero-valued reference intervals in the weights. BED3 source and tabular reference with BED3 coordinates and a numeric value. Uses half-open overlaps, including overlapping reference rows independently. Outputs four decimals or NA.","example":false}},"example_job":"name: Compute interval overlap-weighted averages from a reference stream.\nsteps:\n- id: read\n  operator: item_source@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/extended/interval_weighted_average.txt\n    view: bytes\n- id: read_reference\n  operator: item_source@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/extended/interval_weighted_average-reference.txt\n    view: bytes\n- id: process\n  operator: galaxy_interval_weighted_average@1.0\n  inputs:\n    source: read\n    reference: read_reference\n  params: {}\n- id: client_sink\n  operator: client_sink@1.0\n  inputs:\n    result: process\n"},"execution":{"executor":"jvm","entrypoint":"xstream.galaxy.IntervalWeightedAverage","config":{}},"runtime":{"image":"sha256:f3fd46d2feb94e722833c1ff0943aa2f182cfa3f615887d546e33de657465c44","archive":{"sha256":"d49afcf2f2b974922a2fd2d97abf722173b1360cc0be610ef231896ce0514b33","size":104540055,"filename":"operator-jvm-items-1.0.tar.gz"}},"source_public":true,"provenance":{"source_archive":{"sha256":"eba6061637f162ea4b4945878089832ef4d8df2229f30b1b62c2855d92a6580e","size":2176132,"filename":"galaxy_interval_weighted_average-sources.zip"},"source_repository":"https://github.com/galaxyproject/tools-devteam","source_revision":"ddbe2a1e6eded54877d786fbcfc18e594fb12932","license":"AFL-3.0 AND MIT","license_file":{"sha256":"b5c47c1fc99e3f0f24de342af06da7bbaf8f394f1b6be0295d0d2ebcf7e874cf","size":12526,"filename":"GALAXY-LICENSE.txt"},"build_instructions":"Compile every src/*.scala against the shared SDK using the jvm-items@1.0 Scala builder. Include resources/ in the thin JAR. No external dependencies. See extra-specs.json, README and upstream-extended/ for reviewed sources, explicit supported scope and test fixtures."},"artifact":{"sha256":"1b1e2a9981657912411fb3843a019d40a60599d95a40bc345f61234e2ff30ec0","size":855998,"filename":"operator.jar"},"categories":["Galaxy","Tabular data","Intervals"],"trust":{"score":4,"assessed_by":"administrator","reviewed_at_ms":1795069701128},"publication":{"author":"dacp-examples","submitted_at_ms":1795069648752,"approved_at_ms":1795069701128,"last_submitted_at_ms":1795069648752,"last_approved_at_ms":1795069701128},"download_count":4}