1 | <tool id="Comm1" name="Find Similarities and Differences">
|
---|
2 | <description>between two queries</description>
|
---|
3 | <command interpreter="perl">commWrapper.pl $input1 $input2 $mode $out_file1</command>
|
---|
4 | <inputs> |
---|
5 | <param format="tabular" name="input1" type="data" label="Compare Query1"/> |
---|
6 | <param format="tabular" name="input2" type="data" label="with Query2"/> |
---|
7 | <param name="mode" type="select" label="And find">
|
---|
8 | <option value="-23">Lines unique to Query1</option>
|
---|
9 | <option value="-12">Lines shared between Query1 and Query2</option>
|
---|
10 | </param>
|
---|
11 | </inputs>
|
---|
12 | <outputs>
|
---|
13 | <data format="input" name="out_file1" metadata_source="input1" /> |
---|
14 | </outputs>
|
---|
15 | <help>
|
---|
16 | This tool is based on UNIX shell command comm. It compares two queries and returns similarities or differences. For example, if you have two queries:: |
---|
17 | |
---|
18 | a 1 |
---|
19 | b 2 |
---|
20 | c 3 |
---|
21 | |
---|
22 | and:: |
---|
23 | |
---|
24 | a 1 |
---|
25 | f 6 |
---|
26 | h 8 |
---|
27 | |
---|
28 | Using this tool with **Lines unique to Query1** option will return:: |
---|
29 | |
---|
30 | b 2 |
---|
31 | c 3 |
---|
32 | |
---|
33 | If you use **Lines shared between Query1 and Query2** option output will look like this:: |
---|
34 | |
---|
35 | a 1 |
---|
36 | |
---|
37 | </help>
|
---|
38 | </tool> |
---|