Tables |
organism |
organism_dbxref |
organismprop |
organism |
Top |
Field Name | Data Type | Size | Default Value | Other | Foreign Key |
---|---|---|---|---|---|
organism_id | integer | 11 | PRIMARY KEY, NOT NULL | ||
abbreviation | varchar | 255 | NULL | ||
genus | varchar | 255 | UNIQUE, NOT NULL | ||
species | varchar | 255 | UNIQUE, NOT NULL, A type of organism is always uniquely identified by genus and species. When mapping from the NCBI taxonomy names.dmp file, this column must be used where it is present, as the common_name column is not always unique (e.g. 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 | varchar | 255 | NULL | ||
comment | text | 64000 | NULL |
Type | Fields |
---|---|
NOT NULL | organism_id |
NOT NULL | genus |
NOT NULL | species |
UNIQUE | genus, species |
organism_dbxref |
Top |
Field Name | Data Type | Size | Default Value | Other | Foreign Key |
---|---|---|---|---|---|
organism_dbxref_id | integer | 11 | PRIMARY KEY, NOT NULL | ||
organism_id | integer | 10 | UNIQUE, NOT NULL | organism.organism_id | |
dbxref_id | integer | 10 | UNIQUE, NOT NULL | dbxref.dbxref_id |
Name | Fields |
---|---|
organism_dbxref_idx1 | organism_id |
organism_dbxref_idx2 | dbxref_id |
Type | Fields |
---|---|
NOT NULL | organism_dbxref_id |
NOT NULL | organism_id |
FOREIGN KEY | organism_id |
NOT NULL | dbxref_id |
FOREIGN KEY | dbxref_id |
UNIQUE | organism_id, dbxref_id |
organismprop |
Top |
Field Name | Data Type | Size | Default Value | Other | Foreign Key |
---|---|---|---|---|---|
organismprop_id | integer | 11 | PRIMARY KEY, NOT NULL | ||
organism_id | integer | 10 | UNIQUE, NOT NULL | organism.organism_id | |
type_id | integer | 10 | UNIQUE, NOT NULL | cvterm.cvterm_id | |
value | text | 64000 | NULL | ||
rank | integer | 10 | 0 | UNIQUE, NOT NULL |
Name | Fields |
---|---|
organismprop_idx1 | organism_id |
organismprop_idx2 | type_id |
Type | Fields |
---|---|
NOT NULL | organismprop_id |
NOT NULL | organism_id |
FOREIGN KEY | organism_id |
NOT NULL | type_id |
FOREIGN KEY | type_id |
NOT NULL | rank |
UNIQUE | organism_id, type_id, rank |