Tables |
| phenotype |
| phenotype_cvterm |
| feature_phenotype |
phenotype |
Top |
| Field Name | Data Type | Size | Default Value | Other | Foreign Key |
|---|---|---|---|---|---|
| phenotype_id | integer | 11 | PRIMARY KEY, NOT NULL | ||
| uniquename | text | 64000 | UNIQUE, NOT NULL | ||
| name | text | 64000 | null | ||
| observable_id | integer | 10 | The entity: e.g. anatomy_part, biological_process. | cvterm.cvterm_id | |
| attr_id | integer | 10 | Phenotypic attribute (quality, property, attribute, character) - drawn from PATO. | cvterm.cvterm_id | |
| value | text | 64000 | Value of attribute - unconstrained free text. Used only if cvalue_id is not appropriate. | ||
| cvalue_id | integer | 10 | Phenotype attribute value (state). | cvterm.cvterm_id | |
| assay_id | integer | 10 | Evidence type. | cvterm.cvterm_id |
| Name | Fields |
|---|---|
| phenotype_idx1 | cvalue_id |
| phenotype_idx2 | observable_id |
| phenotype_idx3 | attr_id |
| Type | Fields |
|---|---|
| NOT NULL | phenotype_id |
| NOT NULL | uniquename |
| FOREIGN KEY | observable_id |
| FOREIGN KEY | attr_id |
| FOREIGN KEY | cvalue_id |
| FOREIGN KEY | assay_id |
| UNIQUE | uniquename |
phenotype_cvterm |
Top |
| Field Name | Data Type | Size | Default Value | Other | Foreign Key |
|---|---|---|---|---|---|
| phenotype_cvterm_id | integer | 11 | PRIMARY KEY, NOT NULL | ||
| phenotype_id | integer | 10 | UNIQUE, NOT NULL | phenotype.phenotype_id | |
| cvterm_id | integer | 10 | UNIQUE, NOT NULL | cvterm.cvterm_id | |
| rank | integer | 10 | 0 | UNIQUE, NOT NULL |
| Name | Fields |
|---|---|
| phenotype_cvterm_idx1 | phenotype_id |
| phenotype_cvterm_idx2 | cvterm_id |
| Type | Fields |
|---|---|
| NOT NULL | phenotype_cvterm_id |
| NOT NULL | phenotype_id |
| FOREIGN KEY | phenotype_id |
| NOT NULL | cvterm_id |
| FOREIGN KEY | cvterm_id |
| NOT NULL | rank |
| UNIQUE | phenotype_id, cvterm_id, rank |
feature_phenotype |
Top |
| Field Name | Data Type | Size | Default Value | Other | Foreign Key |
|---|---|---|---|---|---|
| feature_phenotype_id | integer | 11 | PRIMARY KEY, NOT NULL | ||
| feature_id | integer | 10 | UNIQUE, NOT NULL | feature.feature_id | |
| phenotype_id | integer | 10 | UNIQUE, NOT NULL | phenotype.phenotype_id |
| Name | Fields |
|---|---|
| feature_phenotype_idx1 | feature_id |
| feature_phenotype_idx2 | phenotype_id |
| Type | Fields |
|---|---|
| NOT NULL | feature_phenotype_id |
| NOT NULL | feature_id |
| FOREIGN KEY | feature_id |
| NOT NULL | phenotype_id |
| FOREIGN KEY | phenotype_id |
| UNIQUE | feature_id, phenotype_id |