Mercurial > repos > xuebing > sharplabtool
comparison collapseTab.xml @ 11:b7f1d9f8f3bc
Uploaded
author | xuebing |
---|---|
date | Sat, 10 Mar 2012 07:59:27 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
10:1558594a3c2e | 11:b7f1d9f8f3bc |
---|---|
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> |