Difference between revisions of "Chado Phenotype Module"

From GMOD
Jump to: navigation, search
m (New page: ==Introduction== ==Tables== ===phenstatement=== Phenotypes are things like ”larval lethal”. Phenstatements are things like ”dpp[1] is recessive larval lethal”. So essentially...)
 
m (Introduction)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
=Introduction=
  
==Introduction==
+
{{NeedsEditing}}
  
 +
Chris Mungall's 2006 [[Media:02-chado-for-nescent-2006.pdf|Chado for evolutionary science]] presentation discusses the Phenotype module.
  
==Tables==
+
=Tables=
  
 +
== Table: feature_phenotype ==
  
===phenstatement===
+
{| border="1" cellpadding="3"
 +
|+ 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 ''
 +
|}
  
Phenotypes are things like ”larval lethal”. Phenstatements are things like ”dpp[1] is recessive
+
----
larval lethal”. So essentially phenstatement is a linking table expressing the relationship between
+
genotype, environment, and phenotype.
+
  
  
  Table 4.39: phenstatement
 
  
Column  DatatypeDescription
+
== Table: phenotype ==
phenstatement id integer
+
genotype idinteger
+
environment idinteger
+
phenotype id  integer
+
type id integer
+
pub id  integer
+
  
 +
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.
  
===phendesc===
+
{| 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
 +
|}
  
a summary of a set of phenotypic statements for any one gcontext made in any one publication
+
Tables referencing this one via Foreign Key Constraints:
  
 +
* [[Chado_Tables#Table:_feature_phenotype| feature_phenotype]]
  
Table 4.40: phendesc
+
* [[Chado_Tables#Table:_phenotype_comparison| phenotype_comparison]]
  
ColumnDatatype Description
+
* [[Chado_Tables#Table:_phenotype_cvterm| phenotype_cvterm]]
phendesc id integer
+
genotype id integer
+
environment id integer
+
description text
+
pub idinteger
+
  
 +
* [[Chado_Tables#Table:_phenstatement| phenstatement]]
  
===phenotype_comparison===
+
* [[Chado_Tables#Table:_wwwuser_phenotype| wwwuser_phenotype]]
  
comparison of phenotypes eg, genotype1/environment1/phenotype1 ”non-suppressible” wrt geno-
+
----
type2/environment2/phenotype2
+
  
  
Table 4.41: phenotype comparison
 
  
ColumnDatatype Description
+
== Table: phenotype_cvterm ==
phenotype comparison id integer
+
genotype1 idinteger
+
environment1 idinteger
+
genotype2 idinteger
+
environment2 idinteger
+
phenotype1 id  integer
+
phenotype2 id  integer
+
type id  integer
+
pub idinteger
+
  
 +
{| border="1" cellpadding="3"
 +
|+ 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 ''
 +
|}
  
===phenotype===
+
----
  
a phenotypic statement, or a single atomic phenotypic observation a controlled sentence describing
 
observable effect of non-wt function – e.g. Obs=eye, attribute=color, cvalue=red
 
 
 
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
 
 
 
===phenotype_cvterm===
 
 
 
NULL
 
 
 
  Table 4.43: phenotype cvterm
 
 
  Column  Datatype Description
 
  phenotype cvterm id integer
 
  phenotype id  integer
 
  cvterm id  integer
 
 
 
===feature_phenotype===
 
 
NULL
 
 
 
Table 4.44: feature phenotype
 
 
  ColumnDatatype Description
 
  feature phenotype id integer
 
  feature id  integer
 
  phenotype idinteger
 
  
 
[[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