Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
11799765
Commit
11799765
authored
Dec 13, 2010
by
Ian Longden
Browse files
add flag for description set and add new status of MULTI_DELETE to object_xref
parent
ef4b13f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
misc-scripts/xref_mapping/sql/table.sql
misc-scripts/xref_mapping/sql/table.sql
+4
-1
No files found.
misc-scripts/xref_mapping/sql/table.sql
View file @
11799765
...
...
@@ -295,6 +295,8 @@ CREATE TABLE gene_stable_id (
internal_id
INT
UNSIGNED
NOT
NULL
,
stable_id
VARCHAR
(
128
)
NOT
NULL
,
display_xref_id
INT
UNSIGNED
DEFAULT
NULL
,
desc_set
INT
UNSIGNED
DEFAULT
0
,
PRIMARY
KEY
(
stable_id
),
INDEX
internal_idx
(
internal_id
)
...
...
@@ -305,6 +307,7 @@ CREATE TABLE transcript_stable_id (
internal_id
INT
UNSIGNED
NOT
NULL
,
stable_id
VARCHAR
(
128
)
NOT
NULL
,
display_xref_id
INT
UNSIGNED
DEFAULT
NULL
,
PRIMARY
KEY
(
stable_id
),
INDEX
internal_idx
(
internal_id
)
...
...
@@ -337,7 +340,7 @@ CREATE TABLE object_xref (
'DIRECT'
,
'SEQUENCE_MATCH'
,
'INFERRED_PAIR'
,
'PROBE'
,
'UNMAPPED'
,
'COORDINATE_OVERLAP'
),
ox_status
ENUM
(
'DUMP_OUT'
,
'FAILED_PRIORITY'
,
'FAILED_CUTOFF'
,
'NO_DISPLAY'
)
NOT
NULL
DEFAULT
'DUMP_OUT'
,
ox_status
ENUM
(
'DUMP_OUT'
,
'FAILED_PRIORITY'
,
'FAILED_CUTOFF'
,
'NO_DISPLAY'
,
'MULTI_DELETE'
)
NOT
NULL
DEFAULT
'DUMP_OUT'
,
-- set ox_status to 0 if non used priority_xref or failed cutoff
unused_priority
INT
UNSIGNED
,
master_xref_id
INT
UNSIGNED
DEFAULT
NULL
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment