Difference between revisions of "Chado Phenotype Module"

From GMOD
Jump to: navigation, search
m
m (Introduction)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Introduction==
+
=Introduction=
  
 +
{{NeedsEditing}}
  
==Tables==
+
Chris Mungall's 2006 [[Media:02-chado-for-nescent-2006.pdf|Chado for evolutionary science]] presentation discusses the Phenotype module.
  
 +
=Tables=
  
===phenotype===
+
== Table: feature_phenotype ==
  
a phenotypic statement, or a single atomic phenotypic observation a controlled sentence describing
+
{| border="1" cellpadding="3"
observable effect of non-wt function – e.g. Obs=eye, attribute=color, cvalue=red
+
|+ feature_phenotype Structure
 +
|-
 +
! F-Key
 +
! Name
 +
! Type
 +
! Description
 +
|- class="tr0"
 +
|
 +
| feature_phenotype_id
 +
| serial
 +
| '' PRIMARY KEY ''
 +
|- class="tr1"
 +
|
 +
[[Chado_Tables#Table:_feature| feature]]
 +
| feature_id
 +
| integer
 +
| '' UNIQUE#1 NOT NULL ''
 +
|- class="tr0"
 +
|
 +
[[Chado_Tables#Table:_phenotype| phenotype]]
 +
| phenotype_id
 +
| integer
 +
| '' UNIQUE#1 NOT NULL ''
 +
|}
  
 +
----
  
Table 4.42: phenotype
 
  
Column  Datatype Description
 
phenotype id  integer
 
uniquename text
 
observable id integer  The entity: e.g. anatomy part, biological process
 
attr id integer  Phenotypic attribute (quality, property, attribute,
 
character) - drawn from PATO
 
valuetext  value of attribute - unconstrained free text. Used
 
only if cvalue id is not appropriate
 
cvalue id  integer  Phenotype attribute value (state)
 
assay idinteger  evidence type
 
  
 +
== Table: phenotype ==
  
===phenotype_cvterm===
+
A phenotypic statement, or a single atomic phenotypic observation, is a controlled sentence describing observable effects of non-wild type function. E.g. Obs=eye, attribute=color, cvalue=red.
  
 +
{| border="1" cellpadding="3"
 +
|+ phenotype Structure
 +
|-
 +
! F-Key
 +
! Name
 +
! Type
 +
! Description
 +
|- class="tr0"
 +
|
 +
| phenotype_id
 +
| serial
 +
| '' PRIMARY KEY ''
 +
|- class="tr1"
 +
|
 +
| uniquename
 +
| text
 +
| '' UNIQUE NOT NULL ''
 +
|- class="tr0"
 +
|
 +
[[Chado_Tables#Table:_cvterm| cvterm]]
 +
| observable_id
 +
| integer
 +
| '' ''<br /><br />The entity: e.g. anatomy_part, biological_process.
 +
|- class="tr1"
 +
|
 +
[[Chado_Tables#Table:_cvterm| cvterm]]
 +
| attr_id
 +
| integer
 +
| '' ''<br /><br />Phenotypic attribute (quality, property, attribute, character) - drawn from PATO.
 +
|- class="tr0"
 +
|
 +
| value
 +
| text
 +
| '' ''<br /><br />Value of attribute - unconstrained free text. Used only if cvalue_id is not appropriate.
 +
|- class="tr1"
 +
|
 +
[[Chado_Tables#Table:_cvterm| cvterm]]
 +
| cvalue_id
 +
| integer
 +
| '' ''<br /><br />Phenotype attribute value (state).
 +
|- class="tr0"
 +
|
 +
[[Chado_Tables#Table:_cvterm| cvterm]]
 +
| assay_id
 +
| integer
 +
| '' ''<br /><br />Evidence type
 +
|}
  
NULL
+
Tables referencing this one via Foreign Key Constraints:
  
 +
* [[Chado_Tables#Table:_feature_phenotype| feature_phenotype]]
  
  Table 4.43: phenotype cvterm
+
* [[Chado_Tables#Table:_phenotype_comparison| phenotype_comparison]]
  
  Column  Datatype Description
+
* [[Chado_Tables#Table:_phenotype_cvterm| phenotype_cvterm]]
  phenotype cvterm id integer
+
  phenotype id  integer
+
  cvterm id  integer
+
  
 +
* [[Chado_Tables#Table:_phenstatement| phenstatement]]
  
===feature_phenotype===
+
* [[Chado_Tables#Table:_wwwuser_phenotype| wwwuser_phenotype]]
  
NULL
+
----
  
  
Table 4.44: feature phenotype
 
  
  ColumnDatatype Description
+
== Table: phenotype_cvterm ==
  feature phenotype id integer
+
 
  feature id  integer
+
{| border="1" cellpadding="3"
  phenotype idinteger
+
|+ phenotype_cvterm Structure
 +
|-
 +
! F-Key
 +
! Name
 +
! Type
 +
! Description
 +
|- class="tr0"
 +
|
 +
| phenotype_cvterm_id
 +
| serial
 +
| '' PRIMARY KEY ''
 +
|- class="tr1"
 +
|
 +
[[Chado_Tables#Table:_phenotype| phenotype]]
 +
| phenotype_id
 +
| integer
 +
| '' UNIQUE#1 NOT NULL ''
 +
|- class="tr0"
 +
|
 +
[[Chado_Tables#Table:_cvterm| cvterm]]
 +
| cvterm_id
 +
| integer
 +
| '' UNIQUE#1 NOT NULL ''
 +
|}
 +
 
 +
----
 +
 
  
 
[[Category:Chado]]
 
[[Category:Chado]]
[[Category:To Do]]
+
[[Category:Phenotypes]]

Latest revision as of 21:11, 6 February 2008

Introduction

This page or section needs to be edited. Please help by editing this page to add your revisions or additions.

Chris Mungall's 2006 Chado for evolutionary science presentation discusses the Phenotype module.

Tables

Table: feature_phenotype

feature_phenotype Structure
F-Key Name Type Description
feature_phenotype_id serial PRIMARY KEY

feature

feature_id integer UNIQUE#1 NOT NULL

phenotype

phenotype_id integer UNIQUE#1 NOT NULL


Table: phenotype

A phenotypic statement, or a single atomic phenotypic observation, is a controlled sentence describing observable effects of non-wild type function. E.g. Obs=eye, attribute=color, cvalue=red.

phenotype Structure
F-Key Name Type Description
phenotype_id serial PRIMARY KEY
uniquename text UNIQUE NOT NULL

cvterm

observable_id integer

The entity: e.g. anatomy_part, biological_process.

cvterm

attr_id integer

Phenotypic attribute (quality, property, attribute, character) - drawn from PATO.
value text

Value of attribute - unconstrained free text. Used only if cvalue_id is not appropriate.

cvterm

cvalue_id integer

Phenotype attribute value (state).

cvterm

assay_id integer

Evidence type

Tables referencing this one via Foreign Key Constraints:



Table: phenotype_cvterm

phenotype_cvterm Structure
F-Key Name Type Description
phenotype_cvterm_id serial PRIMARY KEY

phenotype

phenotype_id integer UNIQUE#1 NOT NULL

cvterm

cvterm_id integer UNIQUE#1 NOT NULL