annotate tools/filters/commWrapper.xml @ 1:cdcb0ce84a1b

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:45:15 -0500
parents 9071e359b9a3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
1 <tool id="Comm1" name="Find Similarities and Differences">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description>between two datasets</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 <command interpreter="perl">commWrapper.pl $input1 $input2 $mode $out_file1</command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 <param format="tabular" name="input1" type="data" label="Compare Dataset1"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 <param format="tabular" name="input2" type="data" label="with Dataset2"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 <param name="mode" type="select" label="And find">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 <option value="-23">Lines unique to Dataset1</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 <option value="-12">Lines shared between Dataset1 and Dataset2</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 <data format="input" name="out_file1" metadata_source="input1" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 This tool is based on UNIX shell command comm. It compares two datasets and returns similarities or differences. For example, if you have two datasets::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 a 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 b 2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 c 3
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 and::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 a 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25 f 6
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 h 8
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 Using this tool with **Lines unique to Dataset1** option will return::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 b 2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31 c 3
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33 If you use **Lines shared between Dataset1 and Dataset2** option output will look like this::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35 a 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38 </tool>