From 8e3efc15f3256bd4bd49b4aabd1d0742ee3c743f Mon Sep 17 00:00:00 2001 From: Dzmitry Hramyka Date: Wed, 17 Jan 2024 09:45:46 +0100 Subject: [PATCH] fix: Expantion of MMSplice and SpliceAI scores properly handle Infinity scores (#381) (#383) --- .../FreqsCard/AutosomalFreqs.vue | 11 +- .../SeqvarDetails/VariantScoresCard.vue | 125 ++++++++++++------ 2 files changed, 96 insertions(+), 40 deletions(-) diff --git a/frontend/src/components/SeqvarDetails/FreqsCard/AutosomalFreqs.vue b/frontend/src/components/SeqvarDetails/FreqsCard/AutosomalFreqs.vue index bac38310..2eb8832f 100644 --- a/frontend/src/components/SeqvarDetails/FreqsCard/AutosomalFreqs.vue +++ b/frontend/src/components/SeqvarDetails/FreqsCard/AutosomalFreqs.vue @@ -117,12 +117,19 @@ const sexExpanded: any = ref({}) {{ label }} - + + + + {{ sexExpanded[key] ? 'mdi-chevron-down' : 'mdi-chevron-right' }} + + + + {{ sep(byPop[key]?.counts?.overall?.an ?? 0) }} diff --git a/frontend/src/components/SeqvarDetails/VariantScoresCard.vue b/frontend/src/components/SeqvarDetails/VariantScoresCard.vue index 99a97fbd..808d3901 100644 --- a/frontend/src/components/SeqvarDetails/VariantScoresCard.vue +++ b/frontend/src/components/SeqvarDetails/VariantScoresCard.vue @@ -199,7 +199,8 @@ const polyphenScore = computed((): number | null =>