comparison tools/mytools/collapseTab.xml @ 0:9071e359b9a3

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:37:19 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:9071e359b9a3
1 <tool id="collapseTab" name="collapse tabular">
2 <description>files</description>
3 <command interpreter="python">collapseTab.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>