raimondilab / precogx

A predictor of GPCR couplings with G-proteins/B-arrs using Transformers
https://precogx.bioinfolab.sns.it/
GNU General Public License v3.0
7 stars 3 forks source link

Show multiple sequences on PCA plot simlultaneously #95

Open maticmarin opened 1 year ago

maticmarin commented 1 year ago

@gurdeep330 Would it be possible regardless of the mutations that if one input multiple sequences in fasta format or any other way that they are all shown on PCA plot simultaneously. We want this for example in the case I was asking you for recently. Where we had number of sequences but they all are currently treated as WT and shown only one at a time

gurdeep330 commented 1 year ago

OK, I'll try to implement that ASAP.

gurdeep330 commented 1 year ago

@nataliarosa9, you will have to clone again (branch beta) Hi @maticmarin @raimondifranc Now you can view a toggle button in the PCA pane that enables you to toggle between

  1. Checked: show all input sequences simultaneously
  2. Unchecked: show only variants & WT of the selected GPCR

see the GIF below

precogxPCA

@nataliarosa9, could you also plz fix the CSS (size) of the toggle button? I am having a hard time setting it right :-) It is defined by id="flexSwitchVariants" lines 468 to 471

raimondifranc commented 1 year ago

hey Gurdeep,

great,it looks really nice, thx! Looking forward to swamp it with designed sequences!!!! thx all the best francesco

On Tue, Oct 25, 2022 at 3:18 PM Gurdeep Singh @.***> wrote:

@nataliarosa9 https://github.com/nataliarosa9, you will have to clone again (branch beta) Hi @maticmarin https://github.com/maticmarin @raimondifranc https://github.com/raimondifranc Now you can view a toggle button in the PCA pane that enables you to toggle between

  1. Checked: show all input sequences simultaneously
  2. Unchecked: show only variants & WT of the selected GPCR

see the GIF below

[image: precogxPCA] https://user-images.githubusercontent.com/43615259/197782459-6d32999e-9e1b-4e28-bfba-55b48d69ac9c.gif

@nataliarosa9 https://github.com/nataliarosa9, could you also plz fix the CSS (size) of the toggle button? I am having a hard time setting it right :-) It is defined by id="flexSwitchVariants" lines 468 to 471 https://github.com/raimondilab/precogx/blob/77c3f96a32e1bf252dd832aa5b35a16081ed8879/templates/result2.html#L468

— Reply to this email directly, view it on GitHub https://github.com/raimondilab/precogx/issues/95#issuecomment-1290537894, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACHY44IUTARZ2AXF5NO4I5DWE7MZBANCNFSM6AAAAAARNBQIVQ . You are receiving this because you were mentioned.Message ID: @.***>