Mercurial > repos > devteam > tables_arithmetic_operations
annotate tables_arithmetic_operations.xml @ 1:3fde957695f6 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
author | devteam |
---|---|
date | Thu, 22 Jun 2017 18:52:09 -0400 |
parents | 6ff325b36382 |
children |
rev | line source |
---|---|
1
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
1 <tool id="tables_arithmetic_operations" name="Arithmetic Operations" version="1.0.0"> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
2 <description>on tables</description> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
3 <requirements> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
4 <requirement type="package" version="5.22.2.1">perl</requirement> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
5 </requirements> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
6 <command><![CDATA[ |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
7 perl '$__tool_directory__/tables_arithmetic_operations.pl' |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
8 '$inputFile1' |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
9 '$inputFile2' |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
10 $inputArithmeticOperation3 |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
11 '$outputFile1' |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
12 ]]></command> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
13 <inputs> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
14 <param name="inputFile1" type="data" format="tabular" label="Select the first input tabular file"/> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
15 <param name="inputFile2" type="data" format="tabular" label="Select the second input tabular file"/> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
16 <param name="inputArithmeticOperation3" type="select" label="Choose the arithmetic operation:"> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
17 <option value="Addition">Addition</option> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
18 <option value="Subtraction">Subtraction</option> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
19 <option value="Multiplication">Multiplication</option> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
20 <option value="Division">Division</option> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
21 </param> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
22 </inputs> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
23 <outputs> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
24 <data name="outputFile1" format="tabular" /> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
25 </outputs> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
26 <tests> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
27 <test> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
28 <param name="inputFile1" value="numericalTable1.tabular" /> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
29 <param name="inputFile2" value="numericalTable1.tabular" /> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
30 <param name="inputArithmeticOperation3" value="Addition" /> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
31 <output name="outputFile1" file="table_addition_result.tabular" /> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
32 </test> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
33 <test> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
34 <param name="inputFile1" value="numericalTable1.tabular" /> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
35 <param name="inputFile2" value="numericalTable1.tabular" /> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
36 <param name="inputArithmeticOperation3" value="Subtraction" /> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
37 <output name="outputFile1" file="table_subtraction_result.tabular" /> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
38 </test> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
39 <test> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
40 <param name="inputFile1" value="numericalTable1.tabular" /> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
41 <param name="inputFile2" value="numericalTable1.tabular" /> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
42 <param name="inputArithmeticOperation3" value="Multiplication" /> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
43 <output name="outputFile1" file="table_multiplication_result.tabular" /> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
44 </test> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
45 <test> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
46 <param name="inputFile1" value="numericalTable1.tabular" /> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
47 <param name="inputFile2" value="numericalTable1.tabular" /> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
48 <param name="inputArithmeticOperation3" value="Division" /> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
49 <output name="outputFile1" file="table_division_result.tabular" /> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
50 </test> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
51 </tests> |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
52 <help><![CDATA[ |
0 | 53 .. class:: infomark |
54 | |
55 **What it does** | |
56 | |
57 This program implements arithmetic operations on tabular files data. The program takes three inputs: | |
58 | |
59 - The first input is a TABULAR format file containing numbers only. | |
60 - The second input is a TABULAR format file containing numbers only. | |
1
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
61 - The third input is an arithmetic operation: +, -, x, or / for addition, subtraction, multiplication, or division, respectively. |
0 | 62 - The output file is a TABULAR format file containing the result of implementing the arithmetic operation on both input files. |
63 | |
64 | |
1
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
65 Notes: |
0 | 66 |
67 - The two files must have the same number of columns and the same number of rows. | |
68 - The output file has the same number of columns and the same number of rows as each of the two input files. | |
69 - In case of division, none of the values in the second input file could be 0, otherwise the program will stop and report an error. | |
70 | |
71 **Example** | |
72 | |
73 Let us have the first input file as follows:: | |
74 | |
1
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
75 5 4 0 |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
76 10 11 12 |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
77 1 3 1 |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
78 1 2 1 |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
79 2 0 4 |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
80 |
0 | 81 And the second input file as follows:: |
82 | |
1
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
83 5 4 4 |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
84 2 5 8 |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
85 1 2 1 |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
86 3 2 5 |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
87 2 4 4 |
0 | 88 |
89 Running the program and choosing "Addition" as an arithmetic operation will give the following output:: | |
90 | |
1
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
91 10 8 4 |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
92 12 16 20 |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
93 2 5 2 |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
94 4 4 6 |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
95 4 4 8 |
3fde957695f6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/tables_arithmetic_operations commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents:
0
diff
changeset
|
96 ]]></help> |
0 | 97 </tool> |