You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LEFT JOIN gene ONmutation.entrez_gene_id=gene.entrez_gene_id;
214
+
LEFT JOIN gene ONmutation.entrez_gene_id=gene.entrez_gene_id
215
+
LEFT JOIN alteration_driver_annotation ada ON (mutation.genetic_profile_id=alteration_driver_annotation.genetic_profile_id) AND (mutation.sample_id=alteration_driver_annotation.sample_id) AND (mutation.mutation_event_id=alteration_driver_annotation.alteration_event_id);
211
216
212
217
INSERT INTO genomic_event_derived
213
218
-- Insert CNA Genes
@@ -221,8 +226,10 @@ SELECT concat(cs.cancer_study_identifier, '_', sample.stable_id) AS sample_uniqu
LEFT JOIN alteration_driver_annotation ada ON (sce.genetic_profile_id=ada.genetic_profile_id) AND (sce.sample_id=ada.sample_id) AND (sce.cna_event_id=ada.alteration_event_id);
252
+
244
253
245
254
INSERT INTO genomic_event_derived
246
255
-- Insert Structural Variants Site1
@@ -253,9 +262,11 @@ SELECT concat(cs.cancer_study_identifier, '_', s.stable_id) AS sample_unique_id,
LEFT JOIN gene_panel ONsample_profile.panel_id=gene_panel.internal_id;
285
+
LEFT JOIN gene_panel ONsample_profile.panel_id=gene_panel.internal_id
286
+
LEFT JOIN alteration_driver_annotation ada ON (sv.genetic_profile_id=ada.genetic_profile_id) AND (sv.sample_id=ada.sample_id) AND (sv.internal_id=ada.alteration_event_id);
287
+
288
+
275
289
276
290
INSERT INTO genomic_event_derived
277
291
-- Insert Structural Variants Site2
@@ -284,9 +298,11 @@ SELECT concat(cs.cancer_study_identifier, '_', s.stable_id) AS sample_unique_id,
LEFT JOIN gene_panel ONsample_profile.panel_id=gene_panel.internal_id
322
+
LEFT JOIN alteration_driver_annotation ada ON (sv.genetic_profile_id=ada.genetic_profile_id) AND (sv.sample_id=ada.sample_id) AND (sv.internal_id=ada.alteration_event_id)
0 commit comments