-
Notifications
You must be signed in to change notification settings - Fork 2
Gene Symbol page - classification HGVS does not switch according to page genome build toggle #1244
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
Comments
If I could do this as part of my branch as I've changed the gene symbol page a little bit, but I can also confirm that the classification listing just uses the user's preferred gene symbol. Surprising that the toggle has survived so long, but I guess we just got blind to it. |
If we make it match what it's set to, it'll work as expected if gene symbol page toggle is removed for Shariant |
I think this was when we first introduced multiple gene symbols, the idea was to put this toggle on every page where the data might be different per genome build |
In Shariant everything is cross build, so the only difference is "what build do you want to see classifications g.HGVS" In VariantGrid we have per-build data, like VCFs, so switching between builds shows different variants that fall within the gene depending on the build - so we want this |
@TheMadBug - so are you ok with making grid match the build in the URL then make a setting to remove this toggle in Shariant (always be users defined build?) |
Ahhh yup, I see there's still plenty of pages that use that toggle for annotation and other purposes. Most of the stuff I've done that utilises genome build uses GenomeBuildManager to determine what the Genome Build should be. By default GenomeBuildManager picks the user's preferred GenomeBuild, but I can make it check the URL for GenomeBuild as a higher priority, then fall back onto the user's. After my code change, you should be free to use GenomeBuildManager in a lot more places to determine what GenomeBuild. Anyway, I'll get to work on coding that. |
Turns out to be slightly more complicated (but still very managable): The datatables actually used UserSettings directly ignoring GenomeBuild manager, easy fix. It does mean my fix would be integrated with the new grouping display, so might just fix in my branch and try to get that branch into master rather than cherry picking it. |
For now I've completed the first part of this in my dev branch I might make a separate task to remove the toggle functionality from that page for Shariant. From a technical POV. |
Uh oh!
There was an error while loading. Please reload this page.
( Note this wont be testable in Shariant Test after SACGF/variantgrid_private#3722 )
https://app.testiny.io/VG/testcases/tcf/92/tc/192/edit
View the gene symbol page, eg search for "GATA2" or "BRCA2"
At the top of the page is a toggle that switches between genome builds, eg GRCh37/GRCh38
The classifications grid is sent this data in the URL, eg:
genes/gene/grid/GATA2/GRCh37/config/
However it doesn't seem to use it anymore.
I am not sure whether this was done deliberately for Shariant. If so, perhaps they want to disable the genome build toggle?
The text was updated successfully, but these errors were encountered: