Commit 6607f485 authored by Dan Staines's avatar Dan Staines
Browse files

patched to v70

parent 0e2e6383
-- MySQL dump 10.13 Distrib 5.1.61, for redhat-linux-gnu (x86_64)
--
-- Host: mysql-eg-devel-1.ebi.ac.uk Database: homo_sapiens_core_test_db
-- ------------------------------------------------------
-- Server version 5.1.49-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `alt_allele`
--
DROP TABLE IF EXISTS `alt_allele`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `alt_allele` (
`alt_allele_id` int(11) NOT NULL auto_increment,
`gene_id` int(11) NOT NULL default '0',
`is_ref` BOOLEAN NOT NULL DEFAULT '0',
`alt_allele_id` int(11) NOT NULL AUTO_INCREMENT,
`gene_id` int(11) NOT NULL DEFAULT '0',
`is_ref` tinyint(1) NOT NULL DEFAULT '0',
UNIQUE KEY `gene_idx` (`gene_id`),
UNIQUE KEY `allele_idx` (`alt_allele_id`,`gene_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_bin;
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COLLATE=latin1_bin;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2012-11-05 10:52:10
-- MySQL dump 10.13 Distrib 5.1.61, for redhat-linux-gnu (x86_64)
--
-- Host: mysql-eg-devel-1.ebi.ac.uk Database: homo_sapiens_core_test_db
-- ------------------------------------------------------
-- Server version 5.1.49-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `analysis`
--
DROP TABLE IF EXISTS `analysis`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `analysis` (
`analysis_id` int(10) unsigned NOT NULL auto_increment,
`created` datetime NOT NULL default '0000-00-00 00:00:00',
`logic_name` varchar(40) collate latin1_bin NOT NULL default '',
`db` varchar(120) collate latin1_bin default NULL,
`db_version` varchar(40) collate latin1_bin default NULL,
`db_file` varchar(120) collate latin1_bin default NULL,
`program` varchar(80) collate latin1_bin default NULL,
`program_version` varchar(40) collate latin1_bin default NULL,
`program_file` varchar(80) collate latin1_bin default NULL,
`parameters` text collate latin1_bin,
`module` varchar(80) collate latin1_bin default NULL,
`module_version` varchar(40) collate latin1_bin default NULL,
`gff_source` varchar(40) collate latin1_bin default NULL,
`gff_feature` varchar(40) collate latin1_bin default NULL,
PRIMARY KEY (`analysis_id`),
`analysis_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`logic_name` varchar(40) COLLATE latin1_bin NOT NULL DEFAULT '',
`db` varchar(120) COLLATE latin1_bin DEFAULT NULL,
`db_version` varchar(40) COLLATE latin1_bin DEFAULT NULL,
`db_file` varchar(120) COLLATE latin1_bin DEFAULT NULL,
`program` varchar(80) COLLATE latin1_bin DEFAULT NULL,
`program_version` varchar(40) COLLATE latin1_bin DEFAULT NULL,
`program_file` varchar(80) COLLATE latin1_bin DEFAULT NULL,
`parameters` text COLLATE latin1_bin,
`module` varchar(80) COLLATE latin1_bin DEFAULT NULL,
`module_version` varchar(40) COLLATE latin1_bin DEFAULT NULL,
`gff_source` varchar(40) COLLATE latin1_bin DEFAULT NULL,
`gff_feature` varchar(40) COLLATE latin1_bin DEFAULT NULL,
PRIMARY KEY (`analysis_id`),
UNIQUE KEY `logic_name` (`logic_name`),
KEY `logic_name_idx` (`logic_name`)
) ENGINE=MyISAM AUTO_INCREMENT=1504 DEFAULT CHARSET=latin1 COLLATE=latin1_bin;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2012-11-05 10:52:10
CREATE TABLE `analysis_description` (
`analysis_id` int(10) unsigned NOT NULL default '0',
`description` text collate latin1_bin,
`display_label` varchar(255) collate latin1_bin default NULL,
`displayable` BOOLEAN NOT NULL DEFAULT 1,
`web_data` TEXT,
-- MySQL dump 10.13 Distrib 5.1.61, for redhat-linux-gnu (x86_64)
--
-- Host: mysql-eg-devel-1.ebi.ac.uk Database: homo_sapiens_core_test_db
-- ------------------------------------------------------
-- Server version 5.1.49-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `analysis_description`
--
DROP TABLE IF EXISTS `analysis_description`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `analysis_description` (
`analysis_id` int(10) unsigned NOT NULL DEFAULT '0',
`description` text COLLATE latin1_bin,
`display_label` varchar(255) COLLATE latin1_bin DEFAULT NULL,
`displayable` tinyint(1) NOT NULL DEFAULT '1',
`web_data` text COLLATE latin1_bin,
KEY `analysis_idx` (`analysis_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_bin;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2012-11-05 10:52:10
1282 Genes were annotated by the Ensembl automatic analysis pipeline using either a GeneWise model from a human/vertebrate protein, a set of aligned human cDNAs followed by GenomeWise for ORF prediction or from Genscan exons supported by protein, cDNA and EST evidence. GeneWise models are further combined with available aligned cDNAs to annotate UTRs. ensembl transcript 1 web data 1
1503 new description new label 0 web data 2
1504 updated description \N 0 web data 3
1282 Genes were annotated by the Ensembl automatic analysis pipeline using either a GeneWise model from a human/vertebrate protein, a set of aligned human cDNAs followed by GenomeWise for ORF prediction or from Genscan exons supported by protein, cDNA and EST evidence. GeneWise models are further combined with available aligned cDNAs to annotate UTRs. ensembl transcript 1 web data 1 0 \N
1503 new description new label 0 0 \N
1504 updated description N 0 0 \N
-- MySQL dump 10.13 Distrib 5.1.61, for redhat-linux-gnu (x86_64)
--
-- Host: mysql-eg-devel-1.ebi.ac.uk Database: homo_sapiens_core_test_db
-- ------------------------------------------------------
-- Server version 5.1.49-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `assembly`
--
DROP TABLE IF EXISTS `assembly`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `assembly` (
`asm_seq_region_id` int(10) unsigned NOT NULL default '0',
`cmp_seq_region_id` int(10) unsigned NOT NULL default '0',
`asm_start` int(10) NOT NULL default '0',
`asm_end` int(10) NOT NULL default '0',
`cmp_start` int(10) NOT NULL default '0',
`cmp_end` int(10) NOT NULL default '0',
`ori` tinyint(4) NOT NULL default '0',
`asm_seq_region_id` int(10) unsigned NOT NULL DEFAULT '0',
`cmp_seq_region_id` int(10) unsigned NOT NULL DEFAULT '0',
`asm_start` int(10) NOT NULL DEFAULT '0',
`asm_end` int(10) NOT NULL DEFAULT '0',
`cmp_start` int(10) NOT NULL DEFAULT '0',
`cmp_end` int(10) NOT NULL DEFAULT '0',
`ori` tinyint(4) NOT NULL DEFAULT '0',
UNIQUE KEY `all_idx` (`asm_seq_region_id`,`cmp_seq_region_id`,`asm_start`,`asm_end`,`cmp_start`,`cmp_end`,`ori`),
KEY `cmp_seq_region_id` (`cmp_seq_region_id`),
KEY `asm_seq_region_id` (`asm_seq_region_id`,`asm_start`),
UNIQUE KEY all_idx (asm_seq_region_id, cmp_seq_region_id, asm_start, asm_end, cmp_start, cmp_end, ori)
KEY `asm_seq_region_id` (`asm_seq_region_id`,`asm_start`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_bin;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2012-11-05 10:52:10
469271 965905 1 200 10 209 1
469271 965905 201 400 401 600 -1
469282 965905 1 100 701 800 -1
469283 317101 30263615 30426490 101 162976 1
469283 317332 30811187 30929959 101 118873 1
469283 317348 31086734 31205532 101 118899 1
......@@ -10,34 +13,31 @@
469283 368744 30249935 30263614 101 13780 1
469283 376992 31205533 31254640 101 49208 1
469283 469270 30929960 30993468 101 63609 1
469341 376992 1 49208 1 49208 1
469339 318770 1 84710 1 84710 1
469336 345105 1 18376 1 18376 1
469335 319456 1 93365 1 93365 1
469343 469270 1 63609 1 63609 1
469333 317523 1 111694 1 111694 1
469340 339816 1 25010 1 25010 1
469342 319047 1 145414 1 145414 1
469338 368744 1 13780 1 13780 1
469332 317348 1 118899 1 118899 1
469333 317523 1 111694 1 111694 1
469334 317101 1 162976 1 162976 1
469335 319456 1 93365 1 93365 1
469336 345105 1 18376 1 18376 1
469337 317332 1 118873 1 118873 1
469348 368744 657970 671649 101 13780 1
469338 368744 1 13780 1 13780 1
469339 318770 1 84710 1 84710 1
469340 339816 1 25010 1 25010 1
469341 376992 1 49208 1 49208 1
469342 319047 1 145414 1 145414 1
469343 469270 1 63609 1 63609 1
469348 317101 671650 834525 101 162976 1
469348 339816 834526 859435 101 25010 1
469348 317332 1219222 1337994 101 118873 1
469348 317348 1494769 1613567 101 118899 1
469348 317523 859436 971029 101 111694 1
469348 319047 971030 1116235 101 145306 1
469348 345105 1116236 1134611 1 18376 1
469348 318770 1134612 1219221 101 84710 1
469348 317332 1219222 1337994 101 118873 1
469348 469270 1337995 1401503 101 63609 1
469348 319047 971030 1116235 101 145306 1
469348 319456 1401504 1494768 101 93365 1
469348 317348 1494769 1613567 101 118899 1
469348 339816 834526 859435 101 25010 1
469348 345105 1116236 1134611 1 18376 1
469348 368744 657970 671649 101 13780 1
469348 376992 1613568 1662675 101 49208 1
469348 469270 1337995 1401503 101 63609 1
965899 965888 1 16571 1 16571 1
469271 965905 1 200 10 209 1
469271 965905 201 400 401 600 -1
469282 965905 1 100 701 800 -1
965906 469283 563 3444 31222465 31225346 1
965906 469283 397 562 31214121 31214286 1
965906 469283 100 396 31210077 31210373 1
965906 469283 397 562 31214121 31214286 1
965906 469283 563 3444 31222465 31225346 1
-- MySQL dump 10.13 Distrib 5.1.61, for redhat-linux-gnu (x86_64)
--
-- Host: mysql-eg-devel-1.ebi.ac.uk Database: homo_sapiens_core_test_db
-- ------------------------------------------------------
-- Server version 5.1.49-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `assembly_exception`
--
DROP TABLE IF EXISTS `assembly_exception`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `assembly_exception` (
`assembly_exception_id` int(10) unsigned NOT NULL auto_increment,
`seq_region_id` int(11) NOT NULL default '0',
`seq_region_start` int(11) NOT NULL default '0',
`seq_region_end` int(11) NOT NULL default '0',
`exc_type` enum('HAP','PAR','PATCH_NOVEL','PATCH_FIX') collate latin1_bin NOT NULL default 'HAP',
`exc_seq_region_id` int(11) NOT NULL default '0',
`exc_seq_region_start` int(11) NOT NULL default '0',
`exc_seq_region_end` int(11) NOT NULL default '0',
`ori` int(11) NOT NULL default '0',
PRIMARY KEY (`assembly_exception_id`),
`assembly_exception_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`seq_region_id` int(11) NOT NULL DEFAULT '0',
`seq_region_start` int(11) NOT NULL DEFAULT '0',
`seq_region_end` int(11) NOT NULL DEFAULT '0',
`exc_type` enum('HAP','PAR','PATCH_NOVEL','PATCH_FIX') COLLATE latin1_bin NOT NULL DEFAULT 'HAP',
`exc_seq_region_id` int(11) NOT NULL DEFAULT '0',
`exc_seq_region_start` int(11) NOT NULL DEFAULT '0',
`exc_seq_region_end` int(11) NOT NULL DEFAULT '0',
`ori` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`assembly_exception_id`),
KEY `sr_idx` (`seq_region_id`,`seq_region_start`),
KEY `ex_idx` (`exc_seq_region_id`,`exc_seq_region_start`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_bin;
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COLLATE=latin1_bin;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2012-11-05 10:52:10
-- MySQL dump 10.13 Distrib 5.1.61, for redhat-linux-gnu (x86_64)
--
-- Host: mysql-eg-devel-1.ebi.ac.uk Database: homo_sapiens_core_test_db
-- ------------------------------------------------------
-- Server version 5.1.49-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `attrib_type`
--
DROP TABLE IF EXISTS `attrib_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `attrib_type` (
`attrib_type_id` smallint(5) unsigned NOT NULL auto_increment,
`code` varchar(15) collate latin1_bin NOT NULL default '',
`name` varchar(255) collate latin1_bin NOT NULL default '',
`description` text collate latin1_bin,
PRIMARY KEY (`attrib_type_id`),
`attrib_type_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
`code` varchar(15) COLLATE latin1_bin NOT NULL DEFAULT '',
`name` varchar(255) COLLATE latin1_bin NOT NULL DEFAULT '',
`description` text COLLATE latin1_bin,
PRIMARY KEY (`attrib_type_id`),
UNIQUE KEY `c` (`code`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_bin;
) ENGINE=MyISAM AUTO_INCREMENT=19 DEFAULT CHARSET=latin1 COLLATE=latin1_bin;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2012-11-05 10:52:10
......@@ -15,4 +15,4 @@
15 _rna_edit RNA editing \N
16 _selenocysteine Selenocysteine \N
17 codon_table Codon Table Alternate codon table
18 non_ref Non Reference Non Reference Sequence Region
\ No newline at end of file
18 non_ref Non Reference Non Reference Sequence Region
-- MySQL dump 10.13 Distrib 5.1.61, for redhat-linux-gnu (x86_64)
--
-- Host: mysql-eg-devel-1.ebi.ac.uk Database: homo_sapiens_core_test_db
-- ------------------------------------------------------
-- Server version 5.1.49-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `coord_system`
--
DROP TABLE IF EXISTS `coord_system`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `coord_system` (
`coord_system_id` int(10) unsigned NOT NULL auto_increment,
`species_id` int(10) unsigned NOT NULL default '1',
`coord_system_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`species_id` int(10) unsigned NOT NULL DEFAULT '1',
`name` varchar(40) NOT NULL,
`version` varchar(255) default NULL,
`version` varchar(255) DEFAULT NULL,
`rank` int(11) NOT NULL,
`attrib` set('default_version','sequence_level') default NULL,
PRIMARY KEY (`coord_system_id`),
`attrib` set('default_version','sequence_level') DEFAULT NULL,
PRIMARY KEY (`coord_system_id`),
UNIQUE KEY `rank_idx` (`rank`,`species_id`),
UNIQUE KEY `name_idx` (`name`,`version`,`species_id`),
KEY `species_idx` (`species_id`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2012-11-05 10:52:10
-- MySQL dump 10.13 Distrib 5.1.61, for redhat-linux-gnu (x86_64)
--
-- Host: mysql-eg-devel-1.ebi.ac.uk Database: homo_sapiens_core_test_db
-- ------------------------------------------------------
-- Server version 5.1.49-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `data_file`
--
DROP TABLE IF EXISTS `data_file`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `data_file` (
`data_file_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`coord_system_id` int(11) NOT NULL,
`analysis_id` int(11) NOT NULL,
`data_file_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`coord_system_id` int(10) unsigned NOT NULL,
`analysis_id` smallint(5) unsigned NOT NULL,
`name` varchar(100) NOT NULL,
`version_lock` tinyint(1) NOT NULL DEFAULT '0',
`absolute` tinyint(1) NOT NULL DEFAULT '0',
......@@ -11,4 +33,15 @@ CREATE TABLE `data_file` (
UNIQUE KEY `df_unq_idx` (`coord_system_id`,`analysis_id`,`name`,`file_type`),
KEY `df_name_idx` (`name`),
KEY `df_analysis_idx` (`analysis_id`)
);
\ No newline at end of file
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2012-11-05 10:52:10
-- MySQL dump 10.13 Distrib 5.1.61, for redhat-linux-gnu (x86_64)
--
-- Host: mysql-eg-devel-1.ebi.ac.uk Database: homo_sapiens_core_test_db
-- ------------------------------------------------------
-- Server version 5.1.49-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `density_feature`
--
DROP TABLE IF EXISTS `density_feature`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `density_feature` (
`density_feature_id` int(11) NOT NULL auto_increment,
`density_type_id` int(11) NOT NULL default '0',
`seq_region_id` int(11) NOT NULL default '0',
`seq_region_start` int(11) NOT NULL default '0',
`seq_region_end` int(11) NOT NULL default '0',
`density_value` float NOT NULL default '0',
PRIMARY KEY (`density_feature_id`),
`density_feature_id` int(11) NOT NULL AUTO_INCREMENT,
`density_type_id` int(11) NOT NULL DEFAULT '0',
`seq_region_id` int(11) NOT NULL DEFAULT '0',
`seq_region_start` int(11) NOT NULL DEFAULT '0',
`seq_region_end` int(11) NOT NULL DEFAULT '0',
`density_value` float NOT NULL DEFAULT '0',
PRIMARY KEY (`density_feature_id`),
KEY `seq_region_idx` (`density_type_id`,`seq_region_id`,`seq_region_start`),
KEY `seq_region_id_idx` (`seq_region_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_bin;
) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=latin1 COLLATE=latin1_bin;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2012-11-05 10:52:10
-- MySQL dump 10.13 Distrib 5.1.61, for redhat-linux-gnu (x86_64)
--
-- Host: mysql-eg-devel-1.ebi.ac.uk Database: homo_sapiens_core_test_db
-- ------------------------------------------------------
-- Server version 5.1.49-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `density_type`
--
DROP TABLE IF EXISTS `density_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `density_type` (
`density_type_id` int(11) NOT NULL auto_increment,