nextstrain / auspice

Web app for visualizing pathogen evolution
https://docs.nextstrain.org/projects/auspice/
GNU Affero General Public License v3.0
292 stars 161 forks source link

ENH: Show nucleotides as first item in list for genotype coloriung #1548

Closed corneliusroemer closed 2 years ago

corneliusroemer commented 2 years ago

Context

I often colour by genotype. Particularly in monkeypox with ~200 genes, it's annoying that nucleotides come last. The chance that I care about the first gene in the list is low as there are 200 of them. It would be nice as a result if nucleotides came first.

As nucleotide is probably the most relevant unless there's a gene of particular interest.

It could be best if one could specify which genes/nt should come first. In SC2, for example, it'd be great to start with S, then have nucleotides.

Maybe it's possible to customize the sequence already and I'm just not aware of it? In that case, please close @jameshadfield

2022-09-19 18 19 59 2022-09-19 18 20 27

jameshadfield commented 2 years ago

It would be nice as a result if nucleotides came first.

Yeah this does seem sensible in all cases.

P.S. you can start typing after selecting the dropdown, e.g. nu or s and it'll jump to those entries ;)

corneliusroemer commented 2 years ago

I know but then I need to reach for the keyboard 🙈

Just thought being able to specify which few come first before the rest would be nice. We have a default gene in Nextclade too.

On Mon, Sep 19, 2022, 23:27 james hadfield @.***> wrote:

It would be nice as a result if nucleotides came first.

Yeah this does seem sensible in all cases.

P.S. you can start typing after selecting the dropdown, e.g. nu or s and it'll jump to those entries ;)

— Reply to this email directly, view it on GitHub https://github.com/nextstrain/auspice/issues/1548#issuecomment-1251580207, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF77AQKZVHHJAWJJ3VTROZLV7DLFNANCNFSM6AAAAAAQQIMGYI . You are receiving this because you authored the thread.Message ID: @.***>

emmahodcroft commented 2 years ago

I would second this request, actually. It's long been on my mind, but with the monkeypox builds it's really become a thing, there are just so many genes. I think even without discussion of other gene orders, moving 'nucleotides' to the top of the list by default would be sensible. At the moment I think we just sort alphabetically(?), and so it's just by bad luck that nucleotide falls so far down the list!

AngieHinrichs commented 2 years ago

I too am often hunting for nucleotides. This would be convenient!