Mercurial > repos > xuebing > sharplabtool
comparison mytools/collapseTab.xml @ 9:87eb5c5ddfe9
Uploaded
author | xuebing |
---|---|
date | Fri, 09 Mar 2012 20:01:43 -0500 |
parents | f0dc65e7f6c0 |
children |
comparison
equal
deleted
inserted
replaced
8:361ec1c0479d | 9:87eb5c5ddfe9 |
---|---|
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> |