Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(IPVC-2425): add migration to fix tx-alt-exon-pairs view #34

Merged
merged 2 commits into from
May 8, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
feat(IPVC-2425): update view where criteria
  • Loading branch information
bsgiles73 committed May 7, 2024
commit 4a41d757334f336a5634535add5eda44c417947e
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def upgrade() -> None:
FROM exon_SET tes
JOIN transcript t ON tes.tx_ac=t.ac
JOIN gene g ON t.gene_id=g.gene_id
JOIN exon_set aes ON tes.tx_ac=aes.tx_ac AND tes.alt_aln_method='transcript' AND aes.alt_aln_method NOT LIKE 'transcript%'
JOIN exon_set aes ON tes.tx_ac=aes.tx_ac AND tes.alt_aln_method='transcript' AND aes.alt_aln_method !~ 'transcript'
JOIN exon tex ON tes.exon_SET_id=tex.exon_SET_id
JOIN exon aex ON aes.exon_SET_id=aex.exon_SET_id AND tex.ORD=aex.ORD
LEFT JOIN exon_aln ea ON ea.tx_exon_id=tex.exon_id AND ea.alt_exon_id=AEX.exon_id;
Expand Down
Loading