0
|
1 <tool id="normalizeMedianNegCntrl" name="Normalize Using Median Negative Controls" version="1.0.0">
|
|
2
|
|
3 <command interpreter="perl">
|
|
4 normalizeMedianNegCntrl.pl $inputFile1 $inputFile2 $outputFile1
|
|
5 </command>
|
|
6
|
|
7 <inputs>
|
|
8 <param format="tabular" name="inputFile1" type="data" label="Select the linear plates file"/>
|
|
9 <param format="tabular" name="inputFile2" type="data" label="Select the plate configuration file"/>
|
|
10 </inputs>
|
|
11
|
|
12 <outputs>
|
|
13 <data format="tabular" name="outputFile1"/>
|
|
14 </outputs>
|
|
15
|
|
16 <tests>
|
|
17 <test>
|
|
18 <param name="inputFile1" value="150615-HR-12015-01A.linear"/>
|
|
19 <param name="inputFile2" value="plate_config.txt"/>
|
|
20 <output name="outputFile1" file="normalized_using_median.tabular"/>
|
|
21 </test>
|
|
22 </tests>
|
|
23
|
|
24 <help>
|
|
25
|
|
26 .. class:: infomark
|
|
27
|
|
28 **What it does**
|
|
29
|
|
30 This program takes a linear plate table and a plate config file as input and then normalizes each plate in the table to the negative controls in the config.
|
|
31 The plate config file **must** contain the columns Well, Type and Name in that order. Further the data in column Type must be **exclude**, **negcontr** or **poscontr**.
|
|
32
|
|
33 **Example**
|
|
34
|
|
35 If the plates table consisted of::
|
|
36
|
|
37 #Well Table_1 Table_2
A01 1654 6
A02 1719 8
A03 1624 19
A04 1518 6
A05 1587 12
A06 1517 8
A07 1638 9
A08 1733 7
A09 1617 6
A10 1722 8
...
|
|
38 P14 1630 6
P15 1576 6
P16 1740 7
P17 1578 6
P18 1544 6
P19 1692 6
P20 1560 6
P21 1552 6
P22 1790 7
P23 1537 6
P24 NA NA
|
|
39
|
|
40 and the plates config was::
|
|
41
|
|
42 #Well Type Name
A02 negcontr NT2
|
|
43 B02 negcontr NT2
|
|
44 C02 poscontr ASCIZ
|
|
45 D02 poscontr PARP
|
|
46 E02 negcontr NT2
|
|
47 F02 poscontr ASCIZ
|
|
48 G02 poscontr PARP
|
|
49 H02 negcontr NT2
|
|
50 I02 poscontr ASCIZ
|
|
51 J02 poscontr PARP
|
|
52 K02 negcontr NT2
|
|
53 L02 poscontr ASCIZ
|
|
54 M02 poscontr PARP
|
|
55 N02 negcontr NT2
|
|
56 O02 poscontr ASCIZ
|
|
57 P02 negcontr NT2
|
|
58 A23 negcontr NT2
|
|
59 B23 negcontr NT2
|
|
60 C23 poscontr ASCIZ
|
|
61 D23 poscontr PARP
|
|
62 E23 negcontr NT2
|
|
63 F23 poscontr ASCIZ
|
|
64 G23 poscontr PARP
|
|
65 H23 negcontr NT2
|
|
66 I23 poscontr ASCIZ
|
|
67 J23 poscontr PARP
|
|
68 K23 negcontr NT2
|
|
69 L23 poscontr ASCIZ
|
|
70 M23 poscontr PARP
|
|
71 N23 negcontr NT2
|
|
72 O23 poscontr ASCIZ
|
|
73 P23 negcontr NT2
|
|
74 A01 exclude exclude
|
|
75 A24 exclude exclude
|
|
76 B01 exclude exclude
|
|
77 B24 exclude exclude
|
|
78 C01 exclude exclude
|
|
79 C24 exclude exclude
|
|
80 D01 exclude exclude
|
|
81 D24 exclude exclude
|
|
82 E01 exclude exclude
|
|
83 E24 exclude exclude
|
|
84 F01 exclude exclude
|
|
85 F24 exclude exclude
|
|
86 G01 exclude exclude
|
|
87 G24 exclude exclude
|
|
88 H01 exclude exclude
|
|
89 H24 exclude exclude
|
|
90 I01 exclude exclude
|
|
91 I24 exclude exclude
|
|
92 J01 exclude exclude
|
|
93 J24 exclude exclude
|
|
94 K01 exclude exclude
|
|
95 K24 exclude exclude
|
|
96 L01 exclude exclude
|
|
97 L24 exclude exclude
|
|
98 M01 exclude exclude
|
|
99 M24 exclude exclude
|
|
100 N01 exclude exclude
|
|
101 N24 exclude exclude
|
|
102 O01 exclude exclude
|
|
103 O24 exclude exclude
|
|
104 P01 exclude exclude
|
|
105 P24 exclude exclude
|
|
106
|
|
107 Running the program will give the following output::
|
|
108
|
|
109 #Well Table_1 Table_2
|
|
110 A01 1.03 0.75
|
|
111 A02 1.07 1
|
|
112 A03 1.02 2.38
|
|
113 A04 0.95 0.75
|
|
114 A05 0.99 1.5
|
|
115 A06 0.95 1
|
|
116 A07 1.02 1.12
|
|
117 A08 1.08 0.88
|
|
118 A09 1.01 0.75
|
|
119 A10 1.08 1
|
|
120 ...
|
|
121 P14 1.02 0.75
|
|
122 P15 0.99 0.75
|
|
123 P16 1.09 0.88
|
|
124 P17 0.99 0.75
|
|
125 P18 0.97 0.75
|
|
126 P19 1.06 0.75
|
|
127 P20 0.98 0.75
|
|
128 P21 0.97 0.75
|
|
129 P22 1.12 0.88
|
|
130 P23 0.96 0.75
|
|
131 P24 NA NA
|
|
132
|
|
133 </help>
|
|
134
|
|
135 </tool>
|