Debian Codegraph @

weblogo/htdocs/test.html

raw
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
3 <html>
4 <head>
5 <link rel="stylesheet" type="text/css" href="logo.css" >
6
7 <title>WebLogo 3 - Tests </title>
8 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
9 <meta name="author" content="Gavin E. Crooks" >
10 <meta name="ID" content="$ID:" >
11
12 <style type="text/css">
13 td {
14 border-left : white solid 4pt
15 }
16 .error {
17 color: #900;
18 border-left: red solid +4pt;
19 }
20
21 .err_msg {
22 color: #900;
23 }
24
25 </style>
26 </head>
27
28 <body style="align:center">
29
30
31 <table width="80%" border = '0' cellspacing='0' cellpadding='1' align="center">
32 <tr><td >
33 <h1> WebLogo 3: Tests</h1>
34
35 </td><td align = "right">
36 &middot;
37 <a href="./">about</a>&nbsp;&middot;
38 <a href="create.cgi">create</a>&nbsp;&middot;
39 <a href="examples.html">examples</a>&nbsp;&middot;
40 <a href="manual.html">manual</a>&nbsp;&middot;
41 <br>
42 &nbsp;
43 </td></tr>
44
45 <tr><td colspan='2'>
46
47 Various tests of the WebLogo webapp. <br >
48
49 <hr >
50
51 <dl>
52 <dt>Relative Entropy Test</dt>
53 <dd>
54 The entropy should be 2 bits, 1 bit, 0 bits
55 (The small sample correction should be turned off.)
56 <br >
57 <form method="post" action="create.cgi">
58 <input type="submit" name="cmd_edit" value="Edit" >
59 <input type="submit" name="cmd_create" value="Create" >
60 <input type="hidden" name="show_yaxis" value="true" >
61 <input type="hidden" name="show_xaxis" value="true" >
62 <input type="hidden" name="show_fineprint" value="true" >
63 <input type="hidden" name="show_errorbars" value="true" >
64 <input type="hidden" name="download" value="true" >
65 <input type="hidden" name="composition" value="comp_none" >
66
67 <input type="hidden" name="sequences" value=
68 ">
69 GTTGTTGTTGTT
70 >
71 GTCGTCGTCGTC
72 >
73 GGGGGGGGGGGG
74 >
75 GGAGGAGGAGGA
76 " >
77 </form>
78 </dd>
79
80
81 <dt>Title And Labels Test</dt>
82 <dd>
83 Replace and display x-label, y-label and title.
84 <form method="post" action="create.cgi">
85 <input type="submit" name="cmd_edit" value="Edit" >
86 <input type="submit" name="cmd_create" value="Create" >
87 <input type="hidden" name="show_yaxis" value="true" >
88 <input type="hidden" name="show_xaxis" value="true" >
89 <input type="hidden" name="show_fineprint" value="true" >
90 <input type="hidden" name="show_errorbars" value="true" >
91 <input type="hidden" name="download" value="true" >
92
93 <input type="hidden" name="yaxis_label" value="The Y-axis" >
94 <input type="hidden" name="xaxis_label" value="The X-axis" >
95 <input type="hidden" name="logo_title" value="This is the TITLE" >
96 <input type="hidden" name="sequences" value=
97 ">
98 AAAGTGAAAGTGAAAGTGAAAGTG
99 >
100 AAAGCGAAAGCGAAAGCGAAAGCG
101 >
102 TGCCCTTGCCCTTGCCCTTGCCCT
103 >
104 TGCCTTTGCCTTTGCCTTTGCCTT
105 " >
106 </form>
107
108 Same, but do not show axes
109 <form method="post" action="create.cgi">
110 <input type="submit" name="cmd_edit" value="Edit" >
111 <input type="submit" name="cmd_create" value="Create" >
112 <input type="hidden" name="show_fineprint" value="true" >
113 <input type="hidden" name="show_errorbars" value="true" >
114 <input type="hidden" name="download" value="true" >
115
116 <input type="hidden" name="yaxis_label" value="This is the Y-axis" >
117 <input type="hidden" name="xaxis_label" value="This is the X-axis" >
118 <input type="hidden" name="logo_title" value="This is the TITLE" >
119 <input type="hidden" name="sequences" value=
120 ">
121 AAAGTGAAAGTGAAAGTGAAAGTG
122 >
123 AAAGCGAAAGCGAAAGCGAAAGCG
124 >
125 TGCCCTTGCCCTTGCCCTTGCCCT
126 >
127 TGCCTTTGCCTTTGCCTTTGCCTT
128 " >
129 </form>
130 </dd>
131
132
133
134 <dt>Format Test</dt>
135 <dd>
136 Ensure that this logo can be created in each of the available formats
137 <form method="post" action="create.cgi">
138 <input type="submit" name="cmd_edit" value="Edit" >
139 <input type="submit" name="cmd_create" value="Create" >
140 <input type="hidden" name="show_yaxis" value="true" >
141 <input type="hidden" name="show_xaxis" value="true" >
142 <input type="hidden" name="show_fineprint" value="true" >
143 <input type="hidden" name="show_errorbars" value="true" >
144 <input type="hidden" name="download" value="true" >
145
146 Format: <select name="format">
147 <option value="png_print">PNG</option>
148 <option value="eps">EPS (vector)</option>
149 <option value="pdf">PDF (vector)</option>
150 <option value="svg">SVG (vector)</option>
151 <option value="logodata">data</option>
152 </select>
153
154 <input type="hidden" name="sequences" value=
155 ">
156 AAAGTGAAAGTGAAAGTGAAAGTG
157 >
158 AAAGCGAAAGCGAAAGCGAAAGCG
159 >
160 TGCCCTTGCCCTTGCCCTTGCCCT
161 >
162 TGCCTTTGCCTTTGCCTTTGCCTT
163 " >
164 </form>
165 </dd>
166
167
168
169
170 <dt>Test Alphabetic Order</dt>
171 <dd>
172 Each character in each stack has the same entropy. The letters
173 should be alphabetized, top down.
174 <form method="post" action="create.cgi">
175 <input type="submit" name="cmd_edit" value="Edit" >
176 <input type="submit" name="cmd_create" value="Create" >
177 <input type="hidden" name="show_yaxis" value="true" >
178 <input type="hidden" name="show_xaxis" value="true" >
179 <input type="hidden" name="show_fineprint" value="true" >
180 <input type="hidden" name="show_errorbars" value="true" >
181 <input type="hidden" name="download" value="true" >
182 <input type="hidden" name="composition" value="comp_none" >
183 (NA)
184 <input type="hidden" name="sequences" value=
185 ">
186 AAAGTG
187 >
188 AAAGCG
189 >
190 TGCCCT
191 >
192 TGCCTT
193 " >
194 </form>
195
196 <form method="post" action="create.cgi">
197 <input type="submit" name="cmd_edit" value="Edit" >
198 <input type="submit" name="cmd_create" value="Create" >
199 <input type="hidden" name="show_yaxis" value="true" >
200 <input type="hidden" name="show_xaxis" value="true" >
201 <input type="hidden" name="composition" value = "comp_none" >
202 <input type="hidden" name="show_fineprint" value="true" >
203 <input type="hidden" name="show_errorbars" value="true" > (AA)
204 <input type="hidden" name="download" value="true" >
205 <input type="hidden" name="sequences" value=
206 ">
207 PK
208 >
209 PK
210 >
211 VH
212 >
213 VH
214 >
215 KG
216 >
217 KG
218 " >
219 </form>
220 </dd>
221
222
223
224 <dt>One Single Column</dt>
225 <dd>
226 Should not die just because there is only 1 stack.
227 <form method="post" action="create.cgi">
228 <input type="submit" name="cmd_edit" value="Edit" >
229 <input type="submit" name="cmd_create" value="Create" >
230 <input type="hidden" name="download" value="true" >
231 <input type="hidden" name="sequences" value=
232 ">
233 A
234 >
235 A
236 >
237 G
238 >
239 G
240 >
241 G
242 >
243 G
244 " >
245 </form>
246 </dd>
247
248
249 <dt> Small Sample Correction Test</dt>
250 <dd>
251 The samples per column decrease from 32 (left) to 1 (right).
252 Before the small sample correction the relative entropy of each stack
253 is 2 bits.
254 <form method="post" action="create.cgi">
255 <input type="submit" name="cmd_edit" value="Edit" >
256 <input type="submit" name="cmd_create" value="Create" >
257 <input type="hidden" name="show_yaxis" value="true" >
258 <input type="hidden" name="show_xaxis" value="true" >
259 <input type="hidden" name="download" value="true" >
260 <input type="hidden" name="show_fineprint" value="true" >
261 <select name="composition" >
262 <option value = "comp_none" >No adjustment for composition</option>
263 <option value = "comp_auto" >auto</option>
264 </select>
265
266 <input type="hidden" name="sequences" value=
267 ">
268 GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
269 >
270 GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG-
271 >
272 GGGGGGGGGGGGGGGGGGGGGGGGGGGGGG--
273 >
274 GGGGGGGGGGGGGGGGGGGGGGGGGGGGG---
275 >
276 GGGGGGGGGGGGGGGGGGGGGGGGGGGG----
277 >
278 GGGGGGGGGGGGGGGGGGGGGGGGGGG-----
279 >
280 GGGGGGGGGGGGGGGGGGGGGGGGGG------
281 >
282 GGGGGGGGGGGGGGGGGGGGGGGGG-------
283 >
284 GGGGGGGGGGGGGGGGGGGGGGGG--------
285 >
286 GGGGGGGGGGGGGGGGGGGGGGG---------
287 >
288 GGGGGGGGGGGGGGGGGGGGGG----------
289 >
290 GGGGGGGGGGGGGGGGGGGGG-----------
291 >
292 GGGGGGGGGGGGGGGGGGGG------------
293 >
294 GGGGGGGGGGGGGGGGGGG-------------
295 >
296 GGGGGGGGGGGGGGGGGG--------------
297 >
298 GGGGGGGGGGGGGGGG----------------
299 >
300 GGGGGGGGGGGGGGG-----------------
301 >
302 GGGGGGGGGGGGGG------------------
303 >
304 GGGGGGGGGGGGG-------------------
305 >
306 GGGGGGGGGGGG--------------------
307 >
308 GGGGGGGGGGG---------------------
309 >
310 GGGGGGGGGG----------------------
311 >
312 GGGGGGGGG-----------------------
313 >
314 GGGGGGGG------------------------
315 >
316 GGGGGGG-------------------------
317 >
318 GGGGGG--------------------------
319 >
320 GGGGG---------------------------
321 >
322 GGGG----------------------------
323 >
324 GGG-----------------------------
325 >
326 GG------------------------------
327 >
328 G-------------------------------
329 " >
330 </form>
331 </dd>
332
333
334
335 <dt> Test Graceful Failure</dt>
336 <dd>
337 Each of these tests should result in a polite and informative error message.
338 <form method="post" action="create.cgi">
339 <input type="submit" name="cmd_create" value="Fail: No sequence data" >
340 <input type="hidden" name="show_yaxis" value="true" >
341 <input type="hidden" name="show_xaxis" value="true" >
342 <input type="hidden" name="show_fineprint" value="true" >
343 <input type="hidden" name="download" value="true" >
344 <input type="hidden" name="show_errorbars" checked="checked" >
345 <input type="hidden" name="sequences" value="" >
346 </form>
347
348 <form method="post" action="create.cgi">
349 <input type="submit" name="cmd_create" value="Fail: Malformed sequences" >
350 <input type="hidden" name="show_yaxis" value="true" >
351 <input type="hidden" name="download" value="true" >
352 <input type="hidden" name="show_xaxis" value="true" >
353 <input type="hidden" name="show_fineprint" value="true" >
354 <input type="hidden" name="show_errorbars" checked="checked" >
355 <input type="hidden" name="sequences" value="
356 asdajksgh
357 >
358 GGGGGGGGGGGGGG------------------
359 >
360 GGGGGGGGGGGGG-------------------
361 >
362 " >
363 </form>
364
365 <form method="post" action="create.cgi">
366 <input type="submit" name="cmd_create" value="Fail: Unknown format" >
367 <input type="hidden" name="format" value="NO_SUCH_FORMAT" >
368 <input type="hidden" name="show_yaxis" value="true" >
369 <input type="hidden" name="show_xaxis" value="true" >
370 <input type="hidden" name="show_fineprint" value="true" >
371 <input type="hidden" name="show_errorbars" checked="checked" >
372 <input type="hidden" name="download" value="true" >
373 <input type="hidden" name="sequences" value=">
374 GGGGGGGGGGGGGG------------------
375 >
376 GGGGGGGGGGGGG-------------------
377 >
378 " >
379 </form>
380
381 <form method="post" action="create.cgi">
382 <input type="submit" name="cmd_create" value="Fail: Malformed data" >
383 <input type="hidden" name="show_yaxis" value="true" >
384 <input type="hidden" name="show_xaxis" value="true" >
385 <input type="hidden" name="download" value="true" >
386 <input type="hidden" name="show_fineprint" value="true" >
387 <input type="hidden" name="show_errorbars" checked="checked" >
388 <input type="hidden" name="sequences" value=">
389 GGGGGGGGGGGGGG------------------
390 >
391 GGGGGGGGGGGGG------------------
392 >
393 " >
394 </form>
395
396
397 </dd>
398
399
400
401 <dt> Logo Sizes</dt>
402 <dd>
403 Same sequences, three different sizes.
404 <form method="post" action="create.cgi">
405 <input type="submit" name="cmd_edit" value="Edit" >
406 <input type="hidden" name="download" value="true" >
407 <input type="submit" name="cmd_create" value="Create" >
408 <input type="hidden" name="show_yaxis" value="true" >
409 <input type="hidden" name="show_xaxis" value="true" >
410 <input type="hidden" name="show_fineprint" value="true" >
411 Size:
412 <select name="stack_width" >
413 <option selected="selected" >small</option>
414 <option >medium</option>
415 <option >large</option>
416 </select>
417
418
419 <input type="hidden" name="sequences" value=
420 ">aldB -18->4
421 attcgtgatagctgtcgtaaag
422 >ansB 103->125
423 ttttgttacctgcctctaactt
424 >araB1 109->131
425 aagtgtgacgccgtgcaaataa
426 >araB2 147->169
427 tgccgtgattatagacactttt
428 >cdd 1 107->129
429 atttgcgatgcgtcgcgcattt
430 >cdd 2 57->79
431 taatgagattcagatcacatat
432 >crp 1 115->137
433 taatgtgacgtcctttgcatac
434 >crp 2
435 gaaggcgacctgggtcatgctg
436 >cya 151->173
437 aggtgttaaattgatcacgttt
438 >cytR 1 125->147
439 cgatgcgaggcggatcgaaaaa
440 >cytR 2 106->128
441 aaattcaatattcatcacactt
442 >dadAX 1 95->117
443 agatgtgagccagctcaccata
444 >dadAX 2 32->54
445 agatgtgattagattattattc
446 >deoP2 1 75->97
447 aattgtgatgtgtatcgaagtg
448 >deoP2 2 128->150
449 ttatttgaaccagatcgcatta
450 >fur 136->158
451 aaatgtaagctgtgccacgttt
452 >gal 56->78
453 aagtgtgacatggaataaatta
454 >glpACB (glpTQ) 1 54->76
455 ttgtttgatttcgcgcatattc
456 >glpACB (glpTQ) 2 94->116
457 aaacgtgatttcatgcgtcatt
458 >glpACB (glpTQ) 144->166
459 atgtgtgcggcaattcacattt
460 >glpD (glpE) 95->117
461 taatgttatacatatcactcta
462 >glpFK 1 120->142
463 ttttatgacgaggcacacacat
464 >glpFK 2 95->117
465 aagttcgatatttctcgttttt
466 >gut (srlA) 72->94
467 ttttgcgatcaaaataacactt
468 >ilvB 87->109
469 aaacgtgatcaacccctcaatt
470 >lac 1 (lacZ) 88->110
471 taatgtgagttagctcactcat
472 >lac 2 (lacZ) 16->38
473 aattgtgagcggataacaattt
474 >malEpKp1 110->132
475 ttgtgtgatctctgttacagaa
476 >malEpKp2 139->161
477 TAAtgtggagatgcgcacaTAA
478 >malEpKp3 173->195
479 TTTtgcaagcaacatcacgAAA
480 >malEpKp4 205->227
481 GACctcggtttagttcacaGAA
482 >malT 121->143
483 aattgtgacacagtgcaaattc
484 >melR 52->74
485 aaccgtgctcccactcgcagtc
486 >mtl 302->324
487 TCTTGTGATTCAGATCACAAAG
488 >nag 156->178
489 ttttgtgagttttgtcaccaaa
490 >nupG2 97->119
491 aaatgttatccacatcacaatt
492 >nupG1 47->69
493 ttatttgccacaggtaacaaaa
494 >ompA 166->188
495 atgcctgacggagttcacactt
496 >ompR 161->183
497 taacgtgatcatatcaacagaa
498 >ptsH A 316->338
499 Ttttgtggcctgcttcaaactt
500 >ptsH B 188->210
501 ttttatgatttggttcaattct
502 >rhaS (rhaB) 161->183
503 aattgtgaacatcatcacgttc
504 >rot 1 (ppiA) 182->204
505 ttttgtgatctgtttaaatgtt
506 >rot 2 (ppiA) 129->151
507 agaggtgattttgatcacggaa
508 >tdcA 60->82
509 atttgtgagtggtcgcacatat
510 >tnaL 73->95
511 gattgtgattcgattcacattt
512 >tsx 2 146->168
513 gtgtgtaaacgtgaacgcaatc
514 >tsx 1 107->129
515 aactgtgaaacgaaacatattt
516 >uxuAB 165->187
517 TCTTGTGATGTGGTTAACCAAT
518 " >
519 </form>
520 </dd>
521
522
523
524
525 </dl>
526
527
528
529 <dl>
530 <dt>Transfac test</dt>
531 <dd>
532 <br >
533 <form method="post" action="create.cgi">
534 <input type="submit" name="cmd_edit" value="Edit" >
535 <input type="submit" name="cmd_create" value="Create" >
536 <input type="hidden" name="show_yaxis" value="true" >
537 <input type="hidden" name="show_xaxis" value="true" >
538 <input type="hidden" name="show_fineprint" value="true" >
539 <input type="hidden" name="show_errorbars" value="true" >
540 <input type="hidden" name="download" value="true" >
541
542 <input type="hidden" name="sequences" value=
543 "AC M00001
544 XX
545 ID V$MYOD_01
546 XX
547 DT 19.10.1992 (created); ewi.
548 DT 22.10.1997 (updated); dbo.
549 CO Copyright (C), Biobase GmbH.
550 XX
551 NA MyoD
552 XX
553 DE myoblast determination gene product
554 XX
555 BF T00526 MyoD; Species: mouse, Mus musculus.
556 XX
557 PO A C G T
558 01 1 2 2 0 S
559 02 2 1 2 0 R
560 03 3 0 1 1 A
561 04 0 5 0 0 C
562 05 5 0 0 0 A
563 06 0 0 4 1 G
564 07 0 1 4 0 G
565 08 0 0 0 5 T
566 09 0 0 5 0 G
567 10 0 1 2 2 K
568 11 0 2 0 3 Y
569 12 1 0 3 1 G
570 XX
571 BA 5 functional elements in 3 genes
572 XX
573 CC no comment
574 XX
575 //
576 " >
577 </form>
578 </dd>
579
580
581
582 </td></tr>
583
584
585
586
587 </table>
588
589 <script type="text/javascript">
590 var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
591 document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
592 </script>
593 <script type="text/javascript">
594 var pageTracker = _gat._getTracker("UA-5951066-1");
595 pageTracker._trackPageview();
596 </script>
597 </body></html>