view stack-histogram.xml @ 8:e6cbe3190642 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/circos commit cc96dd4a8aef7d0b6d3057024af0344ab8a9410f"
author iuc
date Fri, 12 Jun 2020 10:39:58 -0400
parents 740057a5126d
children df7356989ac1
line wrap: on
line source

<?xml version="1.0"?>
<tool id="circos_wiggle_to_stacked" name="Circos: Stack bigWigs as Histogram" version="@WRAPPER_VERSION@">
    <description>reformats for use in Circos stacked histogram plots</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements">
    </expand>
    <command detect_errors="exit_code"><![CDATA[
python
    '$__tool_directory__/stack-histogram.py'
    #for i in $input
        '$i'
    #end for
    > '$output'
    ]]></command>
    <inputs>
        <param name="input" type="data" format="bigwig" label="BigWig files" multiple="True" help="These MUST have identical chromosomes and intervals, within their datasets. This tool is incredibly, intentionally naïve, and will crash if there are missing ranges in some bigwig files. This feels like a reasonable assumption to make (simplifies processing) at the expense of theoretical correctness, given that when you are stacking histograms they're probably coming from the same upstream pipeline with the same settings (i.e. step/width/etc.)"/>
    </inputs>
    <outputs>
        <data name="output" format="tabular" />
    </outputs>
    <tests>
        <test>
            <param name="input" value="scatter/1.bw,scatter/1.bw,scatter/1.bw" ftype="bigwig" />
            <output name="output" file="scatter/1.multi.out" ftype="tabular" />
        </test>
    </tests>
    <help><![CDATA[
Converts standard bigWig files into a format appropriate for Circos stacked histogram plots

If you need to process bedgraph, please convert those to bigwig first.
    ]]></help>
    <expand macro="citations" />
</tool>