-
Notifications
You must be signed in to change notification settings - Fork 45
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
Fix single source gen-anc frequencies on the Variant page #1547
Conversation
d41bdb4
to
5155926
Compare
Tagging you in for review, @ch-kr, in addition to Phil, because I wanted to check on one thing display decision wise. The v4 exomes and genomes have identical genetic ancestry groups with the exception of When the genomes checkbox is unselected, and only the v4 exome data is shown, should the I'm not sure there's any value to showing it if it's always AC and AN of 0, but also including it keeps it more consistent. Either is equally doable, I wanted to check on your opinion of what is more clear/preferable. |
Thanks for the ping!
Quick question before I answer: based on this variant, it looks like the |
Gah ok yeah I hadn't thought of that, good catch. The question specifically was for behavior when the variant is present in both exomes and genomes. Now I suppose there's another question of what to do for the variants that are not present in one data type, and thus don't allow de-selecting the type its not in. My initial thought there is leave it untouched, e.g. the example variant still includes the genome AN data? But also then if there's joint data maybe it makes sense to allow users to remove the ANs from the other data type that contribute to the overall AN per ancestry group. |
thanks for clarifying! I think the most consistent behavior is to continue displaying the On a slightly related note, this question sort of ties into this slack thread -- we should likely display the genetic ancestry group sample count/counts of each sex karyotype per group for v3/v4 on our stats page (across all groups, without any merged groups, which is what the table on the stats page currently contains) |
5155926
to
88d9de9
Compare
Perfect, we'll go with that behavior, thanks so much for the reply and opinion/decision. |
Hiya @phildarnowsky-broad Tagging you in for review at your convenience. This fix is fairly impactful, and at least one user has written in about this unintended regression, commit by commit should (hopefully) be very bite sized. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small changes requested but at root this looks good
Alrighty, added some fixup commits to address comments from code review. Thanks, as always, for your review! Re-requested you @phildarnowsky-broad |
a27d654
to
07752a6
Compare
07752a6
to
c87d3ee
Compare
c87d3ee
to
e230458
Compare
Resolves #1545