annotate mytools/collapseTab.xml @ 9:87eb5c5ddfe9

Uploaded
author xuebing
date Fri, 09 Mar 2012 20:01:43 -0500
parents f0dc65e7f6c0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
f0dc65e7f6c0 Uploaded
xuebing
parents:
diff changeset
1 <tool id="collapseTab" name="collapse tabular">
f0dc65e7f6c0 Uploaded
xuebing
parents:
diff changeset
2 <description>files</description>
f0dc65e7f6c0 Uploaded
xuebing
parents:
diff changeset
3 <command interpreter="python">collapseTab.py $input $key $max > $outfile </command>
f0dc65e7f6c0 Uploaded
xuebing
parents:
diff changeset
4 <inputs>
f0dc65e7f6c0 Uploaded
xuebing
parents:
diff changeset
5 <param name="input" format="tabular" type="data" label="Original file"/>
f0dc65e7f6c0 Uploaded
xuebing
parents:
diff changeset
6 <param name="key" size="10" type="text" value="1,2,3" label="key column(s)" help="columns to define unique rows" />
f0dc65e7f6c0 Uploaded
xuebing
parents:
diff changeset
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" />
f0dc65e7f6c0 Uploaded
xuebing
parents:
diff changeset
8 </inputs>
f0dc65e7f6c0 Uploaded
xuebing
parents:
diff changeset
9 <outputs>
f0dc65e7f6c0 Uploaded
xuebing
parents:
diff changeset
10 <data format="input" name="outfile" />
f0dc65e7f6c0 Uploaded
xuebing
parents:
diff changeset
11 </outputs>
f0dc65e7f6c0 Uploaded
xuebing
parents:
diff changeset
12 <help>
f0dc65e7f6c0 Uploaded
xuebing
parents:
diff changeset
13
f0dc65e7f6c0 Uploaded
xuebing
parents:
diff changeset
14 **What it does**
f0dc65e7f6c0 Uploaded
xuebing
parents:
diff changeset
15
f0dc65e7f6c0 Uploaded
xuebing
parents:
diff changeset
16 Similar to 'Group' but returns the entire line.
f0dc65e7f6c0 Uploaded
xuebing
parents:
diff changeset
17
f0dc65e7f6c0 Uploaded
xuebing
parents:
diff changeset
18 </help>
f0dc65e7f6c0 Uploaded
xuebing
parents:
diff changeset
19 </tool>