Difference between revisions of "Template:ChadoTable feature genotype"

From GMOD
Jump to: navigation, search
(Table definition, first upload on 2010/11/22.)
 
(Table definition for Chado on 2010/11/24)
 
Line 1: Line 1:
<noinclude>{{ChadoTableTemplateHeader}}</noinclude><protect>{{ChadoTableDesc|Genetic|feature_genotype|}}
+
<protect><noinclude>{{ChadoTableTemplateHeader}}</noinclude>
 +
{{ChadoTableDesc|Genetic|feature_genotype|}}
 
{{ChadoColumnsHeader|Genetic|feature_genotype}}
 
{{ChadoColumnsHeader|Genetic|feature_genotype}}
{{ChadoColumnDesc||feature_genotype_id|serial|''PRIMARY KEY''
+
{{ChadoColumnDesc||feature_genotype_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|Genetic|genotype}}|genotype_id|integer|''UNIQUE#1''
+
{{ChadoColumnDesc|{{ChadoModuleTableLink|Genetic|genotype}}|genotype_id|integer|''UNIQUE#1''<br />
 
+
''NOT NULL''<br />
''NOT NULL''
+
 
+
 
}}
 
}}
{{ChadoColumnDesc|{{ChadoModuleTableLink|Sequence|feature}}|chromosome_id|integer|''UNIQUE#1''
+
{{ChadoColumnDesc|{{ChadoModuleTableLink|Sequence|feature}}|chromosome_id|integer|''UNIQUE#1''<br />
 
+
 
A feature of SO type &quot;chromosome&quot;.}}
 
A feature of SO type &quot;chromosome&quot;.}}
{{ChadoColumnDesc||rank|integer|''UNIQUE#1''
+
{{ChadoColumnDesc||rank|integer|''UNIQUE#1''<br />
 
+
''NOT NULL''<br />
''NOT NULL''
+
 
+
 
rank can be used for
 
rank can be used for
 
n-ploid organisms or to preserve order.}}
 
n-ploid organisms or to preserve order.}}
{{ChadoColumnDesc||cgroup|integer|''UNIQUE#1''
+
{{ChadoColumnDesc||cgroup|integer|''UNIQUE#1''<br />
 
+
''NOT NULL''<br />
''NOT NULL''
+
 
+
 
Spatially distinguishable
 
Spatially distinguishable
 
group. group can be used for distinguishing the chromosomal groups,
 
group. group can be used for distinguishing the chromosomal groups,
 
for example (RNAi products and so on can be treated as different
 
for example (RNAi products and so on can be treated as different
 
groups, as they do not fall on a particular chromosome).}}
 
groups, as they do not fall on a particular chromosome).}}
{{ChadoColumnDesc|{{ChadoModuleTableLink|CV|cvterm}}|cvterm_id|integer|''UNIQUE#1''
+
{{ChadoColumnDesc|{{ChadoModuleTableLink|CV|cvterm}}|cvterm_id|integer|''UNIQUE#1''<br />
 
+
''NOT NULL''<br />
''NOT NULL''
+
 
+
 
}}
 
}}
 
{{ChadoColumnsFooter}}
 
{{ChadoColumnsFooter}}
  
 
{{ChadoTablesReferencingHeader|feature_genotype}}
 
{{ChadoTablesReferencingHeader|feature_genotype}}
 
+
* None.</protect>
* None.
+
</protect>
+

Latest revision as of 19:23, 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:

  1. The module page for the module the table is a part of. This is where updates and comments should be posted.
  2. The Chado Tables page, which lists all tables.

You can include this template anywhere you want to show the table description.


Table: feature_genotype
Module: Genetic


feature_genotype columns
FK Name Type Description
feature_genotype_id serial PRIMARY KEY
feature feature_id integer UNIQUE#1

NOT NULL

genotype genotype_id integer UNIQUE#1

NOT NULL

feature chromosome_id integer UNIQUE#1

A feature of SO type "chromosome".

rank integer UNIQUE#1

NOT NULL
rank can be used for n-ploid organisms or to preserve order.

cgroup integer UNIQUE#1

NOT NULL
Spatially distinguishable group. group can be used for distinguishing the chromosomal groups, for example (RNAi products and so on can be treated as different groups, as they do not fall on a particular chromosome).

cvterm cvterm_id integer UNIQUE#1

NOT NULL


Tables referencing feature_genotype via foreign key constraints:

  • None.