File: companalysis.html

package info (click to toggle)
libchado-perl 1.23-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 23,976 kB
  • ctags: 10,378
  • sloc: xml: 192,540; sql: 165,945; perl: 28,339; sh: 101; python: 73; makefile: 46
file content (813 lines) | stat: -rw-r--r-- 19,331 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
<!DOCTYPE html
	PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<head>
<title>Description of Schema</title>
<meta name="generator" content="SQL::Translator::Producer::HTML" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>


<h1 class="SchemaDescription">
	Description of Schema
</h1>

<hr />

<!-- 
	Table listing (4 tables)
 -->

<a name="top" />

<table class="LinkTable" width="100%">

<tr>
	<td class="LinkTableCell"><h2 class="LinkTableTitle">
	Tables
</h2></td>
</tr>

<!-- 
	Start link to table 'analysis'
 -->

<tr class="LinkTableRow">
	<td class="LinkTableCell"><a id="analysis-link" href="#analysis">analysis</a></td>
</tr>

<!-- 
	End link to table 'analysis'
 -->

<!-- 
	Start link to table 'analysisprop'
 -->

<tr class="LinkTableRow">
	<td class="LinkTableCell"><a id="analysisprop-link" href="#analysisprop">analysisprop</a></td>
</tr>

<!-- 
	End link to table 'analysisprop'
 -->

<!-- 
	Start link to table 'analysisfeature'
 -->

<tr class="LinkTableRow">
	<td class="LinkTableCell"><a id="analysisfeature-link" href="#analysisfeature">analysisfeature</a></td>
</tr>

<!-- 
	End link to table 'analysisfeature'
 -->

<!-- 
	Start link to table 'analysisfeatureprop'
 -->

<tr class="LinkTableRow">
	<td class="LinkTableCell"><a id="analysisfeatureprop-link" href="#analysisfeatureprop">analysisfeatureprop</a></td>
</tr>

<!-- 
	End link to table 'analysisfeatureprop'
 -->

</table>

<!-- 
	Starting table 'analysis'
 -->

<a name="analysis" />

<table class="TableHeader" width="100%">
	<tr class="TableHeaderRow">
		<td class="TableHeaderCell"><h3>
	analysis
</h3></td>
		<a name="analysis"> <td class="TableHeaderCell" align="right"><a href="#top">Top</a></td>
	</tr>
</table>

<b>
	Comments:
</b>

<br />

<em>
	<br />
	$Id: companalysis.sql,v 1.37 2007-03-23 15:18:02 scottcain Exp $ <br />
	========================================== <br />
	Chado companalysis module <br />
	================================================================= <br />
	Dependencies: <br />
	:import feature from sequence <br />
	:import cvterm from cv <br />
	================================================================= <br />
	================================================ <br />
	TABLE: analysis <br />
	================================================ <br />
	An analysis is a particular type of a
	    computational analysis; it may be a blast of one sequence against
	    another, or an all by all blast, or a different kind of analysis
	    altogether. It is a single unit of computation. 
</em>

<table border="1">

<tr>
	<th class="FieldHeader">
		Field Name
	</th>
	<th class="FieldHeader">
		Data Type
	</th>
	<th class="FieldHeader">
		Size
	</th>
	<th class="FieldHeader">
		Default Value
	</th>
	<th class="FieldHeader">
		Other
	</th>
	<th class="FieldHeader">
		Foreign Key
	</th>
</tr>

<tr class="tr-odd">
	<td class="FieldCellName"><a name="analysis-analysis_id">analysis_id</a></td>
	<td class="FieldCellType">integer</td>
	<td class="FieldCellSize">11</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther">PRIMARY KEY, NOT NULL</td>
	<td class="FieldCellFK"></td>
</tr>

<tr class="tr-even">
	<td class="FieldCellName"><a name="analysis-name">name</a></td>
	<td class="FieldCellType">varchar</td>
	<td class="FieldCellSize">255</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther">A way of grouping analyses. This
    should be a handy short identifier that can help people find an
    analysis they want. For instance "tRNAscan", "cDNA", "FlyPep",
    "SwissProt", and it should not be assumed to be unique. For instance, there may be lots of separate analyses done against a cDNA database. </td>
	<td class="FieldCellFK"></td>
</tr>

<tr class="tr-odd">
	<td class="FieldCellName"><a name="analysis-description">description</a></td>
	<td class="FieldCellType">text</td>
	<td class="FieldCellSize">64000</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther"></td>
	<td class="FieldCellFK"></td>
</tr>

<tr class="tr-even">
	<td class="FieldCellName"><a name="analysis-program">program</a></td>
	<td class="FieldCellType">varchar</td>
	<td class="FieldCellSize">255</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther">UNIQUE, NOT NULL, Program name, e.g. blastx, blastp, sim4, genscan. </td>
	<td class="FieldCellFK"></td>
</tr>

<tr class="tr-odd">
	<td class="FieldCellName"><a name="analysis-programversion">programversion</a></td>
	<td class="FieldCellType">varchar</td>
	<td class="FieldCellSize">255</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther">UNIQUE, NOT NULL, Version description, e.g. TBLASTX 2.0MP-WashU [09-Nov-2000]. </td>
	<td class="FieldCellFK"></td>
</tr>

<tr class="tr-even">
	<td class="FieldCellName"><a name="analysis-algorithm">algorithm</a></td>
	<td class="FieldCellType">varchar</td>
	<td class="FieldCellSize">255</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther">Algorithm name, e.g. blast. </td>
	<td class="FieldCellFK"></td>
</tr>

<tr class="tr-odd">
	<td class="FieldCellName"><a name="analysis-sourcename">sourcename</a></td>
	<td class="FieldCellType">varchar</td>
	<td class="FieldCellSize">255</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther">UNIQUE, Source name, e.g. cDNA, SwissProt. </td>
	<td class="FieldCellFK"></td>
</tr>

<tr class="tr-even">
	<td class="FieldCellName"><a name="analysis-sourceversion">sourceversion</a></td>
	<td class="FieldCellType">varchar</td>
	<td class="FieldCellSize">255</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther"></td>
	<td class="FieldCellFK"></td>
</tr>

<tr class="tr-odd">
	<td class="FieldCellName"><a name="analysis-sourceuri">sourceuri</a></td>
	<td class="FieldCellType">text</td>
	<td class="FieldCellSize">64000</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther">This is an optional, permanent URL or URI for the source of the  analysis. The idea is that someone could recreate the analysis directly by going to this URI and fetching the source data (e.g. the blast database, or the training model). </td>
	<td class="FieldCellFK"></td>
</tr>

<tr class="tr-even">
	<td class="FieldCellName"><a name="analysis-timeexecuted">timeexecuted</a></td>
	<td class="FieldCellType">timestamp</td>
	<td class="FieldCellSize">0</td>
	<td class="FieldCellDefault">current_timestamp</td>
	<td class="FieldCellOther">NOT NULL</td>
	<td class="FieldCellFK"></td>
</tr>

</table>

<h3>
	Constraints
</h3>

<table border="1">

<tr class="IndexRow">
	<th>
		Type
	</th>
	<th>
		Fields
	</th>
</tr>

<tr class="IndexCell">
	<td>NOT NULL</td>
	<td>analysis_id</td>
</tr>

<tr class="IndexCell">
	<td>NOT NULL</td>
	<td>program</td>
</tr>

<tr class="IndexCell">
	<td>NOT NULL</td>
	<td>programversion</td>
</tr>

<tr class="IndexCell">
	<td>NOT NULL</td>
	<td>timeexecuted</td>
</tr>

<tr class="IndexCell">
	<td>UNIQUE</td>
	<td>program, programversion, sourcename</td>
</tr>

</table>

<hr />

<!-- 
	Starting table 'analysisprop'
 -->

<a name="analysisprop" />

<table class="TableHeader" width="100%">
	<tr class="TableHeaderRow">
		<td class="TableHeaderCell"><h3>
	analysisprop
</h3></td>
		<a name="analysisprop"> <td class="TableHeaderCell" align="right"><a href="#top">Top</a></td>
	</tr>
</table>

<b>
	Comments:
</b>

<br />

<em>
	<br />
	================================================ <br />
	TABLE: analysisprop <br />
	================================================
</em>

<table border="1">

<tr>
	<th class="FieldHeader">
		Field Name
	</th>
	<th class="FieldHeader">
		Data Type
	</th>
	<th class="FieldHeader">
		Size
	</th>
	<th class="FieldHeader">
		Default Value
	</th>
	<th class="FieldHeader">
		Other
	</th>
	<th class="FieldHeader">
		Foreign Key
	</th>
</tr>

<tr class="tr-odd">
	<td class="FieldCellName"><a name="analysisprop-analysisprop_id">analysisprop_id</a></td>
	<td class="FieldCellType">integer</td>
	<td class="FieldCellSize">11</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther">PRIMARY KEY, NOT NULL</td>
	<td class="FieldCellFK"></td>
</tr>

<tr class="tr-even">
	<td class="FieldCellName"><a name="analysisprop-analysis_id">analysis_id</a></td>
	<td class="FieldCellType">integer</td>
	<td class="FieldCellSize">10</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther">UNIQUE, NOT NULL</td>
	<td class="FieldCellFK"><a href="#analysis-analysis_id">analysis.analysis_id</a></td>
</tr>

<tr class="tr-odd">
	<td class="FieldCellName"><a name="analysisprop-type_id">type_id</a></td>
	<td class="FieldCellType">integer</td>
	<td class="FieldCellSize">10</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther">UNIQUE, NOT NULL</td>
	<td class="FieldCellFK"><a href="#cvterm-cvterm_id">cvterm.cvterm_id</a></td>
</tr>

<tr class="tr-even">
	<td class="FieldCellName"><a name="analysisprop-value">value</a></td>
	<td class="FieldCellType">text</td>
	<td class="FieldCellSize">64000</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther"></td>
	<td class="FieldCellFK"></td>
</tr>

<tr class="tr-odd">
	<td class="FieldCellName"><a name="analysisprop-rank">rank</a></td>
	<td class="FieldCellType">integer</td>
	<td class="FieldCellSize">10</td>
	<td class="FieldCellDefault">0</td>
	<td class="FieldCellOther">UNIQUE, NOT NULL</td>
	<td class="FieldCellFK"></td>
</tr>

</table>

<h3>
	Indices
</h3>

<table border="1">

<tr class="IndexRow">
	<th>
		Name
	</th>
	<th>
		Fields
	</th>
</tr>

<tr class="IndexCell">
	<td>analysisprop_idx1</td>
	<td>analysis_id</td>
</tr>

<tr class="IndexCell">
	<td>analysisprop_idx2</td>
	<td>type_id</td>
</tr>

</table>

<h3>
	Constraints
</h3>

<table border="1">

<tr class="IndexRow">
	<th>
		Type
	</th>
	<th>
		Fields
	</th>
</tr>

<tr class="IndexCell">
	<td>NOT NULL</td>
	<td>analysisprop_id</td>
</tr>

<tr class="IndexCell">
	<td>NOT NULL</td>
	<td>analysis_id</td>
</tr>

<tr class="IndexCell">
	<td>FOREIGN KEY</td>
	<td>analysis_id</td>
</tr>

<tr class="IndexCell">
	<td>NOT NULL</td>
	<td>type_id</td>
</tr>

<tr class="IndexCell">
	<td>FOREIGN KEY</td>
	<td>type_id</td>
</tr>

<tr class="IndexCell">
	<td>NOT NULL</td>
	<td>rank</td>
</tr>

<tr class="IndexCell">
	<td>UNIQUE</td>
	<td>analysis_id, type_id, rank</td>
</tr>

</table>

<hr />

<!-- 
	Starting table 'analysisfeature'
 -->

<a name="analysisfeature" />

<table class="TableHeader" width="100%">
	<tr class="TableHeaderRow">
		<td class="TableHeaderCell"><h3>
	analysisfeature
</h3></td>
		<a name="analysisfeature"> <td class="TableHeaderCell" align="right"><a href="#top">Top</a></td>
	</tr>
</table>

<b>
	Comments:
</b>

<br />

<em>
	<br />
	================================================ <br />
	TABLE: analysisfeature <br />
	================================================ <br />
	Computational analyses generate features (e.g. Genscan generates transcripts and exons; sim4 alignments generate similarity/match features). analysisfeatures are stored using the feature table from the sequence module. The analysisfeature table is used to decorate these features, with analysis specific attributes. A feature is an analysisfeature if and only if there is a corresponding entry in the analysisfeature table. analysisfeatures will have two or more featureloc entries,
	 with rank indicating query/subject 
</em>

<table border="1">

<tr>
	<th class="FieldHeader">
		Field Name
	</th>
	<th class="FieldHeader">
		Data Type
	</th>
	<th class="FieldHeader">
		Size
	</th>
	<th class="FieldHeader">
		Default Value
	</th>
	<th class="FieldHeader">
		Other
	</th>
	<th class="FieldHeader">
		Foreign Key
	</th>
</tr>

<tr class="tr-odd">
	<td class="FieldCellName"><a name="analysisfeature-analysisfeature_id">analysisfeature_id</a></td>
	<td class="FieldCellType">integer</td>
	<td class="FieldCellSize">11</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther">PRIMARY KEY, NOT NULL</td>
	<td class="FieldCellFK"></td>
</tr>

<tr class="tr-even">
	<td class="FieldCellName"><a name="analysisfeature-feature_id">feature_id</a></td>
	<td class="FieldCellType">integer</td>
	<td class="FieldCellSize">10</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther">UNIQUE, NOT NULL</td>
	<td class="FieldCellFK"><a href="#feature-feature_id">feature.feature_id</a></td>
</tr>

<tr class="tr-odd">
	<td class="FieldCellName"><a name="analysisfeature-analysis_id">analysis_id</a></td>
	<td class="FieldCellType">integer</td>
	<td class="FieldCellSize">10</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther">UNIQUE, NOT NULL</td>
	<td class="FieldCellFK"><a href="#analysis-analysis_id">analysis.analysis_id</a></td>
</tr>

<tr class="tr-even">
	<td class="FieldCellName"><a name="analysisfeature-rawscore">rawscore</a></td>
	<td class="FieldCellType">float</td>
	<td class="FieldCellSize">20</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther">This is the native score generated by the program; for example, the bitscore generated by blast, sim4 or genscan scores. One should not assume that high is necessarily better than low. </td>
	<td class="FieldCellFK"></td>
</tr>

<tr class="tr-odd">
	<td class="FieldCellName"><a name="analysisfeature-normscore">normscore</a></td>
	<td class="FieldCellType">float</td>
	<td class="FieldCellSize">20</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther">This is the rawscore but
    semi-normalized. Complete normalization to allow comparison of
    features generated by different programs would be nice but too
    difficult. Instead the normalization should strive to enforce the
    following semantics: * normscores are floating point numbers >= 0,
    * high normscores are better than low one. For most programs, it would be sufficient to make the normscore the same as this rawscore, providing these semantics are satisfied. </td>
	<td class="FieldCellFK"></td>
</tr>

<tr class="tr-even">
	<td class="FieldCellName"><a name="analysisfeature-significance">significance</a></td>
	<td class="FieldCellType">float</td>
	<td class="FieldCellSize">20</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther">This is some kind of expectation or probability metric, representing the probability that the analysis would appear randomly given the model. As such, any program or person querying this table can assume the following semantics:
   * 0 <= significance <= n, where n is a positive number, theoretically unbounded but unlikely to be more than 10
  * low numbers are better than high numbers. </td>
	<td class="FieldCellFK"></td>
</tr>

<tr class="tr-odd">
	<td class="FieldCellName"><a name="analysisfeature-identity">identity</a></td>
	<td class="FieldCellType">float</td>
	<td class="FieldCellSize">20</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther">Percent identity between the locations compared.  Note that these 4 metrics do not cover the full range of scores possible; it would be undesirable to list every score possible, as this should be kept extensible. instead, for non-standard scores, use the analysisprop table. </td>
	<td class="FieldCellFK"></td>
</tr>

</table>

<h3>
	Indices
</h3>

<table border="1">

<tr class="IndexRow">
	<th>
		Name
	</th>
	<th>
		Fields
	</th>
</tr>

<tr class="IndexCell">
	<td>analysisfeature_idx1</td>
	<td>feature_id</td>
</tr>

<tr class="IndexCell">
	<td>analysisfeature_idx2</td>
	<td>analysis_id</td>
</tr>

</table>

<h3>
	Constraints
</h3>

<table border="1">

<tr class="IndexRow">
	<th>
		Type
	</th>
	<th>
		Fields
	</th>
</tr>

<tr class="IndexCell">
	<td>NOT NULL</td>
	<td>analysisfeature_id</td>
</tr>

<tr class="IndexCell">
	<td>NOT NULL</td>
	<td>feature_id</td>
</tr>

<tr class="IndexCell">
	<td>FOREIGN KEY</td>
	<td>feature_id</td>
</tr>

<tr class="IndexCell">
	<td>NOT NULL</td>
	<td>analysis_id</td>
</tr>

<tr class="IndexCell">
	<td>FOREIGN KEY</td>
	<td>analysis_id</td>
</tr>

<tr class="IndexCell">
	<td>UNIQUE</td>
	<td>feature_id, analysis_id</td>
</tr>

</table>

<hr />

<!-- 
	Starting table 'analysisfeatureprop'
 -->

<a name="analysisfeatureprop" />

<table class="TableHeader" width="100%">
	<tr class="TableHeaderRow">
		<td class="TableHeaderCell"><h3>
	analysisfeatureprop
</h3></td>
		<a name="analysisfeatureprop"> <td class="TableHeaderCell" align="right"><a href="#top">Top</a></td>
	</tr>
</table>

<table border="1">

<tr>
	<th class="FieldHeader">
		Field Name
	</th>
	<th class="FieldHeader">
		Data Type
	</th>
	<th class="FieldHeader">
		Size
	</th>
	<th class="FieldHeader">
		Default Value
	</th>
	<th class="FieldHeader">
		Other
	</th>
	<th class="FieldHeader">
		Foreign Key
	</th>
</tr>

<tr class="tr-odd">
	<td class="FieldCellName"><a name="analysisfeatureprop-analysisfeatureprop_id">analysisfeatureprop_id</a></td>
	<td class="FieldCellType">integer</td>
	<td class="FieldCellSize">11</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther">PRIMARY KEY, NOT NULL</td>
	<td class="FieldCellFK"></td>
</tr>

<tr class="tr-even">
	<td class="FieldCellName"><a name="analysisfeatureprop-analysisfeature_id">analysisfeature_id</a></td>
	<td class="FieldCellType">integer</td>
	<td class="FieldCellSize">10</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther">UNIQUE, NOT NULL</td>
	<td class="FieldCellFK"><a href="#analysisfeature-analysisfeature_id">analysisfeature.analysisfeature_id</a></td>
</tr>

<tr class="tr-odd">
	<td class="FieldCellName"><a name="analysisfeatureprop-type_id">type_id</a></td>
	<td class="FieldCellType">integer</td>
	<td class="FieldCellSize">10</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther">UNIQUE, NOT NULL</td>
	<td class="FieldCellFK"><a href="#cvterm-cvterm_id">cvterm.cvterm_id</a></td>
</tr>

<tr class="tr-even">
	<td class="FieldCellName"><a name="analysisfeatureprop-value">value</a></td>
	<td class="FieldCellType">text</td>
	<td class="FieldCellSize">64000</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther"></td>
	<td class="FieldCellFK"></td>
</tr>

<tr class="tr-odd">
	<td class="FieldCellName"><a name="analysisfeatureprop-rank">rank</a></td>
	<td class="FieldCellType">integer</td>
	<td class="FieldCellSize">10</td>
	<td class="FieldCellDefault"></td>
	<td class="FieldCellOther">UNIQUE, NOT NULL</td>
	<td class="FieldCellFK"></td>
</tr>

</table>

<h3>
	Constraints
</h3>

<table border="1">

<tr class="IndexRow">
	<th>
		Type
	</th>
	<th>
		Fields
	</th>
</tr>

<tr class="IndexCell">
	<td>NOT NULL</td>
	<td>analysisfeature_id</td>
</tr>

<tr class="IndexCell">
	<td>FOREIGN KEY</td>
	<td>analysisfeature_id</td>
</tr>

<tr class="IndexCell">
	<td>NOT NULL</td>
	<td>type_id</td>
</tr>

<tr class="IndexCell">
	<td>FOREIGN KEY</td>
	<td>type_id</td>
</tr>

<tr class="IndexCell">
	<td>NOT NULL</td>
	<td>rank</td>
</tr>

<tr class="IndexCell">
	<td>UNIQUE</td>
	<td>analysisfeature_id, type_id, rank</td>
</tr>

<tr class="IndexCell">
	<td>FOREIGN KEY</td>
	<td>analysisfeature_id</td>
</tr>

<tr class="IndexCell">
	<td>FOREIGN KEY</td>
	<td>type_id</td>
</tr>

</table>

<hr />

Created by <a href="http://sqlfairy.sourceforge.net">
SQL::Translator 0.11003</a>

</body>
</html>