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
44e5145f
Commit
44e5145f
authored
12 years ago
by
Andy Yates
Browse files
Options
Downloads
Patches
Plain Diff
Typo for region
parent
181d8da9
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
modules/t/test-genome-DBs/homo_sapiens/core/intron_supporting_evidence.sql
+15
-0
15 additions, 0 deletions
...nome-DBs/homo_sapiens/core/intron_supporting_evidence.sql
sql/patch_67_68_c.sql
+39
-0
39 additions, 0 deletions
sql/patch_67_68_c.sql
sql/table.sql
+1
-1
1 addition, 1 deletion
sql/table.sql
with
55 additions
and
1 deletion
modules/t/test-genome-DBs/homo_sapiens/core/intron_supporting_evidence.sql
0 → 100644
+
15
−
0
View file @
44e5145f
CREATE
TABLE
intron_supporting_evidence
(
intron_supporting_evidence_id
INT
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
analysis_id
SMALLINT
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
,
hit_name
VARCHAR
(
100
)
NOT
NULL
,
score
DECIMAL
(
10
,
3
),
score_type
ENUM
(
'NONE'
,
'DEPTH'
)
DEFAULT
'NONE'
,
PRIMARY
KEY
(
intron_supporting_evidence_id
),
UNIQUE
KEY
(
analysis_id
,
seq_region_id
,
seq_region_start
,
seq_region_end
,
seq_region_strand
,
hit_name
)
)
COLLATE
=
latin1_swedish_ci
ENGINE
=
MyISAM
;
This diff is collapsed.
Click to expand it.
sql/patch_67_68_c.sql
0 → 100644
+
39
−
0
View file @
44e5145f
#
patch_67_68_c
.
sql
#
#
Title
:
Altering
intron_supporting_evidence
table
#
#
Description
:
Introns
can
be
supported
by
an
external
feature
.
This
gives
a
#
weight
to
how
much
we
believe
the
intron
and
allows
the
attachement
to
#
a
transcript
whilst
letting
the
intron
exist
on
its
own
and
#
queryable
by
location
#
DROP
TABLE
intron_supporting_evidence
;
CREATE
TABLE
intron_supporting_evidence
(
intron_supporting_evidence_id
INT
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
analysis_id
SMALLINT
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
,
hit_name
VARCHAR
(
100
)
NOT
NULL
,
score
DECIMAL
(
10
,
3
),
score_type
ENUM
(
'NONE'
,
'DEPTH'
)
DEFAULT
'NONE'
,
PRIMARY
KEY
(
intron_supporting_evidence_id
),
UNIQUE
KEY
(
analysis_id
,
seq_region_id
,
seq_region_start
,
seq_region_end
,
seq_region_strand
,
hit_name
)
)
COLLATE
=
latin1_swedish_ci
ENGINE
=
MyISAM
;
CREATE
TABLE
transcript_intron_supporting_evidence
(
transcript_id
INT
(
10
)
UNSIGNED
NOT
NULL
,
intron_supporting_evidence_id
INT
(
10
)
UNSIGNED
NOT
NULL
,
previous_exon_id
INT
(
10
)
UNSIGNED
NOT
NULL
,
next_exon_id
INT
(
10
)
UNSIGNED
NOT
NULL
,
PRIMARY
KEY
(
intron_supporting_evidence_id
,
transcript_id
)
)
COLLATE
=
latin1_swedish_ci
ENGINE
=
MyISAM
;
#
Patch
identifier
:
INSERT
INTO
meta
(
species_id
,
meta_key
,
meta_value
)
VALUES
(
NULL
,
'patch'
,
'patch_67_68_c.sql|altering_intron_supporting_evidence'
);
\ No newline at end of file
This diff is collapsed.
Click to expand it.
sql/table.sql
+
1
−
1
View file @
44e5145f
...
...
@@ -292,7 +292,7 @@ score_type ENUM('NONE', 'DEPTH') DEFAULT 'NONE',
PRIMARY
KEY
(
intron_supporting_evidence_id
),
UNIQUE
KEY
(
analysis_id
,
seq_region_id
,
seq_region_start
,
seq_re
i
gon_end
,
seq_region_strand
,
hit_name
)
UNIQUE
KEY
(
analysis_id
,
seq_region_id
,
seq_region_start
,
seq_reg
i
on_end
,
seq_region_strand
,
hit_name
)
)
COLLATE
=
latin1_swedish_ci
ENGINE
=
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