zmarina.sql 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. /*
  2. Source Server Type : MySQL
  3. Source Server Version : 50558
  4. Source Database : zmarina
  5. Target Server Type : MySQL
  6. Target Server Version : 50558
  7. File Encoding : utf-8
  8. Date: 12/04/2017 18:55:49 PM
  9. */
  10. SET NAMES utf8;
  11. SET FOREIGN_KEY_CHECKS = 0;
  12. -- ----------------------------
  13. -- Table structure for `defaultgenebaskets`
  14. -- ----------------------------
  15. DROP TABLE IF EXISTS `defaultgenebaskets`;
  16. CREATE TABLE `defaultgenebaskets` (
  17. `gene_basket_id` int(10) NOT NULL,
  18. `ip` varchar(255) CHARACTER SET utf8 NOT NULL DEFAULT '',
  19. `time` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP
  20. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  21. -- ----------------------------
  22. -- Table structure for `gene_atg`
  23. -- ----------------------------
  24. DROP TABLE IF EXISTS `gene_atg`;
  25. CREATE TABLE `gene_atg` (
  26. `gene_id` varchar(255) NOT NULL,
  27. `atg_description` varchar(255) DEFAULT NULL,
  28. `atg_id` varchar(24) NOT NULL,
  29. `gene_i` mediumint(11) unsigned NOT NULL,
  30. PRIMARY KEY (`gene_i`,`gene_id`),
  31. KEY `transcript_id` (`gene_id`),
  32. KEY `atg_id` (`atg_id`)
  33. ) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
  34. -- ----------------------------
  35. -- Table structure for `gene_go`
  36. -- ----------------------------
  37. DROP TABLE IF EXISTS `gene_go`;
  38. CREATE TABLE `gene_go` (
  39. `gene_id` varchar(255) NOT NULL,
  40. `go_description` varchar(255) DEFAULT NULL,
  41. `go_id` varchar(24) NOT NULL,
  42. `gene_i` mediumint(11) unsigned NOT NULL,
  43. PRIMARY KEY (`gene_i`,`gene_id`),
  44. KEY `atg_id` (`go_id`),
  45. KEY `transcript_id` (`gene_i`) USING BTREE
  46. ) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
  47. -- ----------------------------
  48. -- Table structure for `gene_info`
  49. -- ----------------------------
  50. DROP TABLE IF EXISTS `gene_info`;
  51. CREATE TABLE `gene_info` (
  52. `gene_id` varchar(60) NOT NULL,
  53. `chromosome_name` varchar(16) NOT NULL,
  54. `gene_start` int(16) unsigned NOT NULL,
  55. `gene_end` int(16) unsigned NOT NULL,
  56. `description` varchar(255) DEFAULT '',
  57. `gene_i` mediumint(20) NOT NULL AUTO_INCREMENT,
  58. PRIMARY KEY (`gene_id`,`gene_i`),
  59. KEY `gene_id` (`gene_id`)
  60. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  61. -- ----------------------------
  62. -- Table structure for `gene_kegg`
  63. -- ----------------------------
  64. DROP TABLE IF EXISTS `gene_kegg`;
  65. CREATE TABLE `gene_kegg` (
  66. `gene_id` varchar(255) NOT NULL,
  67. `kegg_description` varchar(255) DEFAULT NULL,
  68. `kegg_id` varchar(24) NOT NULL,
  69. `gene_i` mediumint(11) unsigned NOT NULL,
  70. PRIMARY KEY (`gene_i`,`gene_id`),
  71. KEY `transcript_id` (`gene_id`),
  72. KEY `atg_id` (`kegg_id`)
  73. ) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
  74. -- ----------------------------
  75. -- Table structure for `gene_pfam`
  76. -- ----------------------------
  77. DROP TABLE IF EXISTS `gene_pfam`;
  78. CREATE TABLE `gene_pfam` (
  79. `gene_id` varchar(255) NOT NULL,
  80. `pfam_description` varchar(255) DEFAULT NULL,
  81. `pfam_id` varchar(24) NOT NULL,
  82. `gene_i` mediumint(11) unsigned NOT NULL,
  83. PRIMARY KEY (`gene_id`,`gene_i`),
  84. KEY `atg_id` (`pfam_id`),
  85. KEY `transcript_id` (`gene_i`) USING BTREE
  86. ) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
  87. -- ----------------------------
  88. -- Table structure for `genebaskets`
  89. -- ----------------------------
  90. DROP TABLE IF EXISTS `genebaskets`;
  91. CREATE TABLE `genebaskets` (
  92. `gene_basket_id` int(10) NOT NULL AUTO_INCREMENT,
  93. `gene_basket_name` varchar(100) COLLATE latin1_general_ci NOT NULL,
  94. `harga` bigint(16) NOT NULL,
  95. `genelist` mediumtext COLLATE latin1_general_ci,
  96. `ip` varchar(255) CHARACTER SET utf8 DEFAULT NULL,
  97. `time` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  98. PRIMARY KEY (`gene_basket_id`)
  99. ) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
  100. -- ----------------------------
  101. -- Table structure for `sequence_color`
  102. -- ----------------------------
  103. DROP TABLE IF EXISTS `sequence_color`;
  104. CREATE TABLE `sequence_color` (
  105. `id` varchar(255) DEFAULT NULL,
  106. `scaffold` varchar(255) DEFAULT NULL,
  107. `feature` varchar(255) DEFAULT NULL,
  108. `start_point` varchar(255) DEFAULT NULL,
  109. `end_point` varchar(255) DEFAULT NULL
  110. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  111. -- ----------------------------
  112. -- Table structure for `share_table`
  113. -- ----------------------------
  114. DROP TABLE IF EXISTS `share_table`;
  115. CREATE TABLE `share_table` (
  116. `gene_basket_id` int(10) NOT NULL AUTO_INCREMENT,
  117. `gene_basket_name` varchar(100) COLLATE latin1_general_ci NOT NULL,
  118. `harga` bigint(16) NOT NULL,
  119. `genelist` mediumtext COLLATE latin1_general_ci,
  120. `ip` varchar(255) COLLATE latin1_general_ci DEFAULT NULL,
  121. `time` timestamp NULL DEFAULT NULL,
  122. `randid` varchar(255) COLLATE latin1_general_ci DEFAULT NULL,
  123. PRIMARY KEY (`gene_basket_id`)
  124. ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
  125. -- ----------------------------
  126. -- Table structure for `transcript_atg`
  127. -- ----------------------------
  128. DROP TABLE IF EXISTS `transcript_atg`;
  129. CREATE TABLE `transcript_atg` (
  130. `transcript_id` varchar(255) NOT NULL,
  131. `atg_id` varchar(24) NOT NULL,
  132. `transcript_i` mediumint(11) unsigned NOT NULL,
  133. `description` varchar(255) DEFAULT NULL,
  134. PRIMARY KEY (`transcript_i`,`transcript_id`),
  135. KEY `transcript_id` (`transcript_id`),
  136. KEY `atg_id` (`atg_id`)
  137. ) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
  138. -- ----------------------------
  139. -- Table structure for `transcript_info`
  140. -- ----------------------------
  141. DROP TABLE IF EXISTS `transcript_info`;
  142. CREATE TABLE `transcript_info` (
  143. `transcript_id` varchar(255) NOT NULL DEFAULT '',
  144. `gene_id` varchar(60) NOT NULL,
  145. `description` varchar(255) DEFAULT '',
  146. `chromosome_name` varchar(16) NOT NULL,
  147. `strand` varchar(2) NOT NULL,
  148. `gene_start` int(16) unsigned NOT NULL,
  149. `gene_end` int(16) unsigned NOT NULL,
  150. `pac_id` varchar(20) DEFAULT NULL,
  151. `peptide_name` varchar(50) DEFAULT NULL,
  152. `transcript_start` int(16) unsigned NOT NULL,
  153. `transcript_end` int(16) unsigned NOT NULL,
  154. `transcript_i` mediumint(20) unsigned NOT NULL AUTO_INCREMENT,
  155. `gene_i` mediumint(20) DEFAULT NULL,
  156. PRIMARY KEY (`transcript_i`,`transcript_id`),
  157. KEY `transcript_id` (`transcript_id`),
  158. KEY `transcript_i` (`transcript_i`)
  159. ) ENGINE=MyISAM AUTO_INCREMENT=20451 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC;
  160. -- ----------------------------
  161. -- Table structure for `transcript_potri`
  162. -- ----------------------------
  163. DROP TABLE IF EXISTS `transcript_potri`;
  164. CREATE TABLE `transcript_potri` (
  165. `transcript_id` varchar(255) NOT NULL,
  166. `potri_id` varchar(24) NOT NULL,
  167. `transcript_i` mediumint(11) unsigned NOT NULL,
  168. PRIMARY KEY (`transcript_i`,`transcript_id`),
  169. KEY `transcript_id` (`transcript_id`),
  170. KEY `potri_id` (`potri_id`)
  171. ) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
  172. SET FOREIGN_KEY_CHECKS = 1;