Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-gh-mirror
ensembl
Commits
f6c8e55a
Commit
f6c8e55a
authored
Feb 16, 2018
by
Tiago Grego
Browse files
patched test databases with patch_92_93_b.sql
parent
de8e5bd4
Changes
29
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
210 additions
and
14 deletions
+210
-14
modules/t/test-genome-DBs/circ/core/SQLite/table.sql
modules/t/test-genome-DBs/circ/core/SQLite/table.sql
+17
-1
modules/t/test-genome-DBs/circ/core/meta.txt
modules/t/test-genome-DBs/circ/core/meta.txt
+1
-0
modules/t/test-genome-DBs/circ/core/table.sql
modules/t/test-genome-DBs/circ/core/table.sql
+14
-1
modules/t/test-genome-DBs/homo_sapiens/core/SQLite/table.sql
modules/t/test-genome-DBs/homo_sapiens/core/SQLite/table.sql
+17
-1
modules/t/test-genome-DBs/homo_sapiens/core/meta.txt
modules/t/test-genome-DBs/homo_sapiens/core/meta.txt
+1
-0
modules/t/test-genome-DBs/homo_sapiens/core/table.sql
modules/t/test-genome-DBs/homo_sapiens/core/table.sql
+14
-1
modules/t/test-genome-DBs/homo_sapiens/empty/SQLite/table.sql
...les/t/test-genome-DBs/homo_sapiens/empty/SQLite/table.sql
+17
-1
modules/t/test-genome-DBs/homo_sapiens/empty/meta.txt
modules/t/test-genome-DBs/homo_sapiens/empty/meta.txt
+1
-0
modules/t/test-genome-DBs/homo_sapiens/empty/table.sql
modules/t/test-genome-DBs/homo_sapiens/empty/table.sql
+14
-1
modules/t/test-genome-DBs/homo_sapiens/patch/SQLite/table.sql
...les/t/test-genome-DBs/homo_sapiens/patch/SQLite/table.sql
+17
-1
modules/t/test-genome-DBs/homo_sapiens/patch/meta.txt
modules/t/test-genome-DBs/homo_sapiens/patch/meta.txt
+1
-0
modules/t/test-genome-DBs/homo_sapiens/patch/table.sql
modules/t/test-genome-DBs/homo_sapiens/patch/table.sql
+14
-1
modules/t/test-genome-DBs/mapping/core/SQLite/table.sql
modules/t/test-genome-DBs/mapping/core/SQLite/table.sql
+17
-1
modules/t/test-genome-DBs/mapping/core/meta.txt
modules/t/test-genome-DBs/mapping/core/meta.txt
+1
-0
modules/t/test-genome-DBs/mapping/core/table.sql
modules/t/test-genome-DBs/mapping/core/table.sql
+14
-1
modules/t/test-genome-DBs/multi/compara/SQLite/table.sql
modules/t/test-genome-DBs/multi/compara/SQLite/table.sql
+1
-1
modules/t/test-genome-DBs/mus_musculus/core/SQLite/table.sql
modules/t/test-genome-DBs/mus_musculus/core/SQLite/table.sql
+17
-1
modules/t/test-genome-DBs/mus_musculus/core/meta.txt
modules/t/test-genome-DBs/mus_musculus/core/meta.txt
+1
-0
modules/t/test-genome-DBs/mus_musculus/core/table.sql
modules/t/test-genome-DBs/mus_musculus/core/table.sql
+14
-1
modules/t/test-genome-DBs/nameless/core/SQLite/table.sql
modules/t/test-genome-DBs/nameless/core/SQLite/table.sql
+17
-1
No files found.
modules/t/test-genome-DBs/circ/core/SQLite/table.sql
View file @
f6c8e55a
--
-- Created by SQL::Translator::Producer::SQLite
-- Created on Fri
Jan
1
2
1
3:37
:14 2018
-- Created on Fri
Feb
1
6
1
5:28
:14 2018
--
BEGIN
TRANSACTION
;
...
...
@@ -131,6 +131,22 @@ CREATE TABLE attrib_type (
CREATE
UNIQUE
INDEX
code_idx
ON
attrib_type
(
code
);
--
-- Table: biotype
--
CREATE
TABLE
biotype
(
biotype_id
INTEGER
PRIMARY
KEY
AUTOINCREMENT
NOT
NULL
,
name
varchar
(
64
)
NOT
NULL
,
object_type
enum
NOT
NULL
DEFAULT
'gene'
,
db_type
varchar
NOT
NULL
DEFAULT
'core'
,
attrib_type_id
integer
,
description
text
,
biotype_group
enum
,
so_acc
varchar
(
64
)
);
CREATE
UNIQUE
INDEX
name_type_idx
ON
biotype
(
name
,
object_type
);
--
-- Table: coord_system
--
...
...
modules/t/test-genome-DBs/circ/core/meta.txt
View file @
f6c8e55a
...
...
@@ -117,3 +117,4 @@
117 \N patch patch_91_92_a.sql|schema_version
118 \N patch patch_91_92_b.sql|add_cigar_line_align_type
119 \N patch patch_92_93_a.sql|schema_version
120 \N patch patch_92_93_b.sql|biotype_table
modules/t/test-genome-DBs/circ/core/table.sql
View file @
f6c8e55a
...
...
@@ -105,6 +105,19 @@ CREATE TABLE `attrib_type` (
UNIQUE
KEY
`code_idx`
(
`code`
)
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
391
DEFAULT
CHARSET
=
latin1
COLLATE
=
latin1_bin
;
CREATE
TABLE
`biotype`
(
`biotype_id`
int
(
10
)
unsigned
NOT
NULL
AUTO_INCREMENT
,
`name`
varchar
(
64
)
NOT
NULL
,
`object_type`
enum
(
'gene'
,
'transcript'
)
NOT
NULL
DEFAULT
'gene'
,
`db_type`
set
(
'cdna'
,
'core'
,
'coreexpressionatlas'
,
'coreexpressionest'
,
'coreexpressiongnf'
,
'funcgen'
,
'otherfeatures'
,
'rnaseq'
,
'variation'
,
'vega'
,
'presite'
,
'sangervega'
)
NOT
NULL
DEFAULT
'core'
,
`attrib_type_id`
int
(
11
)
DEFAULT
NULL
,
`description`
text
,
`biotype_group`
enum
(
'coding'
,
'pseudogene'
,
'snoncoding'
,
'lnoncoding'
,
'mnoncoding'
,
'LRG'
,
'undefined'
,
'no_group'
)
DEFAULT
NULL
,
`so_acc`
varchar
(
64
)
DEFAULT
NULL
,
PRIMARY
KEY
(
`biotype_id`
),
UNIQUE
KEY
`name_type_idx`
(
`name`
,
`object_type`
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
latin1
;
CREATE
TABLE
`coord_system`
(
`coord_system_id`
int
(
10
)
unsigned
NOT
NULL
AUTO_INCREMENT
,
`species_id`
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'1'
,
...
...
@@ -476,7 +489,7 @@ CREATE TABLE `meta` (
PRIMARY
KEY
(
`meta_id`
),
UNIQUE
KEY
`species_key_value_idx`
(
`species_id`
,
`meta_key`
,
`meta_value`
),
KEY
`species_value_idx`
(
`species_id`
,
`meta_value`
)
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
12
0
DEFAULT
CHARSET
=
latin1
;
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
12
1
DEFAULT
CHARSET
=
latin1
;
CREATE
TABLE
`meta_coord`
(
`table_name`
varchar
(
40
)
COLLATE
latin1_bin
NOT
NULL
DEFAULT
''
,
...
...
modules/t/test-genome-DBs/homo_sapiens/core/SQLite/table.sql
View file @
f6c8e55a
--
-- Created by SQL::Translator::Producer::SQLite
-- Created on Fri
Jan
1
2
1
3:37:26
2018
-- Created on Fri
Feb
1
6
1
5:28:17
2018
--
BEGIN
TRANSACTION
;
...
...
@@ -131,6 +131,22 @@ CREATE TABLE attrib_type (
CREATE
UNIQUE
INDEX
code_idx
ON
attrib_type
(
code
);
--
-- Table: biotype
--
CREATE
TABLE
biotype
(
biotype_id
INTEGER
PRIMARY
KEY
AUTOINCREMENT
NOT
NULL
,
name
varchar
(
64
)
NOT
NULL
,
object_type
enum
NOT
NULL
DEFAULT
'gene'
,
db_type
varchar
NOT
NULL
DEFAULT
'core'
,
attrib_type_id
integer
,
description
text
,
biotype_group
enum
,
so_acc
varchar
(
64
)
);
CREATE
UNIQUE
INDEX
name_type_idx
ON
biotype
(
name
,
object_type
);
--
-- Table: coord_system
--
...
...
modules/t/test-genome-DBs/homo_sapiens/core/meta.txt
View file @
f6c8e55a
...
...
@@ -96,3 +96,4 @@
163 \N patch patch_91_92_a.sql|schema_version
164 \N patch patch_91_92_b.sql|add_cigar_line_align_type
165 \N patch patch_92_93_a.sql|schema_version
166 \N patch patch_92_93_b.sql|biotype_table
modules/t/test-genome-DBs/homo_sapiens/core/table.sql
View file @
f6c8e55a
...
...
@@ -105,6 +105,19 @@ CREATE TABLE `attrib_type` (
UNIQUE
KEY
`code_idx`
(
`code`
)
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
392
DEFAULT
CHARSET
=
latin1
COLLATE
=
latin1_bin
;
CREATE
TABLE
`biotype`
(
`biotype_id`
int
(
10
)
unsigned
NOT
NULL
AUTO_INCREMENT
,
`name`
varchar
(
64
)
NOT
NULL
,
`object_type`
enum
(
'gene'
,
'transcript'
)
NOT
NULL
DEFAULT
'gene'
,
`db_type`
set
(
'cdna'
,
'core'
,
'coreexpressionatlas'
,
'coreexpressionest'
,
'coreexpressiongnf'
,
'funcgen'
,
'otherfeatures'
,
'rnaseq'
,
'variation'
,
'vega'
,
'presite'
,
'sangervega'
)
NOT
NULL
DEFAULT
'core'
,
`attrib_type_id`
int
(
11
)
DEFAULT
NULL
,
`description`
text
,
`biotype_group`
enum
(
'coding'
,
'pseudogene'
,
'snoncoding'
,
'lnoncoding'
,
'mnoncoding'
,
'LRG'
,
'undefined'
,
'no_group'
)
DEFAULT
NULL
,
`so_acc`
varchar
(
64
)
DEFAULT
NULL
,
PRIMARY
KEY
(
`biotype_id`
),
UNIQUE
KEY
`name_type_idx`
(
`name`
,
`object_type`
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
latin1
;
CREATE
TABLE
`coord_system`
(
`coord_system_id`
int
(
10
)
unsigned
NOT
NULL
AUTO_INCREMENT
,
`species_id`
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'1'
,
...
...
@@ -476,7 +489,7 @@ CREATE TABLE `meta` (
PRIMARY
KEY
(
`meta_id`
),
UNIQUE
KEY
`species_key_value_idx`
(
`species_id`
,
`meta_key`
,
`meta_value`
),
KEY
`species_value_idx`
(
`species_id`
,
`meta_value`
)
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
16
6
DEFAULT
CHARSET
=
latin1
;
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
16
7
DEFAULT
CHARSET
=
latin1
;
CREATE
TABLE
`meta_coord`
(
`table_name`
varchar
(
40
)
COLLATE
latin1_bin
NOT
NULL
DEFAULT
''
,
...
...
modules/t/test-genome-DBs/homo_sapiens/empty/SQLite/table.sql
View file @
f6c8e55a
--
-- Created by SQL::Translator::Producer::SQLite
-- Created on Fri
Jan
1
2
1
3:37:38
2018
-- Created on Fri
Feb
1
6
1
5:28:20
2018
--
BEGIN
TRANSACTION
;
...
...
@@ -131,6 +131,22 @@ CREATE TABLE attrib_type (
CREATE
UNIQUE
INDEX
code_idx
ON
attrib_type
(
code
);
--
-- Table: biotype
--
CREATE
TABLE
biotype
(
biotype_id
INTEGER
PRIMARY
KEY
AUTOINCREMENT
NOT
NULL
,
name
varchar
(
64
)
NOT
NULL
,
object_type
enum
NOT
NULL
DEFAULT
'gene'
,
db_type
varchar
NOT
NULL
DEFAULT
'core'
,
attrib_type_id
integer
,
description
text
,
biotype_group
enum
,
so_acc
varchar
(
64
)
);
CREATE
UNIQUE
INDEX
name_type_idx
ON
biotype
(
name
,
object_type
);
--
-- Table: coord_system
--
...
...
modules/t/test-genome-DBs/homo_sapiens/empty/meta.txt
View file @
f6c8e55a
...
...
@@ -96,3 +96,4 @@
145 \N patch patch_91_92_a.sql|schema_version
146 \N patch patch_91_92_b.sql|add_cigar_line_align_type
147 \N patch patch_92_93_a.sql|schema_version
148 \N patch patch_92_93_b.sql|biotype_table
modules/t/test-genome-DBs/homo_sapiens/empty/table.sql
View file @
f6c8e55a
...
...
@@ -105,6 +105,19 @@ CREATE TABLE `attrib_type` (
UNIQUE
KEY
`code_idx`
(
`code`
)
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
391
DEFAULT
CHARSET
=
latin1
COLLATE
=
latin1_bin
;
CREATE
TABLE
`biotype`
(
`biotype_id`
int
(
10
)
unsigned
NOT
NULL
AUTO_INCREMENT
,
`name`
varchar
(
64
)
NOT
NULL
,
`object_type`
enum
(
'gene'
,
'transcript'
)
NOT
NULL
DEFAULT
'gene'
,
`db_type`
set
(
'cdna'
,
'core'
,
'coreexpressionatlas'
,
'coreexpressionest'
,
'coreexpressiongnf'
,
'funcgen'
,
'otherfeatures'
,
'rnaseq'
,
'variation'
,
'vega'
,
'presite'
,
'sangervega'
)
NOT
NULL
DEFAULT
'core'
,
`attrib_type_id`
int
(
11
)
DEFAULT
NULL
,
`description`
text
,
`biotype_group`
enum
(
'coding'
,
'pseudogene'
,
'snoncoding'
,
'lnoncoding'
,
'mnoncoding'
,
'LRG'
,
'undefined'
,
'no_group'
)
DEFAULT
NULL
,
`so_acc`
varchar
(
64
)
DEFAULT
NULL
,
PRIMARY
KEY
(
`biotype_id`
),
UNIQUE
KEY
`name_type_idx`
(
`name`
,
`object_type`
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
latin1
;
CREATE
TABLE
`coord_system`
(
`coord_system_id`
int
(
10
)
unsigned
NOT
NULL
AUTO_INCREMENT
,
`species_id`
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'1'
,
...
...
@@ -476,7 +489,7 @@ CREATE TABLE `meta` (
PRIMARY
KEY
(
`meta_id`
),
UNIQUE
KEY
`species_key_value_idx`
(
`species_id`
,
`meta_key`
,
`meta_value`
),
KEY
`species_value_idx`
(
`species_id`
,
`meta_value`
)
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
14
8
DEFAULT
CHARSET
=
latin1
;
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
14
9
DEFAULT
CHARSET
=
latin1
;
CREATE
TABLE
`meta_coord`
(
`table_name`
varchar
(
40
)
COLLATE
latin1_bin
NOT
NULL
DEFAULT
''
,
...
...
modules/t/test-genome-DBs/homo_sapiens/patch/SQLite/table.sql
View file @
f6c8e55a
--
-- Created by SQL::Translator::Producer::SQLite
-- Created on Fri
Jan
1
2
1
3:37:50
2018
-- Created on Fri
Feb
1
6
1
5:28:23
2018
--
BEGIN
TRANSACTION
;
...
...
@@ -131,6 +131,22 @@ CREATE TABLE attrib_type (
CREATE
UNIQUE
INDEX
code_idx
ON
attrib_type
(
code
);
--
-- Table: biotype
--
CREATE
TABLE
biotype
(
biotype_id
INTEGER
PRIMARY
KEY
AUTOINCREMENT
NOT
NULL
,
name
varchar
(
64
)
NOT
NULL
,
object_type
enum
NOT
NULL
DEFAULT
'gene'
,
db_type
varchar
NOT
NULL
DEFAULT
'core'
,
attrib_type_id
integer
,
description
text
,
biotype_group
enum
,
so_acc
varchar
(
64
)
);
CREATE
UNIQUE
INDEX
name_type_idx
ON
biotype
(
name
,
object_type
);
--
-- Table: coord_system
--
...
...
modules/t/test-genome-DBs/homo_sapiens/patch/meta.txt
View file @
f6c8e55a
...
...
@@ -101,3 +101,4 @@
2108 \N patch patch_91_92_a.sql|schema_version
2109 \N patch patch_91_92_b.sql|add_cigar_line_align_type
2110 \N patch patch_92_93_a.sql|schema_version
2111 \N patch patch_92_93_b.sql|biotype_table
modules/t/test-genome-DBs/homo_sapiens/patch/table.sql
View file @
f6c8e55a
...
...
@@ -105,6 +105,19 @@ CREATE TABLE `attrib_type` (
UNIQUE
KEY
`code_idx`
(
`code`
)
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
407
DEFAULT
CHARSET
=
latin1
COLLATE
=
latin1_bin
;
CREATE
TABLE
`biotype`
(
`biotype_id`
int
(
10
)
unsigned
NOT
NULL
AUTO_INCREMENT
,
`name`
varchar
(
64
)
NOT
NULL
,
`object_type`
enum
(
'gene'
,
'transcript'
)
NOT
NULL
DEFAULT
'gene'
,
`db_type`
set
(
'cdna'
,
'core'
,
'coreexpressionatlas'
,
'coreexpressionest'
,
'coreexpressiongnf'
,
'funcgen'
,
'otherfeatures'
,
'rnaseq'
,
'variation'
,
'vega'
,
'presite'
,
'sangervega'
)
NOT
NULL
DEFAULT
'core'
,
`attrib_type_id`
int
(
11
)
DEFAULT
NULL
,
`description`
text
,
`biotype_group`
enum
(
'coding'
,
'pseudogene'
,
'snoncoding'
,
'lnoncoding'
,
'mnoncoding'
,
'LRG'
,
'undefined'
,
'no_group'
)
DEFAULT
NULL
,
`so_acc`
varchar
(
64
)
DEFAULT
NULL
,
PRIMARY
KEY
(
`biotype_id`
),
UNIQUE
KEY
`name_type_idx`
(
`name`
,
`object_type`
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
latin1
;
CREATE
TABLE
`coord_system`
(
`coord_system_id`
int
(
10
)
unsigned
NOT
NULL
AUTO_INCREMENT
,
`species_id`
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'1'
,
...
...
@@ -476,7 +489,7 @@ CREATE TABLE `meta` (
PRIMARY
KEY
(
`meta_id`
),
UNIQUE
KEY
`species_key_value_idx`
(
`species_id`
,
`meta_key`
,
`meta_value`
),
KEY
`species_value_idx`
(
`species_id`
,
`meta_value`
)
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
211
1
DEFAULT
CHARSET
=
latin1
;
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
211
2
DEFAULT
CHARSET
=
latin1
;
CREATE
TABLE
`meta_coord`
(
`table_name`
varchar
(
40
)
COLLATE
latin1_bin
NOT
NULL
DEFAULT
''
,
...
...
modules/t/test-genome-DBs/mapping/core/SQLite/table.sql
View file @
f6c8e55a
--
-- Created by SQL::Translator::Producer::SQLite
-- Created on Fri
Jan
1
2
1
3:38:03
2018
-- Created on Fri
Feb
1
6
1
5:28:26
2018
--
BEGIN
TRANSACTION
;
...
...
@@ -131,6 +131,22 @@ CREATE TABLE attrib_type (
CREATE
UNIQUE
INDEX
code_idx
ON
attrib_type
(
code
);
--
-- Table: biotype
--
CREATE
TABLE
biotype
(
biotype_id
INTEGER
PRIMARY
KEY
AUTOINCREMENT
NOT
NULL
,
name
varchar
(
64
)
NOT
NULL
,
object_type
enum
NOT
NULL
DEFAULT
'gene'
,
db_type
varchar
NOT
NULL
DEFAULT
'core'
,
attrib_type_id
integer
,
description
text
,
biotype_group
enum
,
so_acc
varchar
(
64
)
);
CREATE
UNIQUE
INDEX
name_type_idx
ON
biotype
(
name
,
object_type
);
--
-- Table: coord_system
--
...
...
modules/t/test-genome-DBs/mapping/core/meta.txt
View file @
f6c8e55a
...
...
@@ -57,3 +57,4 @@
150 \N patch patch_91_92_a.sql|schema_version
151 \N patch patch_91_92_b.sql|add_cigar_line_align_type
152 \N patch patch_92_93_a.sql|schema_version
153 \N patch patch_92_93_b.sql|biotype_table
modules/t/test-genome-DBs/mapping/core/table.sql
View file @
f6c8e55a
...
...
@@ -105,6 +105,19 @@ CREATE TABLE `attrib_type` (
UNIQUE
KEY
`code_idx`
(
`code`
)
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
391
DEFAULT
CHARSET
=
latin1
COLLATE
=
latin1_bin
;
CREATE
TABLE
`biotype`
(
`biotype_id`
int
(
10
)
unsigned
NOT
NULL
AUTO_INCREMENT
,
`name`
varchar
(
64
)
NOT
NULL
,
`object_type`
enum
(
'gene'
,
'transcript'
)
NOT
NULL
DEFAULT
'gene'
,
`db_type`
set
(
'cdna'
,
'core'
,
'coreexpressionatlas'
,
'coreexpressionest'
,
'coreexpressiongnf'
,
'funcgen'
,
'otherfeatures'
,
'rnaseq'
,
'variation'
,
'vega'
,
'presite'
,
'sangervega'
)
NOT
NULL
DEFAULT
'core'
,
`attrib_type_id`
int
(
11
)
DEFAULT
NULL
,
`description`
text
,
`biotype_group`
enum
(
'coding'
,
'pseudogene'
,
'snoncoding'
,
'lnoncoding'
,
'mnoncoding'
,
'LRG'
,
'undefined'
,
'no_group'
)
DEFAULT
NULL
,
`so_acc`
varchar
(
64
)
DEFAULT
NULL
,
PRIMARY
KEY
(
`biotype_id`
),
UNIQUE
KEY
`name_type_idx`
(
`name`
,
`object_type`
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
latin1
;
CREATE
TABLE
`coord_system`
(
`coord_system_id`
int
(
10
)
unsigned
NOT
NULL
AUTO_INCREMENT
,
`species_id`
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'1'
,
...
...
@@ -476,7 +489,7 @@ CREATE TABLE `meta` (
PRIMARY
KEY
(
`meta_id`
),
UNIQUE
KEY
`species_key_value_idx`
(
`species_id`
,
`meta_key`
,
`meta_value`
),
KEY
`species_value_idx`
(
`species_id`
,
`meta_value`
)
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
15
3
DEFAULT
CHARSET
=
latin1
;
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
15
4
DEFAULT
CHARSET
=
latin1
;
CREATE
TABLE
`meta_coord`
(
`table_name`
varchar
(
40
)
COLLATE
latin1_bin
NOT
NULL
DEFAULT
''
,
...
...
modules/t/test-genome-DBs/multi/compara/SQLite/table.sql
View file @
f6c8e55a
--
-- Created by SQL::Translator::Producer::SQLite
-- Created on Fri
Jan
1
2
1
3:38:11
2018
-- Created on Fri
Feb
1
6
1
5:28:28
2018
--
BEGIN
TRANSACTION
;
...
...
modules/t/test-genome-DBs/mus_musculus/core/SQLite/table.sql
View file @
f6c8e55a
--
-- Created by SQL::Translator::Producer::SQLite
-- Created on Fri
Jan
1
2
1
3:38:22
2018
-- Created on Fri
Feb
1
6
1
5:28:31
2018
--
BEGIN
TRANSACTION
;
...
...
@@ -131,6 +131,22 @@ CREATE TABLE attrib_type (
CREATE
UNIQUE
INDEX
code_idx
ON
attrib_type
(
code
);
--
-- Table: biotype
--
CREATE
TABLE
biotype
(
biotype_id
INTEGER
PRIMARY
KEY
AUTOINCREMENT
NOT
NULL
,
name
varchar
(
64
)
NOT
NULL
,
object_type
enum
NOT
NULL
DEFAULT
'gene'
,
db_type
varchar
NOT
NULL
DEFAULT
'core'
,
attrib_type_id
integer
,
description
text
,
biotype_group
enum
,
so_acc
varchar
(
64
)
);
CREATE
UNIQUE
INDEX
name_type_idx
ON
biotype
(
name
,
object_type
);
--
-- Table: coord_system
--
...
...
modules/t/test-genome-DBs/mus_musculus/core/meta.txt
View file @
f6c8e55a
...
...
@@ -174,3 +174,4 @@
1686 \N patch patch_91_92_a.sql|schema_version
1687 \N patch patch_91_92_b.sql|add_cigar_line_align_type
1688 \N patch patch_92_93_a.sql|schema_version
1689 \N patch patch_92_93_b.sql|biotype_table
modules/t/test-genome-DBs/mus_musculus/core/table.sql
View file @
f6c8e55a
...
...
@@ -105,6 +105,19 @@ CREATE TABLE `attrib_type` (
UNIQUE
KEY
`code_idx`
(
`code`
)
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
508
DEFAULT
CHARSET
=
latin1
COLLATE
=
latin1_bin
;
CREATE
TABLE
`biotype`
(
`biotype_id`
int
(
10
)
unsigned
NOT
NULL
AUTO_INCREMENT
,
`name`
varchar
(
64
)
NOT
NULL
,
`object_type`
enum
(
'gene'
,
'transcript'
)
NOT
NULL
DEFAULT
'gene'
,
`db_type`
set
(
'cdna'
,
'core'
,
'coreexpressionatlas'
,
'coreexpressionest'
,
'coreexpressiongnf'
,
'funcgen'
,
'otherfeatures'
,
'rnaseq'
,
'variation'
,
'vega'
,
'presite'
,
'sangervega'
)
NOT
NULL
DEFAULT
'core'
,
`attrib_type_id`
int
(
11
)
DEFAULT
NULL
,
`description`
text
,
`biotype_group`
enum
(
'coding'
,
'pseudogene'
,
'snoncoding'
,
'lnoncoding'
,
'mnoncoding'
,
'LRG'
,
'undefined'
,
'no_group'
)
DEFAULT
NULL
,
`so_acc`
varchar
(
64
)
DEFAULT
NULL
,
PRIMARY
KEY
(
`biotype_id`
),
UNIQUE
KEY
`name_type_idx`
(
`name`
,
`object_type`
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
latin1
;
CREATE
TABLE
`coord_system`
(
`coord_system_id`
int
(
10
)
unsigned
NOT
NULL
AUTO_INCREMENT
,
`species_id`
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'1'
,
...
...
@@ -476,7 +489,7 @@ CREATE TABLE `meta` (
PRIMARY
KEY
(
`meta_id`
),
UNIQUE
KEY
`species_key_value_idx`
(
`species_id`
,
`meta_key`
,
`meta_value`
),
KEY
`species_value_idx`
(
`species_id`
,
`meta_value`
)
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
16
8
9
DEFAULT
CHARSET
=
latin1
;
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
169
0
DEFAULT
CHARSET
=
latin1
;
CREATE
TABLE
`meta_coord`
(
`table_name`
varchar
(
40
)
COLLATE
latin1_bin
NOT
NULL
DEFAULT
''
,
...
...
modules/t/test-genome-DBs/nameless/core/SQLite/table.sql
View file @
f6c8e55a
--
-- Created by SQL::Translator::Producer::SQLite
-- Created on Fri
Jan
1
2
1
3:3
8:3
3
2018
-- Created on Fri
Feb
1
6
1
5:2
8:3
4
2018
--
BEGIN
TRANSACTION
;
...
...
@@ -131,6 +131,22 @@ CREATE TABLE attrib_type (
CREATE
UNIQUE
INDEX
code_idx
ON
attrib_type
(
code
);
--
-- Table: biotype
--
CREATE
TABLE
biotype
(
biotype_id
INTEGER
PRIMARY
KEY
AUTOINCREMENT
NOT
NULL
,
name
varchar
(
64
)
NOT
NULL
,
object_type
enum
NOT
NULL
DEFAULT
'gene'
,
db_type
varchar
NOT
NULL
DEFAULT
'core'
,
attrib_type_id
integer
,
description
text
,
biotype_group
enum
,
so_acc
varchar
(
64
)
);
CREATE
UNIQUE
INDEX
name_type_idx
ON
biotype
(
name
,
object_type
);
--
-- Table: coord_system
--
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment