Replies: 4 comments 12 replies
-
Beta Was this translation helpful? Give feedback.
-
Yes we would. I will have to run the proposed UI by some of our users, but I will let you know in a couple days what they think of the design you propose here, or if they have any other ideas/ preferences. The simple alternative you propose with just adding it the hover is certainly fine to add, the update to show it more like OMIM may be fine (I personally like it) but I would want to confirm that it wouldn't be too visually confusing for users (there is a point where that much information is visually overwhelming and no longer helpful)
I consider these to be complimentary resources. In the same way that GenCC and OMIM currently have a lot of overlapping information but are still both valuable, I think Panel APP and GenCC are different enough that it is valuable to display them both separately
I strongly prefer that UI specific logic lives in UI code, so I would not support implementing that logic at API query time. That said, if you really felt strongly that it be implemented at import time I would consider it an acceptable solution. However, I still think the best solution is just to do the mapping in the UI itself. I don't really see what advantage there is to storing duplicate information in the database and then sending duplicate information in the API response, given that the logic you wrote would have perfectly good performance in javascript. But if you feel strongly that doing this parsing once at import instead of every time on display is worth the database bloat, I would be okay with that
Again, I see no advantage to doing the formatting of the URL in the server. It seems better to return the structured data needed to the UI and then allow the UI to format it as needed. Doing it on the server would be an antipattern to how all other API endpoints work in seqr, including all the ones for GenCC, OMIM, and gene lists |
Beta Was this translation helpful? Give feedback.
-
After talking with some of the analysts, we think for our use case we would prefer adding it to the hover rather than the OMIM-like approach. We often have several gene lists to a project, so the vertical space needed to show all of them would be too much, or if we added a maximum height with a scroll it would no longer be easy to quickly see all the lists that are included. They also expressed a preference for adding the link to the name of the list itself in the hover, rather than as a separate link on the bottom, to be more consistant with other annotations |
Beta Was this translation helpful? Give feedback.
-
A question from our analysts - generally speaking how different is the MOI reported in Panel App than the one reported in OMIM? |
Beta Was this translation helpful? Give feedback.
-
Context
Feature request from some of our researchers using MCRI's Seqr instance. They have requested to show PanelApp's "mode
of inheritance" information. Currently, this value is stored as a string in the DB
PaLocusListGene.mode_of_inheritance
field. The PanelApp API also returns this value as a string.Current visual of mouse hover over PanelApp gene list in variant results.
Requirements
Display PanelApp Mode of Inheritance information in variant results.
level. Display the raw string from the model/DB.
https://panelapp.agha.umccr.org/panels/92/gene/CASQ2/
Questions for Discussion
their upcoming features mentioned in their launch video. We would
like to understand what your teams' thoughts are regarding how GENCC and PanelApp will integrate together with Seqr,
current and future plans. E.g. they both share some common information, confidence, MOI, some concept of a gene list
but not sure if GENCC should supersede PA or remain complementary.
Design/Implementation Discussion
Discussing with some of our researchers, the raw PanelApp text can be categorised into types using below logic. This
type would be used by the UI to provide some kind of visual cue. This type is also convenient for searching/filtering
on in the future. @david-ma from our team will provide additional details for the UI. Note, we've only analysed data
for PanelApp AU, will do so for PanelApp UK and report any additional findings.
The link out URL can be provided by the server using logic similar to below:
Above logic can be implemented at the API layer (i.e. at query time) but I was thinking to do this at insert time, i.e
when we import the panels. It'll require new column
PaLocusListGene.moi_types_csv
(e.g. values can be"MONOALLELIC"
,"MITOCHONDRIAL"
,"BIALLELIC, MONOALLELIC"
). The URL logic will remain in the API layer.Your teams' thoughts/feedback welcome.
Beta Was this translation helpful? Give feedback.
All reactions