Skip to content

Commit

Permalink
ZFIN-8531: Add construct relationships (ZFIN#608)
Browse files Browse the repository at this point in the history
  • Loading branch information
rtaylorzfin authored Apr 17, 2023
1 parent 391e4a0 commit e506afc
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
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');

Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

<include file="source/org/zfin/db/postGmakePostloaddb/1143/ZFIN-8519.sql" />
<include file="source/org/zfin/db/postGmakePostloaddb/1143/ZFIN-8520.sql" />
<include file="source/org/zfin/db/postGmakePostloaddb/1143/ZFIN-8531-construct-relationship.sql" />


</databaseChangeLog>

0 comments on commit e506afc

Please sign in to comment.