annotate Matrix_Multiply.xml @ 1:f1bcd79cd923 draft default tip

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