Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
ensembl
Commits
0aa32d0c
Commit
0aa32d0c
authored
15 years ago
by
Ian Longden
Browse files
Options
Downloads
Patches
Plain Diff
splicing event tables added
parent
c0de8135
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sql/patch_54_55_c.sql
+59
-0
59 additions, 0 deletions
sql/patch_54_55_c.sql
with
59 additions
and
0 deletions
sql/patch_54_55_c.sql
0 → 100644
+
59
−
0
View file @
0aa32d0c
#
patch_54_55_c
.
sql
#
#
title
:
Add
alternative
splicing
event
tables
#
#
description
:
#
Add
alternative
splicing
event
tables
for
annotation
CREATE
TABLE
splicing_event
(
splicing_event_id
INT
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
name
VARCHAR
(
134
),
gene_id
INT
(
10
)
UNSIGNED
NOT
NULL
,
seq_region_id
INT
(
10
)
UNSIGNED
NOT
NULL
,
seq_region_start
INT
(
10
)
UNSIGNED
NOT
NULL
,
seq_region_end
INT
(
10
)
UNSIGNED
NOT
NULL
,
seq_region_strand
TINYINT
(
2
)
NOT
NULL
,
type
ENUM
(
'CNE'
,
'CE'
,
'AFE'
,
'A5SS'
,
'A3SS'
,
'MXE'
,
'IR'
,
'II'
,
'EI'
,
'AT'
,
'ALE'
,
'AI'
),
PRIMARY
KEY
(
splicing_event_id
),
KEY
gene_idx
(
gene_id
),
KEY
seq_region_idx
(
seq_region_id
,
seq_region_start
)
)
COLLATE
=
latin1_swedish_ci
TYPE
=
MyISAM
;
CREATE
TABLE
splicing_event_feature
(
splicing_event_feature_id
INT
(
10
)
UNSIGNED
NOT
NULL
,
splicing_event_id
INT
(
10
)
UNSIGNED
NOT
NULL
,
exon_id
INT
(
10
)
UNSIGNED
NOT
NULL
,
transcript_id
INT
(
10
)
UNSIGNED
NOT
NULL
,
feature_order
INT
(
10
)
UNSIGNED
NOT
NULL
,
transcript_association
INT
(
10
)
UNSIGNED
NOT
NULL
,
type
ENUM
(
'constitutive_exon'
,
'exon'
,
'flanking_exon'
),
start
INT
(
10
)
UNSIGNED
NOT
NULL
,
end
INT
(
10
)
UNSIGNED
NOT
NULL
,
PRIMARY
KEY
(
splicing_event_feature_id
,
exon_id
,
transcript_id
),
KEY
se_idx
(
splicing_event_id
)
)
COLLATE
=
latin1_swedish_ci
TYPE
=
MyISAM
;
CREATE
TABLE
splicing_transcript_pair
(
splicing_transcript_pair_id
INT
(
10
)
UNSIGNED
NOT
NULL
,
splicing_event_id
INT
(
10
)
UNSIGNED
NOT
NULL
,
transcript_id_1
INT
(
10
)
UNSIGNED
NOT
NULL
,
transcript_id_2
INT
(
10
)
UNSIGNED
NOT
NULL
,
PRIMARY
KEY
(
splicing_transcript_pair_id
),
KEY
se_idx
(
splicing_event_id
)
)
COLLATE
=
latin1_swedish_ci
TYPE
=
MyISAM
;
#
patch
identifier
INSERT
INTO
meta
(
species_id
,
meta_key
,
meta_value
)
VALUES
(
NULL
,
'patch'
,
'patch_54_55_c.sql|add_splicing_event_tables'
);
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment