Mercurial > repos > iuc > datamash_ops
comparison datamash-ops.xml @ 4:746e8e4bf929 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 384736acb5d2ae31d796c53031fad0e5da5424e3
author | iuc |
---|---|
date | Fri, 01 Jul 2022 16:18:07 +0000 |
parents | 419027d822d6 |
children | 4c07ddedc198 |
comparison
equal
deleted
inserted
replaced
3:419027d822d6 | 4:746e8e4bf929 |
---|---|
11 $header_in | 11 $header_in |
12 $header_out | 12 $header_out |
13 $need_sort | 13 $need_sort |
14 $print_full_line | 14 $print_full_line |
15 $ignore_case | 15 $ignore_case |
16 $narm | |
16 @FIELD_SEPARATOR@ | 17 @FIELD_SEPARATOR@ |
17 #if str($grouping) != '' | 18 #if str($grouping) != '' |
18 --group '$grouping' | 19 --group '$grouping' |
19 #end if | 20 #end if |
20 #for $oper in $operations | 21 #for $oper in $operations |
39 <param argument="--sort" name="need_sort" type="boolean" truevalue="--sort" falsevalue="" label="Sort input" help="Input file must be sorted by the grouping columns. Enable this option to automatically sort the input."/> | 40 <param argument="--sort" name="need_sort" type="boolean" truevalue="--sort" falsevalue="" label="Sort input" help="Input file must be sorted by the grouping columns. Enable this option to automatically sort the input."/> |
40 <param argument="--header-in" type="boolean" truevalue="--header-in" falsevalue="" label="Input file has a header line" /> | 41 <param argument="--header-in" type="boolean" truevalue="--header-in" falsevalue="" label="Input file has a header line" /> |
41 <param argument="--header-out" type="boolean" truevalue="--header-out" falsevalue="" label="Print header line" /> | 42 <param argument="--header-out" type="boolean" truevalue="--header-out" falsevalue="" label="Print header line" /> |
42 <param argument="--full" name="print_full_line" type="boolean" truevalue="--full" falsevalue="" label="Print all fields from input file" /> | 43 <param argument="--full" name="print_full_line" type="boolean" truevalue="--full" falsevalue="" label="Print all fields from input file" /> |
43 <param argument="--ignore-case" type="boolean" truevalue="--ignore-case" falsevalue="" label="Ignore case when grouping" /> | 44 <param argument="--ignore-case" type="boolean" truevalue="--ignore-case" falsevalue="" label="Ignore case when grouping" /> |
45 <param argument="--narm" type="boolean" truevalue="--narm" falsevalue="" label="Skip NA or NaN values" /> | |
44 <repeat name="operations" default="1" min="1" title="Operation to perform on each group"> | 46 <repeat name="operations" default="1" min="1" title="Operation to perform on each group"> |
45 <param name="op_name" type="select" label="Type"> | 47 <param name="op_name" type="select" label="Type"> |
46 <option value="count">count</option> | 48 <option value="count">count</option> |
47 <option value="sum">sum</option> | 49 <option value="sum">sum</option> |
48 <option value="min">minimum</option> | 50 <option value="min">minimum</option> |
121 <has_n_lines n="7"/> | 123 <has_n_lines n="7"/> |
122 <has_line line="Arts,1310"/> | 124 <has_line line="Arts,1310"/> |
123 </assert_contents> | 125 </assert_contents> |
124 </output> | 126 </output> |
125 </test> | 127 </test> |
128 <test><!-- test with a file containing NA and NaN values and the -narm parameter " --> | |
129 <param name="in_file" value="na_values_input.tsv" ftype="tabular" /> | |
130 <param name="grouping" value="2" /> | |
131 <param name="header_in" value="true" /> | |
132 <param name="print_full_line" value="false" /> | |
133 <param name="need_sort" value="true" /> | |
134 <param name="narm" value="true" /> | |
135 <repeat name="operations"> | |
136 <param name="op_name" value="mean" /> | |
137 <param name="op_column" value="3" /> | |
138 </repeat> | |
139 <output name="out_file" ftype="tabular"> | |
140 <assert_contents> | |
141 <has_n_lines n="2"/> | |
142 <has_line_matching expression="DE\t173.5"/> | |
143 <has_line_matching expression="NL\t177.5"/> | |
144 </assert_contents> | |
145 </output> | |
146 </test> | |
126 </tests> | 147 </tests> |
127 <help> | 148 <help> |
128 <![CDATA[ | 149 <![CDATA[ |
129 @HELP_HEADER@ | 150 @HELP_HEADER@ |
130 | 151 |