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

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