comparison pandas_pivot_table.xml @ 2:6f05390deffa draft

"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/pandas_pivot_table/ commit 1ca7433aaa606c636f796c75b6cfd8a080e2d5bc-dirty"
author jjohnson
date Wed, 16 Dec 2020 17:44:58 +0000
parents 621144f8dbe9
children 4b65133e0722
comparison
equal deleted inserted replaced
1:c02f59711eb6 2:6f05390deffa
18 #end if 18 #end if
19 --index '$pvt_index' 19 --index '$pvt_index'
20 --columns '$pvt_columns' 20 --columns '$pvt_columns'
21 --values '$pvt_values' 21 --values '$pvt_values'
22 --aggfunc='$aggfunc' 22 --aggfunc='$aggfunc'
23 #if $fill_value
24 --fill_value '$fill_value'
25 #end if
26 #if $float_format
27 --float_format '$float_format'
28 #end if
23 --input '$input' 29 --input '$input'
24 --output '$output' 30 --output '$output'
25 ]]></command> 31 ]]></command>
26 <inputs> 32 <inputs>
27 <param name="input" type="data" format="tabular" label="Tabular table for pivot transformation"/> 33 <param name="input" type="data" format="tabular" label="Tabular table for pivot transformation"/>
56 <param name="aggfunc" type="text" value="" label="Pivot table aggregate function"> 62 <param name="aggfunc" type="text" value="" label="Pivot table aggregate function">
57 <help><![CDATA[A valid JSON string, e.g.: 63 <help><![CDATA[A valid JSON string, e.g.:
58 <ul> 64 <ul>
59 <li>A single function applied to each <i>value</i> column: <b>"min"</b></li> 65 <li>A single function applied to each <i>value</i> column: <b>"min"</b></li>
60 <li>An array of functions applied to each <i>value</i> column: <b>["min", "max", "mean", "std"]</b></li> 66 <li>An array of functions applied to each <i>value</i> column: <b>["min", "max", "mean", "std"]</b></li>
61 <li>A dictionary of <i>value column : functions</i>: <b>{"A" : "sum", "B" : ["min", "max"]}</b></li> 67 <li>A dictionary of <i>value column : function(s)</i>: <b>{"A" : "sum", "B" : ["min", "max"]}</b></li>
62 </ul> 68 </ul>
63 ]]></help> 69 ]]></help>
70 <validator type="regex" message="Do not forget the double quotes">.*".+".*</validator>
64 <sanitizer> 71 <sanitizer>
65 <valid initial="string.printable"> 72 <valid initial="string.printable">
66 <remove value="&apos;"/> 73 <remove value="&apos;"/>
67 </valid> 74 </valid>
68 <mapping initial="none"> 75 <mapping initial="none">
69 <add source="&apos;" target="__sq__"/> 76 <add source="&apos;" target="__sq__"/>
70 </mapping> 77 </mapping>
78 </sanitizer>
79 </param>
80 <param name="fill_value" type="text" value="" optional="true" label="Fill value (optional)"
81 help="Value to replace missing values with (in the resulting pivot table, after aggregation) default is an empty field"/>
82 <param name="float_format" type="text" value="" optional="true" label="Output floating point format (optional)">
83 <help>Default is six decimal places: %0.6f</help>
84 <validator type="regex" message="">^%\d+.\d+[fFeEgGn]$</validator>
85 <sanitizer>
86 <valid initial="string.digits">
87 <add value="%" />
88 <add value="." />
89 <add value="f" />
90 <add value="e" />
91 <add value="g" />
92 <add value="F" />
93 <add value="E" />
94 <add value="G" />
95 <add value="n" />
96 </valid>
71 </sanitizer> 97 </sanitizer>
72 </param> 98 </param>
73 </inputs> 99 </inputs>
74 <outputs> 100 <outputs>
75 <data name="output" format="tabular"/> 101 <data name="output" format="tabular"/>