annotate taxonomyStructure.sql @ 0:4ecb2ce50254 draft default tip

Uploaded
author stheil
date Mon, 26 Oct 2015 10:59:07 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
1 -- MySQL dump 10.13 Distrib 5.5.31, for debian-linux-gnu (x86_64)
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
2 --
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
3 -- Host: localhost Database: taxonomy
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
4 -- ------------------------------------------------------
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
5 -- Server version 5.5.31-0ubuntu0.12.04.2
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
6
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
7 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
8 /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
9 /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
10 /*!40101 SET NAMES utf8 */;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
11 /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
12 /*!40103 SET TIME_ZONE='+00:00' */;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
13 /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
14 /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
15 /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
16 /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
17
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
18 --
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
19 -- Table structure for table `gi_taxid_nucl`
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
20 --
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
21 PRAGMA encoding = "UTF-8";
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
22 PRAGMA default_synchronous = OFF;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
23 CREATE TABLE `gi_taxid_nucl` (
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
24 `gi` double NOT NULL,
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
25 `tax_id` double NOT NULL,
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
26 PRIMARY KEY (`gi`)
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
27 ) ;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
28 /*!40101 SET character_set_client = @saved_cs_client */;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
29
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
30 --
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
31 -- Table structure for table `gi_taxid_prot`
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
32 --
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
33
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
34
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
35 CREATE TABLE `gi_taxid_prot` (
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
36 `gi` double NOT NULL,
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
37 `tax_id` double NOT NULL,
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
38 PRIMARY KEY (`gi`)
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
39 ) ;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
40 /*!40101 SET character_set_client = @saved_cs_client */;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
41
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
42 --
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
43 -- Table structure for table `names`
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
44 --
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
45
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
46
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
47 CREATE TABLE `names` (
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
48 `tax_id` int unsigned NOT NULL DEFAULT '0',
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
49 `name_txt` varchar(255) NOT NULL DEFAULT '',
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
50 `unique_name` varchar(255) DEFAULT NULL,
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
51 `name_class` varchar(32) NOT NULL DEFAULT ''
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
52 ) ;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
53 /*!40101 SET character_set_client = @saved_cs_client */;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
54
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
55
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
56 --
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
57 -- Table structure for table `nodes`
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
58 --
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
59
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
60
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
61 CREATE TABLE `nodes` (
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
62 `tax_id` int unsigned NOT NULL DEFAULT '0',
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
63 `parent_tax_id` int unsigned NOT NULL DEFAULT '0',
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
64 `rank` varchar(32) DEFAULT NULL,
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
65 `embl_code` varchar(16) DEFAULT NULL,
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
66 `division_id` int NOT NULL DEFAULT '0',
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
67 `inherited_div_flag` int NOT NULL DEFAULT '0',
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
68 `genetic_code_id` int NOT NULL DEFAULT '0',
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
69 `inherited_GC_flag` int NOT NULL DEFAULT '0',
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
70 `mitochondrial_genetic_code_id` int NOT NULL DEFAULT '0',
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
71 `inherited_MGC_flag` int NOT NULL DEFAULT '0',
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
72 `GenBank_hidden_flag` int NOT NULL DEFAULT '0',
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
73 `hidden_subtree_root_flag` int NOT NULL DEFAULT '0',
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
74 `comments` varchar(255) DEFAULT NULL,
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
75 PRIMARY KEY (`tax_id`)
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
76 ) ;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
77
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
78
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
79 /*!40101 SET character_set_client = @saved_cs_client */;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
80 /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
81
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
82 /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
83 /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
84 /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
85 /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
86 /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
87 /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
88 /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
89
4ecb2ce50254 Uploaded
stheil
parents:
diff changeset
90 -- Dump completed on 2013-07-02 10:17:11