Difference between revisions of "Template:ChadoTable phylonode relationship"
From GMOD
(Table definition, first upload on 2010/11/22.) |
(Table definition for Chado on 2010/11/24) |
||
Line 1: | Line 1: | ||
− | <noinclude>{{ChadoTableTemplateHeader}}</noinclude> | + | <protect><noinclude>{{ChadoTableTemplateHeader}}</noinclude> |
+ | {{ChadoTableDesc|Phylogeny|phylonode_relationship|This is for | ||
relationships that are not strictly hierarchical; for example, | relationships that are not strictly hierarchical; for example, | ||
horizontal gene transfer. Most phylogenetic trees are strictly | horizontal gene transfer. Most phylogenetic trees are strictly | ||
hierarchical, nevertheless it is here for completeness.}} | hierarchical, nevertheless it is here for completeness.}} | ||
{{ChadoColumnsHeader|Phylogeny|phylonode_relationship}} | {{ChadoColumnsHeader|Phylogeny|phylonode_relationship}} | ||
− | {{ChadoColumnDesc||phylonode_relationship_id|serial|''PRIMARY KEY'' | + | {{ChadoColumnDesc||phylonode_relationship_id|serial|''PRIMARY KEY''<br /> |
− | + | ||
}} | }} | ||
− | {{ChadoColumnDesc|{{ChadoModuleTableLink|Phylogeny|phylonode}}|subject_id|integer|''UNIQUE#1'' | + | {{ChadoColumnDesc|{{ChadoModuleTableLink|Phylogeny|phylonode}}|subject_id|integer|''UNIQUE#1''<br /> |
− | + | ''NOT NULL''<br /> | |
− | ''NOT NULL'' | + | |
− | + | ||
}} | }} | ||
− | {{ChadoColumnDesc|{{ChadoModuleTableLink|Phylogeny|phylonode}}|object_id|integer|''UNIQUE#1'' | + | {{ChadoColumnDesc|{{ChadoModuleTableLink|Phylogeny|phylonode}}|object_id|integer|''UNIQUE#1''<br /> |
− | + | ''NOT NULL''<br /> | |
− | ''NOT NULL'' | + | |
− | + | ||
}} | }} | ||
− | {{ChadoColumnDesc|{{ChadoModuleTableLink|CV|cvterm}}|type_id|integer|''UNIQUE#1'' | + | {{ChadoColumnDesc|{{ChadoModuleTableLink|CV|cvterm}}|type_id|integer|''UNIQUE#1''<br /> |
− | + | ''NOT NULL''<br /> | |
− | ''NOT NULL'' | + | |
− | + | ||
}} | }} | ||
{{ChadoColumnDesc||rank|integer|}} | {{ChadoColumnDesc||rank|integer|}} | ||
− | {{ChadoColumnDesc|{{ChadoModuleTableLink|Phylogeny|phylotree}}|phylotree_id|integer|''NOT NULL'' | + | {{ChadoColumnDesc|{{ChadoModuleTableLink|Phylogeny|phylotree}}|phylotree_id|integer|''NOT NULL''<br /> |
− | + | ||
}} | }} | ||
{{ChadoColumnsFooter}} | {{ChadoColumnsFooter}} | ||
{{ChadoTablesReferencingHeader|phylonode_relationship}} | {{ChadoTablesReferencingHeader|phylonode_relationship}} | ||
− | + | * None.</protect> | |
− | * None. | + | |
− | </protect> | + |
Latest revision as of 19:21, 24 November 2010
This template is a Chado Table Template. It defines a single table from the Chado schema, and every Chado table has a template like this one. This template is automatically included in two places:
- The module page for the module the table is a part of. This is where updates and comments should be posted.
- The Chado Tables page, which lists all tables.
You can include this template anywhere you want to show the table description.
Table: | phylonode_relationship |
Module: | Phylogeny |
This is for relationships that are not strictly hierarchical; for example, horizontal gene transfer. Most phylogenetic trees are strictly hierarchical, nevertheless it is here for completeness.
FK | Name | Type | Description |
---|---|---|---|
phylonode_relationship_id | serial | PRIMARY KEY | |
phylonode | subject_id | integer | UNIQUE#1 NOT NULL |
phylonode | object_id | integer | UNIQUE#1 NOT NULL |
cvterm | type_id | integer | UNIQUE#1 NOT NULL |
rank | integer | ||
phylotree | phylotree_id | integer | NOT NULL
|
Tables referencing phylonode_relationship via foreign key constraints:
- None.