annotate collapseTab.xml @ 12:2f4ea569f048

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