0
+ − 1 <tool id="tab_collapse" name="tab_collapse">
+ − 2 <description>collapse tabular files</description>
+ − 3 <command interpreter="python">tab_collapse.py $input $key $max > $outfile </command>
+ − 4 <inputs>
+ − 5 <param name="input" format="tabular" type="data" label="Original file"/>
+ − 6 <param name="key" size="10" type="text" value="1,2,3" label="key column(s)" help="columns to define unique rows" />
+ − 7 <param name="max" size="10" type="text" value="5" label="for lines with identical key, keep the one with max value in this column" help="need to be numeric" />
+ − 8 </inputs>
+ − 9 <outputs>
+ − 10 <data format="input" name="outfile" />
+ − 11 </outputs>
+ − 12 <help>
+ − 13
+ − 14 **What it does**
+ − 15
+ − 16 Similar to 'Group' but returns the entire line.
+ − 17
+ − 18 </help>
+ − 19 </tool>