Difference between revisions of "Chado Organism Module"
From GMOD
m (New page: ==Introduction== ==Tables== ===organism=== The organismal taxonomic classification. Note that phylogenies are represented using the phylogeny module, and taxonomies can be represented...) |
m |
||
Line 1: | Line 1: | ||
+ | =Introduction= | ||
− | |||
+ | =Tables= | ||
− | == | + | == Table: organism == |
− | + | The organismal taxonomic classification. Note that phylogenies are represented using the phylogeny module, and taxonomies can be represented using the cvterm module or the phylogeny module. | |
− | + | {| border="1" cellpadding="3" | |
+ | |+ organism Structure | ||
+ | |- | ||
+ | ! F-Key | ||
+ | ! Name | ||
+ | ! Type | ||
+ | ! Description | ||
+ | |- class="tr0" | ||
+ | | | ||
+ | | organism_id | ||
+ | | serial | ||
+ | | '' PRIMARY KEY '' | ||
+ | |- class="tr1" | ||
+ | | | ||
+ | | abbreviation | ||
+ | | character varying(255) | ||
+ | | '' '' | ||
+ | |- class="tr0" | ||
+ | | | ||
+ | | genus | ||
+ | | character varying(255) | ||
+ | | '' UNIQUE#1 NOT NULL '' | ||
+ | |- class="tr1" | ||
+ | | | ||
+ | | species | ||
+ | | character varying(255) | ||
+ | | '' UNIQUE#1 NOT NULL ''<br /><br />A type of organism is always uniquely identified by genus and species. When mapping from the NCBI taxonomy names.dmp file, the unique-name column must be used where it is present, as the name column is not always unique (eg environmental samples). If a particular strain or subspecies is to be represented, this is appended onto the species name. Follows standard NCBI taxonomy pattern | ||
+ | |- class="tr0" | ||
+ | | | ||
+ | | common_name | ||
+ | | character varying(255) | ||
+ | | '' '' | ||
+ | |- class="tr1" | ||
+ | | | ||
+ | | comment | ||
+ | | text | ||
+ | | '' '' | ||
+ | |} | ||
− | + | Tables referencing this one via Foreign Key Constraints: | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | * [[Chado_Tables#Table:_biomaterial| biomaterial]] | ||
− | + | * [[Chado_Tables#Table:_feature| feature]] | |
− | + | * [[Chado_Tables#Table:_library| library]] | |
− | + | ||
− | + | ||
− | + | ||
+ | * [[Chado_Tables#Table:_organism_dbxref| organism_dbxref]] | ||
− | + | * [[Chado_Tables#Table:_organism_relationship| organism_relationship]] | |
− | + | * [[Chado_Tables#Table:_organismpath| organismpath]] | |
− | + | * [[Chado_Tables#Table:_organismprop| organismprop]] | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | * [[Chado_Tables#Table:_phylonode_organism| phylonode_organism]] | ||
− | + | * [[Chado_Tables#Table:_stock| stock]] | |
− | + | * [[Chado_Tables#Table:_wwwuser_organism| wwwuser_organism]] | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | ---- | ||
− | |||
− | + | ||
− | + | == Table: organism_dbxref == | |
− | subject_id integer | + | |
− | object_id integer | + | {| border="1" cellpadding="3" |
− | + | |+ organism_dbxref Structure | |
− | + | |- | |
+ | ! F-Key | ||
+ | ! Name | ||
+ | ! Type | ||
+ | ! Description | ||
+ | |- class="tr0" | ||
+ | | | ||
+ | | organism_dbxref_id | ||
+ | | serial | ||
+ | | '' PRIMARY KEY '' | ||
+ | |- class="tr1" | ||
+ | | | ||
+ | [[Chado_Tables#Table:_organism| organism]] | ||
+ | | organism_id | ||
+ | | integer | ||
+ | | '' UNIQUE#1 NOT NULL '' | ||
+ | |- class="tr0" | ||
+ | | | ||
+ | [[Chado_Tables#Table:_dbxref| dbxref]] | ||
+ | | dbxref_id | ||
+ | | integer | ||
+ | | '' UNIQUE#1 NOT NULL '' | ||
+ | |} | ||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | |||
+ | == Table: organism_relationship == | ||
+ | |||
+ | {| border="1" cellpadding="3" | ||
+ | |+ organism_relationship Structure | ||
+ | |- | ||
+ | ! F-Key | ||
+ | ! Name | ||
+ | ! Type | ||
+ | ! Description | ||
+ | |- class="tr0" | ||
+ | | | ||
+ | | organism_relationship_id | ||
+ | | serial | ||
+ | | '' PRIMARY KEY '' | ||
+ | |- class="tr1" | ||
+ | | | ||
+ | [[Chado_Tables#Table:_organism| organism]] | ||
+ | | subject_id | ||
+ | | integer | ||
+ | | '' UNIQUE#1 NOT NULL '' | ||
+ | |- class="tr0" | ||
+ | | | ||
+ | [[Chado_Tables#Table:_organism| organism]] | ||
+ | | object_id | ||
+ | | integer | ||
+ | | '' UNIQUE#1 NOT NULL '' | ||
+ | |- class="tr1" | ||
+ | | | ||
+ | [[Chado_Tables#Table:_cvterm| cvterm]] | ||
+ | | type_id | ||
+ | | integer | ||
+ | | '' UNIQUE#1 NOT NULL '' | ||
+ | |} | ||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | |||
+ | == Table: organismpath == | ||
+ | |||
+ | {| border="1" cellpadding="3" | ||
+ | |+ organismpath Structure | ||
+ | |- | ||
+ | ! F-Key | ||
+ | ! Name | ||
+ | ! Type | ||
+ | ! Description | ||
+ | |- class="tr0" | ||
+ | | | ||
+ | | organismpath_id | ||
+ | | serial | ||
+ | | '' PRIMARY KEY '' | ||
+ | |- class="tr1" | ||
+ | | | ||
+ | [[Chado_Tables#Table:_organism| organism]] | ||
+ | | subject_id | ||
+ | | integer | ||
+ | | '' UNIQUE#1 NOT NULL '' | ||
+ | |- class="tr0" | ||
+ | | | ||
+ | [[Chado_Tables#Table:_organism| organism]] | ||
+ | | object_id | ||
+ | | integer | ||
+ | | '' UNIQUE#1 NOT NULL '' | ||
+ | |- class="tr1" | ||
+ | | | ||
+ | [[Chado_Tables#Table:_cvterm| cvterm]] | ||
+ | | type_id | ||
+ | | integer | ||
+ | | '' UNIQUE#1 NOT NULL '' | ||
+ | |- class="tr0" | ||
+ | | | ||
+ | | pathdistance | ||
+ | | integer | ||
+ | | '' UNIQUE#1 '' | ||
+ | |} | ||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | |||
+ | == Table: organismprop == | ||
+ | |||
+ | Tag-value properties - follows standard chado model. | ||
+ | |||
+ | {| border="1" cellpadding="3" | ||
+ | |+ organismprop Structure | ||
+ | |- | ||
+ | ! F-Key | ||
+ | ! Name | ||
+ | ! Type | ||
+ | ! Description | ||
+ | |- class="tr0" | ||
+ | | | ||
+ | | organismprop_id | ||
+ | | serial | ||
+ | | '' PRIMARY KEY '' | ||
+ | |- class="tr1" | ||
+ | | | ||
+ | [[Chado_Tables#Table:_organism| organism]] | ||
+ | | organism_id | ||
+ | | integer | ||
+ | | '' UNIQUE#1 NOT NULL '' | ||
+ | |- class="tr0" | ||
+ | | | ||
+ | [[Chado_Tables#Table:_cvterm| cvterm]] | ||
+ | | type_id | ||
+ | | integer | ||
+ | | '' UNIQUE#1 NOT NULL '' | ||
+ | |- class="tr1" | ||
+ | | | ||
+ | | value | ||
+ | | text | ||
+ | | '' '' | ||
+ | |- class="tr0" | ||
+ | | | ||
+ | | rank | ||
+ | | integer | ||
+ | | '' UNIQUE#1 NOT NULL '' | ||
+ | |} | ||
+ | |||
+ | ---- | ||
[[Category:Chado]] | [[Category:Chado]] | ||
[[Category:To Do]] | [[Category:To Do]] |
Revision as of 03:53, 1 March 2007
Contents
Introduction
Tables
Table: organism
The organismal taxonomic classification. Note that phylogenies are represented using the phylogeny module, and taxonomies can be represented using the cvterm module or the phylogeny module.
F-Key | Name | Type | Description |
---|---|---|---|
organism_id | serial | PRIMARY KEY | |
abbreviation | character varying(255) | ||
genus | character varying(255) | UNIQUE#1 NOT NULL | |
species | character varying(255) | UNIQUE#1 NOT NULL A type of organism is always uniquely identified by genus and species. When mapping from the NCBI taxonomy names.dmp file, the unique-name column must be used where it is present, as the name column is not always unique (eg environmental samples). If a particular strain or subspecies is to be represented, this is appended onto the species name. Follows standard NCBI taxonomy pattern | |
common_name | character varying(255) | ||
comment | text |
Tables referencing this one via Foreign Key Constraints:
Table: organism_dbxref
F-Key | Name | Type | Description |
---|---|---|---|
organism_dbxref_id | serial | PRIMARY KEY | |
organism_id | integer | UNIQUE#1 NOT NULL | |
dbxref_id | integer | UNIQUE#1 NOT NULL |
Table: organism_relationship
F-Key | Name | Type | Description |
---|---|---|---|
organism_relationship_id | serial | PRIMARY KEY | |
subject_id | integer | UNIQUE#1 NOT NULL | |
object_id | integer | UNIQUE#1 NOT NULL | |
type_id | integer | UNIQUE#1 NOT NULL |
Table: organismpath
F-Key | Name | Type | Description |
---|---|---|---|
organismpath_id | serial | PRIMARY KEY | |
subject_id | integer | UNIQUE#1 NOT NULL | |
object_id | integer | UNIQUE#1 NOT NULL | |
type_id | integer | UNIQUE#1 NOT NULL | |
pathdistance | integer | UNIQUE#1 |
Table: organismprop
Tag-value properties - follows standard chado model.
F-Key | Name | Type | Description |
---|---|---|---|
organismprop_id | serial | PRIMARY KEY | |
organism_id | integer | UNIQUE#1 NOT NULL | |
type_id | integer | UNIQUE#1 NOT NULL | |
value | text | ||
rank | integer | UNIQUE#1 NOT NULL |