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
0d96d99a
Commit
0d96d99a
authored
20 years ago
by
Glenn Proctor
Browse files
Options
Downloads
Patches
Plain Diff
Added support for regulatory features.
parent
e3297cdc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sql/table.sql
+71
-0
71 additions, 0 deletions
sql/table.sql
with
71 additions
and
0 deletions
sql/table.sql
+
71
−
0
View file @
0d96d99a
...
...
@@ -1201,3 +1201,74 @@ CREATE TABLE density_type (
UNIQUE
(
analysis_id
,
block_size
)
)
TYPE
=
MyISAM
;
################################################################################
#
#
Table
structure
for
table
'regulatory_feature'
#
CREATE
TABLE
regulatory_feature
(
regulatory_feature_id
INT
NOT
NULL
auto_increment
,
name
VARCHAR
(
255
)
NOT
NULL
,
seq_region_id
INT
NOT
NULL
,
#
FK
refs
seq_region
seq_region_start
INT
NOT
NULL
,
seq_region_end
INT
NOT
NULL
,
seq_region_strand
TINYINT
NOT
NULL
,
analysis_id
INT
NOT
NULL
,
#
FK
refs
analysis
regulatory_motif_id
INT
,
#
FK
refs
regulatory_motif
influence
ENUM
(
'positive'
,
'negative'
,
'mixed'
,
'unknown'
),
PRIMARY
KEY
(
regulatory_feature_id
)
)
TYPE
=
MyISAM
;
################################################################################
#
#
Table
structure
for
table
'regulatory_motif'
#
CREATE
TABLE
regulatory_motif
(
regulatory_motif_id
INT
NOT
NULL
auto_increment
,
name
VARCHAR
(
255
)
NOT
NULL
,
type
ENUM
(
'miRNA_target'
,
'promoter'
),
PRIMARY
KEY
(
regulatory_motif_id
)
)
TYPE
=
MyISAM
;
################################################################################
#
#
Table
structure
for
table
'regulatory_feature_object'
#
#
Relates
regulatory
regions
to
the
Ensembl
objects
they
influence
.
Many
-
many
.
CREATE
TABLE
regulatory_feature_object
(
regulatory_feature_id
INT
NOT
NULL
,
#
FK
to
regulatory_feature
ensembl_object_type
ENUM
(
'Transcript'
,
'Translation'
,
'Gene'
)
NOT
NULL
,
ensembl_object_id
INT
NOT
NULL
,
#
FK
to
transcript
,
gene
etc
KEY
regulatory_feature_idx
(
regulatory_feature_id
),
KEY
ensembl_object_idx
(
ensembl_object_type
,
ensembl_object_id
)
)
TYPE
=
MyISAM
;
################################################################################
#
#
Table
structure
for
table
'peptide_regulatory_feature'
#
CREATE
TABLE
peptide_regulatory_feature
(
translation_id
INT
NOT
NULL
,
#
FK
to
translation
regulatory_feature_id
INT
NOT
NULL
,
#
FK
to
regulatory_feature
KEY
translation_idx
(
translation_id
),
KEY
regulatory_feature_idx
(
regulatory_feature_id
)
)
TYPE
=
MyISAM
;
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