covariants icon indicating copy to clipboard operation
covariants copied to clipboard

Add toggle to 'Shared Mutations' to display either 'Spike-only' or 'All'

Open emmahodcroft opened this issue 3 years ago • 1 comments

At the moment the Shared Mutations page pulls anything put in mutation_comparison.py and displays it. At the moment to keep this useful but simple, only Spike mutations are put into the mutations_comparison.py file.

However, it would be incredibly useful to extend this to other genes! However, to keep things usable, it might be nice to have a toggle so users can select - show just Spike, or 'All genes'.

Or, a more advanced version could offer a drop-down of each gene available (or all genes). Even more advanced, you could select a couple of genes (but UI might get bulky!)

This would mean we could add mutations from all the genes to mutations_comparison.py, but the web interface would be able to show and hide different genes on demand.

If anyone is interested in working on this & having some other gene-mutatoin-info in there would help testing, please tag me and I can prioritise getting this data!

emmahodcroft avatar Feb 26 '21 16:02 emmahodcroft

You can see branch more_mutations_compare for example data to work with.

emmahodcroft avatar Feb 26 '21 16:02 emmahodcroft