comparison resample.xml @ 2:014a21767ac4 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/circos commit 076837a2e9c2b6ececcea4aa286ea7a412387a96"
author iuc
date Tue, 17 Sep 2019 16:54:57 -0400
parents
children df7356989ac1
comparison
equal deleted inserted replaced
1:ae9994cf526f 2:014a21767ac4
1 <?xml version="1.0"?>
2 <tool id="circos_resample" name="Circos: Resample 1/2D data" version="@WRAPPER_VERSION@">
3 <description>reduce numbers of points in a dataset before plotting</description>
4 <macros>
5 <import>macros.xml</import>
6 </macros>
7 <expand macro="requirements" />
8 <command detect_errors="exit_code"><![CDATA[
9 resample
10 -bin '$bins'
11 $method
12 < '$input' | sed 's/ /\t/g' > '$output'
13 ]]></command>
14 <inputs>
15 <param name="input" type="data" format="tabular" label="1D/2D Data track"/>
16 <param name="bins" type="integer" value="1000000" min="1" label="Bin size" />
17
18 <param name="method" type="select" label="Summarization method">
19 <option value="-avg">[2D] Average</option>
20 <option value="-min">[2D] Minimum value in bin</option>
21 <option value="-max">[2D] Maximum value in bin</option>
22 <option value="-sum">[2D] Sum of values in bin</option>
23 <option value="-count">[1D] Count bins</option>
24 </param>
25 </inputs>
26 <outputs>
27 <data name="output" format="tabular" />
28 </outputs>
29 <tests>
30 <test>
31 <param name="input" value="resample/1.tab" ftype="tabular" />
32 <param name="bins" value="10000000" />
33 <output name="output" file="resample/1.out" ftype="tabular" />
34 </test>
35 </tests>
36 <help><![CDATA[
37 From the script's documentation:
38
39 The data resolution in a figure is limited by the output print, or screen,
40 resolution and our own visual acuity.
41
42 To read more about how these limits affect figure design, see
43 `this page <http://mkweb.bcgsc.ca/images/resolution/visual-acuity-sequence-visualization.pdf>`__
44
45 This script is designed to convert very high-resolution data tracks to
46 low-resolution equivalents which are easier to interpret and faster to
47 draw.
48
49 ]]></help>
50 <expand macro="citations" />
51 </tool>