Skip to content
Snippets Groups Projects
Commit 945f7b3d authored by Ian Longden's avatar Ian Longden
Browse files

patches

parent cfb6fbb5
No related branches found
No related tags found
No related merge requests found
# patch_48_49_b.sql
#
# title: new canonical transcript column n gene table
#
# description:
# Add canonical_transcript column to gene table
ALTER TABLE gene ADD COLUMN canonical_transcript INT(10) UNSIGNED;
# patch identifier
INSERT INTO meta (meta_key, meta_value) VALUES ('patch', 'patch_48_49_b.sql|new_canonical_transcript_column');
# patch_48_49_c.sql
#
# title: regulatory_support_removal
#
# description:
# regulatory tables to be removed from database (now done by func gen)
DELETE object_xref FROM object_xref where ensembl_object_type = "regulatory_factor";
DELETE object_xref FROM object_xref where ensembl_object_type = "regulatory_feature";
ALTER TABLE object_xref CHANGE COLUMN ensembl_object_type
ensembl_object_type ENUM('RawContig', 'Transcript', 'Gene',
'Translation');
DROP TABLE regulatory_factor;
DROP TABLE regulatory_factor_coding;
DROP TABLE regulatory_feature;
DROP TABLE regulatory_feature_object;
DROP TABLE regulatory_search_region;
# patch identifier
INSERT INTO meta (meta_key, meta_value) VALUES ('patch', 'patch_48_49_c.sql|regulatory_support_removal');
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment