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
d9ebb78f
Commit
d9ebb78f
authored
8 years ago
by
James Allen
Browse files
Options
Downloads
Patches
Plain Diff
Update schema with new dna_align_feature_attrib table
parent
c3be4b93
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!144
New attrib table for dna_align_features
,
!144
New attrib table for dna_align_features
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sql/table.sql
+25
-0
25 additions, 0 deletions
sql/table.sql
with
25 additions
and
0 deletions
sql/table.sql
+
25
−
0
View file @
d9ebb78f
...
...
@@ -654,6 +654,31 @@ CREATE TABLE dna_align_feature (
)
COLLATE
=
latin1_swedish_ci
ENGINE
=
MyISAM
MAX_ROWS
=
100000000
AVG_ROW_LENGTH
=
80
;
/**
@table dna_align_feature_attrib
@desc Enables storage of attributes that relate to DNA sequence alignments.
@column dna_align_feature_id Foreign key references to the @link dna_align_feature table.
@column attrib_type_id Foreign key references to the @link attrib_type table.
@column value Attribute value.
@see dna_align_feature
*/
CREATE
TABLE
dna_align_feature_attrib
(
dna_align_feature_id
INT
(
10
)
UNSIGNED
NOT
NULL
,
attrib_type_id
SMALLINT
(
5
)
UNSIGNED
NOT
NULL
,
value
TEXT
NOT
NULL
,
UNIQUE
KEY
dna_align_feature_attribx
(
dna_align_feature_id
,
attrib_type_id
,
value
(
500
)),
KEY
dna_align_feature_idx
(
dna_align_feature_id
),
KEY
type_val_idx
(
attrib_type_id
,
value
(
40
)),
KEY
val_only_idx
(
value
(
40
))
)
COLLATE
=
latin1_swedish_ci
ENGINE
=
MyISAM
;
/**
@table exon
@desc Stores data about exons. Associated with transcripts via exon_transcript. Allows access to contigs seq_regions.
...
...
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