source: trunk/doc/development/drafts/experiment_overview.txt @ 3024

Last change on this file since 3024 was 3024, checked in by Nicklas Nordborg, 16 years ago

References #262 and #340. Added draft specification

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Id
File size: 5.8 KB
Line 
1
2Experiment overview/validation
3==============================
4
5See tickets:
6262: Overview of an experiment (http://base.thep.lu.se/ticket/262)
7340: Experiment validation tool (http://base.thep.lu.se/ticket/340)
8
9
10The experiment overview/validation tool can display a tree-structure of
11all up-stream items (ie. not the analysis) in an experiment and validate
12that everything makes sense. The tree stops at biosource and array
13design. Ie. plates are not included in the overview.
14
15Before the overview is generated the user has to select options for
16the validation. This could include:
17 
18 - checking against project defaults if a project is active
19 - checking for missing values/references
20 - checking for correct number of labeled extracts
21 - and a lot more (see below)
22
23For each type of validation the user can select if it should be ignored,
24generate a warning or generate an error.
25
26The overview is generated and stored as some kind of object structure. This
27structure always include the validation results. When the HTML is generated the
28validation options are checked to decide which warnings/errors that should be
29displayed and which ones that should be ignored. This makes it possible to
30select different validation options without having to re-generate to the overview.
31
32The validation options can be saved as presets. A pre-configured preset
33for validation according to MAGE rules will be included in the installation.
34
35The tree starts with the experiment as the top node. Each subnode is either
36a folder node (for one/many-to-many relations) or an item node (for
37many/one-to-one relations).
38
39Warnings/error are indicated for each node by a different icon. Warnings on child
40nodes are propagated to parent nodes. There are four cases (with possibly eight
41different icons):
42 - no warnings/errors on the node or any of the child nodes
43 - warnings/errors on the child nodes
44 - warnings/errors on the node but not on any of the child nodes
45 - warnings/errors on both the node and the child nodes
46
47
48Below follows an overview of the different nodes, their subnodes and possible
49warnings for each node.
50
51If an item can't be reached due to a PermissionDeniedException, it should be
52displayed as a question mark icon for the item that is linking to it.
53
54
55Experiment
56==========
57Folder subnodes:
58 - Experimental factors
59 - Raw bioassays
60 
61Item subnodes: none
62 
63Warnings:
64 - the raw data type is not the same as the project default raw data type
65 - the raw bioassays has different array designs
66 - if there is more than one item of the same type and name
67   (checked against all items in the project)
68
69 
70Experimental factor
71===================
72Folder subnodes: none
73Item subnodes: none
74Warnings: none
75
76
77Raw bioassay
78============
79Folder subnodes:
80 - Annotations
81
82Item subnodes:
83 - Array design
84 - Scan
85 - Software
86 - Protocol
87 
88Warnnings:
89 - the raw data type is not the same as the project default raw data type
90 - missing array design
91 - missing value for experimental factor
92 - array design is different from array design via hybridization
93 - missing scan
94 - missing protocol
95 - missing software
96
97
98Array design
99============
100Subnodes: none
101Warnings:
102 - not same as the project default
103
104 
105Protocol
106========
107Folder subnodes:
108 - Parameters
109
110Item subnodes: none
111
112Warnings:
113 - not same as the project default
114 - incorrect protocol type
115 - missing value for a parameter
116
117Note! Protocols are always validated together with the item they are attached to
118
119Annotation
120==========
121Subnodes: none
122
123Warnings:
124 - invalid annotation value according to annotation type
125 - inheriting value from non-parent
126 - annotation type is a protocol parameter
127 - annotation type is not valid for the current item type
128
129Note! Annotations are always validated together with the item they are attached to
130
131Software
132========
133Subnodes: none
134Warnings:
135 - incorrect software type
136 
137Hardware
138========
139Subnodes: none
140Warnings:
141 - incorrect hardware type
142 
143Scan
144====
145Folder subnodes:
146 - Annotations
147 - Images
148 
149Item subnodes:
150 - Scanner
151 - Protocol
152 - Hybridization
153
154Warnings:
155 - missing scanner
156 - missing protocol
157 - missing hybridization
158
159Hybridization
160=============
161Folder subnodes:
162 - Annotations
163 - Labeled extracts
164
165Item subnodes:
166 - Hybridization station
167 - Protocol
168 - Array slide
169
170Warnings:
171 - missing hybridization station
172 - missing protocol
173 - missing array slide
174 - wrong number of labeled extracts (checked against experiment raw data type)
175 - the labeled extracts doesn't have unique labels
176 
177Array slide
178===========
179Folder subnodes:
180 - Annotations
181
182Item subnodes:
183 - Array batch
184
185Warnings: none
186
187Array batch
188===========
189Folder subnodes:
190 - Annotations
191
192Item subnodes:
193 - Array design
194 - Print robot
195 - Protocol
196
197Warnings:
198 - missing print robot
199 - missing protocol
200 
201
202Labeled extract (non-pooled)
203============================
204Folder subnodes:
205 - Annotations
206
207Item subnodes:
208 - Extract
209 - Protocol
210 
211Warnings:
212 - missing protocol
213 - missing extract
214 
215Labeled extract (pooled)
216========================
217Folder subnodes:
218 - Annotations
219 - Parents
220 
221Item subnodes:
222 - Protocol
223 
224Warnings:
225 - parents use different label
226 - missing parents
227 - circular reference
228 
229Extract (non-pooled)
230====================
231Folder subnodes:
232 - Annotations
233 
234Item subnodes:
235 - Sample
236 - Protocol
237 
238Warnings:
239 - missing protocol
240 - missing sample
241 
242Extract (pooled)
243================
244Folder subnodes:
245 - Annotations
246 - Parents
247
248Item subnodes:
249 - Protocol
250 
251Warnings:
252 - missing protocol
253 - circular reference
254 
255Sample (non-pooled)
256===================
257Folder subnodes:
258 - Annotations
259 
260Item subnodes:
261 - Biosource
262 - Protocol
263 
264Warnings:
265 - missing protocol
266 - missing biosource
267
268Sample (pooled)
269===============
270Folder subnodes:
271 - Annotations
272 - Parents
273
274Item subnodes:
275 - Protocol
276 
277Warnings:
278 - missing protocol
279 - circular reference
280 
281Biosource
282=========
283Folder subnodes:
284 - Annotations
285 
286Item subnodes: none
287
288Warnings: none
289
290
Note: See TracBrowser for help on using the repository browser.