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
da850074
Commit
da850074
authored
19 years ago
by
Patrick Meidl
Browse files
Options
Downloads
Patches
Plain Diff
put back in missed statement
parent
fd59ef99
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_30_31.sql
+3
-1
3 additions, 1 deletion
sql/patch_30_31.sql
with
3 additions
and
1 deletion
sql/patch_30_31.sql
+
3
−
1
View file @
da850074
...
@@ -21,13 +21,14 @@ ALTER TABLE transcript ADD description text;
...
@@ -21,13 +21,14 @@ ALTER TABLE transcript ADD description text;
UPDATE
transcript
t
,
xref
x
SET
t
.
description
=
x
.
description
WHERE
t
.
display_xref_id
=
x
.
xref_id
;
UPDATE
transcript
t
,
xref
x
SET
t
.
description
=
x
.
description
WHERE
t
.
display_xref_id
=
x
.
xref_id
;
UPDATE
transcript
SET
description
=
NULL
WHERE
description
=
""
;
UPDATE
transcript
SET
description
=
NULL
WHERE
description
=
""
;
#
usefull
settings
for
the
new
tables
#
usefull
settings
for
the
new
tables
UPDATE
gene
SET
biotype
=
'protein_coding'
WHERE
biotype
=
'ensembl'
;
UPDATE
gene
g
,
xref
x
,
external_db
ed
SET
g
.
confidence
=
'KNOWN'
WHERE
g
.
display_xref_id
=
x
.
xref_id
and
x
.
external_db_id
=
ed
.
external_db_id
and
g
.
display_xref_id
!=
0
and
ed
.
status
like
'KNOWN%'
;
UPDATE
gene
g
,
xref
x
,
external_db
ed
SET
g
.
confidence
=
'KNOWN'
WHERE
g
.
display_xref_id
=
x
.
xref_id
and
x
.
external_db_id
=
ed
.
external_db_id
and
g
.
display_xref_id
!=
0
and
ed
.
status
like
'KNOWN%'
;
UPDATE
transcript
t
,
xref
x
,
external_db
ed
SET
t
.
confidence
=
'KNOWN'
WHERE
t
.
display_xref_id
=
x
.
xref_id
and
x
.
external_db_id
=
ed
.
external_db_id
and
t
.
display_xref_id
!=
0
and
ed
.
status
like
'KNOWN%'
;
UPDATE
transcript
t
,
xref
x
,
external_db
ed
SET
t
.
confidence
=
'KNOWN'
WHERE
t
.
display_xref_id
=
x
.
xref_id
and
x
.
external_db_id
=
ed
.
external_db_id
and
t
.
display_xref_id
!=
0
and
ed
.
status
like
'KNOWN%'
;
#
some
vega
specific
stuff
,
shouldnt
harm
anybody
else
#
some
vega
specific
stuff
,
shouldnt
harm
anybody
else
UPDATE
gene
SET
biotype
=
'unclassified'
WHERE
biotype
=
'Transcript'
;
UPDATE
gene
SET
biotype
=
'unclassified'
WHERE
biotype
=
'Transcript'
;
UPDATE
gene
SET
biotype
=
'pseudogene'
WHERE
biotype
=
'Pseudogene'
;
UPDATE
gene
SET
biotype
=
'pseudogene'
WHERE
biotype
=
'Pseudogene'
;
UPDATE
gene
SET
biotype
=
'protein_coding'
,
confidence
=
'NOVEL'
WHERE
biotype
=
'Novel_CDS'
;
UPDATE
gene
SET
biotype
=
'protein_coding'
,
confidence
=
'NOVEL'
WHERE
biotype
=
'Novel_CDS'
;
...
@@ -50,6 +51,7 @@ UPDATE transcript t, gene g SET t.biotype = g.biotype WHERE g.gene_id = t.gene_i
...
@@ -50,6 +51,7 @@ UPDATE transcript t, gene g SET t.biotype = g.biotype WHERE g.gene_id = t.gene_i
#
new
tables
regulatory
stuff
and
transcript
supporting
features
#
new
tables
regulatory
stuff
and
transcript
supporting
features
################################################################################
################################################################################
#
#
#
Table
structure
for
table
'regulatory_feature'
#
Table
structure
for
table
'regulatory_feature'
...
...
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