forked from ZFIN/zfin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZFIN-8531: Add construct relationships (ZFIN#608)
- Loading branch information
1 parent
391e4a0
commit e506afc
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
source/org/zfin/db/postGmakePostloaddb/1143/ZFIN-8531-construct-relationship.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--liquibase formatted sql | ||
--changeset rtaylor:ZFIN-8531-construct-relationship.sql | ||
|
||
-- ZDB-TGCONSTRCT-171204-1 - Tg(rho:SFtag-whrna,myl7:EGFP) - construct | ||
-- ZDB-EFG-070117-1 (EGFP) - coding sequence of | ||
-- ZDB-GENE-991019-3 (myl7) - promoter of | ||
|
||
INSERT INTO zdb_active_data values ('ZDB-MREL-230409-1'); | ||
|
||
INSERT INTO "public"."marker_relationship" ("mrel_zdb_id", "mrel_type", "mrel_mrkr_1_zdb_id", "mrel_mrkr_2_zdb_id", "mrel_comments") | ||
VALUES ('ZDB-MREL-230409-1', 'coding sequence of', 'ZDB-TGCONSTRCT-171204-1', 'ZDB-EFG-070117-1', NULL); | ||
|
||
INSERT INTO "public"."record_attribution" ("recattrib_data_zdb_id", "recattrib_source_zdb_id", "recattrib_source_significance", "recattrib_source_type", "recattrib_created_at", "recattrib_modified_at", "recattrib_modified_count") | ||
VALUES ('ZDB-MREL-230409-1', 'ZDB-PUB-220706-16', NULL, 'standard', NULL, NULL, NULL); | ||
|
||
INSERT INTO zdb_active_data values ('ZDB-MREL-230409-2'); | ||
|
||
INSERT INTO "public"."marker_relationship" ("mrel_zdb_id", "mrel_type", "mrel_mrkr_1_zdb_id", "mrel_mrkr_2_zdb_id", "mrel_comments") | ||
VALUES ('ZDB-MREL-230409-2', 'promoter of', 'ZDB-TGCONSTRCT-171204-1', 'ZDB-GENE-991019-3', NULL); | ||
|
||
INSERT INTO "public"."record_attribution" ("recattrib_data_zdb_id", "recattrib_source_zdb_id", "recattrib_source_significance", "recattrib_source_type", "recattrib_created_at", "recattrib_modified_at", "recattrib_modified_count") | ||
VALUES ('ZDB-MREL-230409-2', 'ZDB-PUB-220706-16', NULL, 'standard', NULL, NULL, NULL); | ||
|
||
SELECT regen_construct_marker ('ZDB-TGCONSTRCT-171204-1'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters