1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <!DOCTYPE sect1 PUBLIC |
---|
3 | "-//Dawid Weiss//DTD DocBook V3.1-Based Extension for XML and graphics inclusion//EN" |
---|
4 | "../../../../lib/docbook/preprocess/dweiss-docbook-extensions.dtd"> |
---|
5 | <!-- |
---|
6 | $Id: rawbioassays.xml 3523 2007-06-20 12:32:41Z nicklas $ |
---|
7 | |
---|
8 | Copyright (C) Authors contributing to this file. |
---|
9 | |
---|
10 | This file is part of BASE - BioArray Software Environment. |
---|
11 | Available at http://base.thep.lu.se/ |
---|
12 | |
---|
13 | BASE is free software; you can redistribute it and/or |
---|
14 | modify it under the terms of the GNU General Public License |
---|
15 | as published by the Free Software Foundation; either version 2 |
---|
16 | of the License, or (at your option) any later version. |
---|
17 | |
---|
18 | BASE is distributed in the hope that it will be useful, |
---|
19 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
20 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
21 | GNU General Public License for more details. |
---|
22 | |
---|
23 | You should have received a copy of the GNU General Public License |
---|
24 | along with this program; if not, write to the Free Software |
---|
25 | Foundation, Inc., 59 Temple Place - Suite 330, |
---|
26 | Boston, MA 02111-1307, USA. |
---|
27 | --> |
---|
28 | |
---|
29 | <sect1 id="experiments_analysis.rawbioassay"> |
---|
30 | <title>Raw bioassays</title> |
---|
31 | <para> |
---|
32 | A <guilabel>Raw bioassay</guilabel> is the representation |
---|
33 | of the result of analysing one or more images from a |
---|
34 | <guilabel>Scan</guilabel>. This typically generates a |
---|
35 | raw data file with lots of measurements for the spots |
---|
36 | on the hybridization. |
---|
37 | </para> |
---|
38 | |
---|
39 | <para> |
---|
40 | Creating a new raw bioassay is a two-step process: |
---|
41 | </para> |
---|
42 | |
---|
43 | <orderedlist> |
---|
44 | <listitem> |
---|
45 | <para> |
---|
46 | Create a new raw bioassay item with the |
---|
47 | <guilabel>New</guilabel> button in the |
---|
48 | list view. |
---|
49 | </para> |
---|
50 | </listitem> |
---|
51 | <listitem> |
---|
52 | <para> |
---|
53 | Upload the file with the raw data and import it |
---|
54 | to the raw bioassay. See <xref linkend="import_export_data.import" />. |
---|
55 | </para> |
---|
56 | </listitem> |
---|
57 | </orderedlist> |
---|
58 | |
---|
59 | <note> |
---|
60 | <title>Supported file formats</title> |
---|
61 | BASE has built-in support for most file formats where the data comes |
---|
62 | in a tab-separated (or similar) form. Data from one hybridization |
---|
63 | must be in a single file. Support for other file formats |
---|
64 | mat be added through plug-ins. |
---|
65 | </note> |
---|
66 | |
---|
67 | <sect2 id="experiments_analysis.rawbioassay.properties"> |
---|
68 | <title>Raw bioassay properties</title> |
---|
69 | |
---|
70 | <para> |
---|
71 | A raw bioassay has the following properties: |
---|
72 | </para> |
---|
73 | |
---|
74 | <helptext external_id="rawbioassay.edit" title="Edit raw bioassay"> |
---|
75 | |
---|
76 | <variablelist> |
---|
77 | <varlistentry> |
---|
78 | <term><guilabel>Name</guilabel></term> |
---|
79 | <listitem> |
---|
80 | <para> |
---|
81 | The name of the raw bioassay. |
---|
82 | </para> |
---|
83 | </listitem> |
---|
84 | </varlistentry> |
---|
85 | <varlistentry> |
---|
86 | <term><guilabel>Raw data type</guilabel></term> |
---|
87 | <listitem> |
---|
88 | <para> |
---|
89 | The type of raw data. This cannot be |
---|
90 | changed after raw data has been |
---|
91 | imported. <nohelp>See |
---|
92 | <xref linkend="experiments_analysis.rawdatatypes" />.</nohelp> |
---|
93 | </para> |
---|
94 | </listitem> |
---|
95 | </varlistentry> |
---|
96 | <varlistentry> |
---|
97 | <term><guilabel>Array design</guilabel></term> |
---|
98 | <listitem> |
---|
99 | <para> |
---|
100 | The array design used on the array slide (optional). |
---|
101 | If an array design is specified |
---|
102 | the import will verify that the raw data has |
---|
103 | the same reporter on the same position. This |
---|
104 | prevents mistakes but also speed up analysis |
---|
105 | since some optimzations can be used when assigning |
---|
106 | positions in bioassay sets. |
---|
107 | The array design can be changed after raw data has been |
---|
108 | imported, but this triggers a new validation. If the raw data |
---|
109 | is stored in the database, the position, coordinates and reporter of all features |
---|
110 | on the new array design must exactly match the position, |
---|
111 | coordinates and reporter of the raw data. For Affymetrix data, the |
---|
112 | CEL file is validated against the CDF file of the new array design. |
---|
113 | If the validation fails, the array design is not changed. |
---|
114 | </para> |
---|
115 | </listitem> |
---|
116 | </varlistentry> |
---|
117 | <varlistentry> |
---|
118 | <term><guilabel>CEL file</guilabel></term> |
---|
119 | <listitem> |
---|
120 | <para> |
---|
121 | Only used for Affymetrix data. |
---|
122 | <nohelp>See |
---|
123 | <xref linkend="experiments_analysis.affymetrix" /> |
---|
124 | </nohelp> |
---|
125 | </para> |
---|
126 | </listitem> |
---|
127 | </varlistentry> |
---|
128 | <varlistentry> |
---|
129 | <term><guilabel>Scan</guilabel></term> |
---|
130 | <listitem> |
---|
131 | <para> |
---|
132 | The scan this raw bioassay is related to (optional). |
---|
133 | </para> |
---|
134 | </listitem> |
---|
135 | </varlistentry> |
---|
136 | <varlistentry> |
---|
137 | <term><guilabel>Software</guilabel></term> |
---|
138 | <listitem> |
---|
139 | <para> |
---|
140 | The software used to analyse the image or images (optional). |
---|
141 | </para> |
---|
142 | </listitem> |
---|
143 | </varlistentry> |
---|
144 | <varlistentry> |
---|
145 | <term><guilabel>Protocol</guilabel></term> |
---|
146 | <listitem> |
---|
147 | <para> |
---|
148 | The protocol used when analysing the image(s) (optional). |
---|
149 | Software parameters may be registered as part of |
---|
150 | the protocol. |
---|
151 | </para> |
---|
152 | </listitem> |
---|
153 | </varlistentry> |
---|
154 | <varlistentry> |
---|
155 | <term><guilabel>Description</guilabel></term> |
---|
156 | <listitem> |
---|
157 | <para> |
---|
158 | A description of the raw bioassay (optional). |
---|
159 | </para> |
---|
160 | </listitem> |
---|
161 | </varlistentry> |
---|
162 | </variablelist> |
---|
163 | |
---|
164 | <seeother> |
---|
165 | <other external_id="annotations.edit">Annotations</other> |
---|
166 | <other external_id="annotations.edit.inerited">Inherit annotations</other> |
---|
167 | </seeother> |
---|
168 | </helptext> |
---|
169 | |
---|
170 | <para> |
---|
171 | A raw bioassay can have annotations. Read more about this in |
---|
172 | <xref linkend="annotations"/>. |
---|
173 | </para> |
---|
174 | |
---|
175 | </sect2> |
---|
176 | |
---|
177 | <sect2 id="experiments_analysis.rawbioassay.rawdata"> |
---|
178 | <title>Import raw data</title> |
---|
179 | <para> |
---|
180 | Raw data must be imported after you have created the raw |
---|
181 | bioassay item. The import is handled by plug-ins. To start |
---|
182 | the import click on the <guibutton>Import…</guibutton> |
---|
183 | button on the single-item view for the raw bioassay. |
---|
184 | If this button does not appear it may be because no file |
---|
185 | format has been specified for the raw data type used by the |
---|
186 | raw bioassay or that the logged in user does not have permission |
---|
187 | to use the import plug-in or file format. |
---|
188 | See <xref linkend="import_export_data.import" /> for more |
---|
189 | information. |
---|
190 | </para> |
---|
191 | |
---|
192 | <note> |
---|
193 | <title>Affymetrix data</title> |
---|
194 | Affymterix data is handled differently and is not |
---|
195 | imported into the database. See <xref linkend="experiments_analysis.affymetrix" />. |
---|
196 | </note> |
---|
197 | |
---|
198 | </sect2> |
---|
199 | |
---|
200 | <sect2 id="experiments_analysis.rawdatatypes"> |
---|
201 | <title>Raw data types</title> |
---|
202 | <para>TODO</para> |
---|
203 | |
---|
204 | <sect3 id="experiments_analysis.affymetrix"> |
---|
205 | <title>Affymetrix data</title> |
---|
206 | <para>TODO</para> |
---|
207 | </sect3> |
---|
208 | |
---|
209 | </sect2> |
---|
210 | |
---|
211 | <sect2 id="experiments_analysis.spotimages"> |
---|
212 | <title>Spot images</title> |
---|
213 | <para> |
---|
214 | If you have uploaded the image or images from the scan |
---|
215 | you may create spot images. Spot images allows you to |
---|
216 | view the image of each spot separately in the analysis. |
---|
217 | For this to work the raw data must contain the X and Y |
---|
218 | coordinates of each spot. |
---|
219 | </para> |
---|
220 | |
---|
221 | <para> |
---|
222 | After raw data has been imported into the database |
---|
223 | you will find that a <guibutton>Create spot images…</guibutton> |
---|
224 | button appears in the toolbar on the single-item view |
---|
225 | for the raw bioassay. Click on this button to open |
---|
226 | a window that allows you to specify parameters for the |
---|
227 | spot image extraction. |
---|
228 | </para> |
---|
229 | |
---|
230 | <figure id="experiments_analysis.figures.spotimage"> |
---|
231 | <title>Create spot images</title> |
---|
232 | <screenshot> |
---|
233 | <mediaobject> |
---|
234 | <imageobject><imagedata |
---|
235 | fileref="figures/create_spot_images.png" format="PNG" |
---|
236 | /></imageobject> |
---|
237 | </mediaobject> |
---|
238 | </screenshot> |
---|
239 | </figure> |
---|
240 | |
---|
241 | <helptext external_id="rawbioassay.edit.spotimages" |
---|
242 | title="Create spot images"> |
---|
243 | |
---|
244 | <variablelist> |
---|
245 | <varlistentry> |
---|
246 | <term><guilabel>X/Y scale and offset</guilabel></term> |
---|
247 | <listitem> |
---|
248 | <para> |
---|
249 | For the spot image creation process to be able |
---|
250 | to find the spots, the X and Y coordinates from |
---|
251 | the raw data must be converted into image pixel |
---|
252 | values. The formula used is: |
---|
253 | <code>pixelX = (rawX - offsetX) / scaleX</code> |
---|
254 | </para> |
---|
255 | |
---|
256 | <important> |
---|
257 | It is important that you get these values correct, |
---|
258 | or the spot image creation process may fail or generate |
---|
259 | incorrect spot images. |
---|
260 | </important> |
---|
261 | |
---|
262 | </listitem> |
---|
263 | </varlistentry> |
---|
264 | |
---|
265 | <varlistentry> |
---|
266 | <term><guilabel>Spot size</guilabel></term> |
---|
267 | <listitem> |
---|
268 | <para> |
---|
269 | The spot size is given in pixels and is the width and |
---|
270 | hight around each spot that is large enough to contain |
---|
271 | the spot without having too much empty space or |
---|
272 | neighbouring spots around it. |
---|
273 | </para> |
---|
274 | |
---|
275 | </listitem> |
---|
276 | </varlistentry> |
---|
277 | |
---|
278 | <varlistentry> |
---|
279 | <term><guilabel>Gamma correction</guilabel></term> |
---|
280 | <listitem> |
---|
281 | <para> |
---|
282 | Gamma correction is needed to make the images |
---|
283 | look good on computer displays. A value between |
---|
284 | 1.8 and 2.2 is usually best. |
---|
285 | See <ulink url="http://en.wikipedia.org/wiki/Gamma_correction" |
---|
286 | >http://en.wikipedia.org/wiki/Gamma_correction</ulink> |
---|
287 | for more information. |
---|
288 | </para> |
---|
289 | |
---|
290 | </listitem> |
---|
291 | </varlistentry> |
---|
292 | |
---|
293 | <varlistentry> |
---|
294 | <term><guilabel>Quality</guilabel></term> |
---|
295 | <listitem> |
---|
296 | <para> |
---|
297 | The quality setting to use when saving the generated |
---|
298 | spot images as JPEG images. A value between 0 = poor |
---|
299 | and 1 = good can be used. |
---|
300 | </para> |
---|
301 | </listitem> |
---|
302 | </varlistentry> |
---|
303 | |
---|
304 | <varlistentry> |
---|
305 | <term><guilabel>Red, green and blue image files</guilabel></term> |
---|
306 | <listitem> |
---|
307 | <para> |
---|
308 | You must select which scanned image files to use for the |
---|
309 | red, green and blue component of the generated spot images. |
---|
310 | Use the <guibutton>Select…</guibutton> buttons |
---|
311 | to select existing images or upload new ones. |
---|
312 | The original image files must be 8- or |
---|
313 | 16-bit grey scale images. Some scanners, for |
---|
314 | example Genepix, can create TIFF files with more than |
---|
315 | one image in each file. BASE supports this and uses |
---|
316 | the images in the order they appear in the TIFF file. |
---|
317 | </para> |
---|
318 | |
---|
319 | <note> |
---|
320 | Avoid TIFF images which also contains previews |
---|
321 | of the full image. BASE may use the wrong image |
---|
322 | with an error as the result. If you have multi-image |
---|
323 | TIFF files these must only contain the full images. |
---|
324 | </note> |
---|
325 | |
---|
326 | </listitem> |
---|
327 | </varlistentry> |
---|
328 | <varlistentry> |
---|
329 | <term><guilabel>Save as</guilabel></term> |
---|
330 | <listitem> |
---|
331 | <para> |
---|
332 | Specify the path and filename where the generated spot |
---|
333 | images should be saved. The process will create |
---|
334 | a single zip file containing all the images. |
---|
335 | </para> |
---|
336 | </listitem> |
---|
337 | </varlistentry> |
---|
338 | |
---|
339 | <varlistentry> |
---|
340 | <term><guilabel>Overwrite existing file</guilabel></term> |
---|
341 | <listitem> |
---|
342 | <para> |
---|
343 | If a file with the same name already exists you |
---|
344 | must mark this checkbox to overwrite it. |
---|
345 | </para> |
---|
346 | </listitem> |
---|
347 | </varlistentry> |
---|
348 | </variablelist> |
---|
349 | |
---|
350 | <para> |
---|
351 | Click on the <guibutton>Create</guibutton> button |
---|
352 | to add the spot image creation job to the job queue, |
---|
353 | or on &gbCancel; to abort. |
---|
354 | </para> |
---|
355 | |
---|
356 | </helptext> |
---|
357 | </sect2> |
---|
358 | </sect1> |
---|
359 | |
---|