annotate tab_collapse.xml @ 0:8c992303067a

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