covariants icon indicating copy to clipboard operation
covariants copied to clipboard

Turn on/off different lineages/variants shown in 'Shared Mutations'

Open emmahodcroft opened this issue 3 years ago • 2 comments

At the moment only the 3 main Variants of Concern, plus 20B/S.484K are shown in the 'Shared Mutations' page. However, it would be nice to be able to add any variant that's currently of interest, so that people can see what mutations are shared. Particularly since the variants on this page are source separately from how 'buttons' are generated, this can be much more flexible to what's of interest at any given time.

Ideally, we could add multiple variants to mutation_comparison.py, but then there would be some series of check-boxes to the top or side, where users could turn on and off which ones they'd like to display. We could update mutations_comparison.py to indicate the ones that should be shown by default.

If anyone is interested in working on this and would like a list of more variants/lineages to play with, see thread below (add to mutation_comparison.py).

emmahodcroft avatar Feb 26 '21 16:02 emmahodcroft

    "B.1.1.207": {
        "nonsynonymous": [
            "S:E484K",
            "S:D614G",
            "S:P681H"
        ]
    },

    "B.1.1.318": {
        "nonsynonymous": [
            "S:T95I",
            "S:Y144-",
            "S:E484K",
            "S:D614G",
            "S:P681H",
            "S:D796H"
        ]
    },

    "B.1.525": {
        "nonsynonymous": [
            "S:Q52R",
            "S:A67V",
            "S:H69-",
            "S:V70-",
            "S:Y144-",
            "S:E484K",
            "S:D614G",
            "S:Q677H",
            "S:F888L"
        ]
    },

    "19B/ S:501Y": {
        "nonsynonymous": [
            "S:H69-",
            "S:V70-",
            "S:N501T",
            "S:H655Y"
        ]
    }
    

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