egrandis_demo_nodata.sql 7.4 KB

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