Difference between revisions of "Template:ChadoTable feature cvterm"
(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|Sequence|feature_cvterm|Associate a term from a cv with a feature, for example, GO annotation.}} | ||
{{ChadoColumnsHeader|Sequence|feature_cvterm}} | {{ChadoColumnsHeader|Sequence|feature_cvterm}} | ||
− | {{ChadoColumnDesc||feature_cvterm_id|serial|''PRIMARY KEY'' | + | {{ChadoColumnDesc||feature_cvterm_id|serial|''PRIMARY KEY''<br /> |
− | + | ||
}} | }} | ||
− | {{ChadoColumnDesc|{{ChadoModuleTableLink|Sequence|feature}}|feature_id|integer|''UNIQUE#1'' | + | {{ChadoColumnDesc|{{ChadoModuleTableLink|Sequence|feature}}|feature_id|integer|''UNIQUE#1''<br /> |
− | + | ''NOT NULL''<br /> | |
− | ''NOT NULL'' | + | |
− | + | ||
}} | }} | ||
− | {{ChadoColumnDesc|{{ChadoModuleTableLink|CV|cvterm}}|cvterm_id|integer|''UNIQUE#1'' | + | {{ChadoColumnDesc|{{ChadoModuleTableLink|CV|cvterm}}|cvterm_id|integer|''UNIQUE#1''<br /> |
− | + | ''NOT NULL''<br /> | |
− | ''NOT NULL'' | + | |
− | + | ||
}} | }} | ||
− | {{ChadoColumnDesc|{{ChadoModuleTableLink|Publication|pub}}|pub_id|integer|''UNIQUE#1'' | + | {{ChadoColumnDesc|{{ChadoModuleTableLink|Publication|pub}}|pub_id|integer|''UNIQUE#1''<br /> |
− | + | ''NOT NULL''<br /> | |
− | ''NOT NULL'' | + | |
− | + | ||
Provenance for the annotation. Each annotation should have a single primary publication (which may be of the appropriate type for computational analyses) where more details can be found. Additional provenance dbxrefs can be attached using feature_cvterm_dbxref.}} | Provenance for the annotation. Each annotation should have a single primary publication (which may be of the appropriate type for computational analyses) where more details can be found. Additional provenance dbxrefs can be attached using feature_cvterm_dbxref.}} | ||
− | {{ChadoColumnDesc||is_not|boolean|''NOT NULL'' | + | {{ChadoColumnDesc||is_not|boolean|''NOT NULL''<br /> |
− | + | ''DEFAULT ''false<br /> | |
− | ''DEFAULT ''false | + | |
− | + | ||
If this is set to true, then this annotation is interpreted as a NEGATIVE annotation - i.e. the feature does NOT have the specified function, process, component, part, etc. See GO docs for more details.}} | If this is set to true, then this annotation is interpreted as a NEGATIVE annotation - i.e. the feature does NOT have the specified function, process, component, part, etc. See GO docs for more details.}} | ||
− | {{ChadoColumnDesc||rank|integer|''UNIQUE#1'' | + | {{ChadoColumnDesc||rank|integer|''UNIQUE#1''<br /> |
− | + | ''NOT NULL''<br /> | |
− | ''NOT NULL'' | + | |
− | + | ||
}} | }} | ||
{{ChadoColumnsFooter}} | {{ChadoColumnsFooter}} | ||
{{ChadoTablesReferencingHeader|feature_cvterm}} | {{ChadoTablesReferencingHeader|feature_cvterm}} | ||
− | + | * {{ChadoReferencingTable|Sequence|feature_cvterm_dbxref}} | |
− | * | + | * {{ChadoReferencingTable|Sequence|feature_cvterm_pub}} |
+ | * {{ChadoReferencingTable|Sequence|feature_cvtermprop}} | ||
</protect> | </protect> |
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: | feature_cvterm |
Module: | Sequence |
Associate a term from a cv with a feature, for example, GO annotation.
FK | Name | Type | Description |
---|---|---|---|
feature_cvterm_id | serial | PRIMARY KEY | |
feature | feature_id | integer | UNIQUE#1 NOT NULL |
cvterm | cvterm_id | integer | UNIQUE#1 NOT NULL |
pub | pub_id | integer | UNIQUE#1 NOT NULL |
is_not | boolean | NOT NULL DEFAULT false | |
rank | integer | UNIQUE#1 NOT NULL
|
Tables referencing feature_cvterm via foreign key constraints: