comparison Matrix_Multiply.xml @ 1:f1bcd79cd923 draft default tip

Uploaded
author insilico-bob
date Tue, 27 Nov 2018 14:20:40 -0500
parents
children
comparison
equal deleted inserted replaced
0:7f12c81e2083 1:f1bcd79cd923
1 <?xml version='1.1' encoding='utf-8'?>
2 <tool id="Matrix_Multiply" name="Matrix Compose" version="1.2.4">
3 <description> one matrix using one or two matrices</description>
4 <command interpreter="python">Matrix_Multiply.py '$extra.input1' 'extra.$transpose' 'extra.$input2' '$extra.choice' '$output_file'</command>
5
6 <inputs>
7 <conditional name="extra">
8 <param name="choice" type="select" label="Choose composition type">
9 <option value="MatrixMultiply">Matrix Multiplication</option>
10 <option value="Corr2Matrices">Correlate two matrices</option>
11 <option value="Corr1Matrix">Correlate one matrix with itself</option>
12 </param>
13
14 <when value="MatrixMultiply">
15 <param name="input1" type="data" format="tabular" label="First Input Matrix size NxM" />
16 <param name="transpose" type="select" label="transpose matrix?">
17 <option value="y">Transpose matrix</option>
18 <option value="n" selected="true">Do Not transpose matrix</option>
19 </param>
20 <param name="input2" type="data" format="tabular" label="Second Input Matrix size NxP" />
21 </when>
22 <when value="Corr2Matrices">
23 <param name="input1" type="data" format="tabular" label="First Input Matrix size NxM" />
24 <param name="transpose" type="select" label="transpose matrix?">
25 <option value="y">Transpose matrix</option>
26 <option value="n" selected="true">Do Not transpose matrix</option>
27 </param>
28 <param name="input2" type="data" format="tabular" label="Second Input Matrix size NxP" />
29 </when>
30 <when value="Corr1Matrix">
31 <param name="input1" type="data" format="tabular" label="Input Matrix" />
32 <param name="transpose" type="text" size="10" hidden="true" value="n" />
33 <param name="input2" type="data" hidden="true" value="$input1" />
34 </when>
35 </conditional>
36
37
38 <!-- <param name="thresh" type="float" size="4" value=".05" label="Filter Threshold (Axes with Metric below Threshold will be Removed)" />
39 <param name="transpose" type="select" multiple="false" display="checkboxes" label="transpose first matrix?">
40
41 <param name="axes" type="select" label="Chose Axes to Filter on (Rows or Columns)">
42 <option value="Row">Row</option>
43 <option value="Column">Column</option>
44 </param>
45 -->
46 </inputs>
47
48 <outputs>
49 <data name="output_file" format="tabular" />
50 </outputs>
51
52 </tool>