-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat(website): simple mutation badges #1666
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When selecting and copying the list of mutations, I get:
A296CC357TG361AT370CT378CT379CG382AT386C
It would be nice if there would be a space in between.
ChatGPT does this really well: https://chat.openai.com/share/1fdf940b-6410-421b-926f-3d9b2af64b87 Writes a Python script to convert hex to hsv, then adjusts saturation and brightness, then converts back to hex! Here's the result (you can use the script to tweak manually, it provides the exact array you can just copy/paste: |
I have actually changed the colors to be more loculus like - was all manual so we can also not use ? |
(IMO some of those manual colours are oversaturated and of those two options my pref would maybe be Cornelius's) |
7e9162a
to
5f892e0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks nice!
135bf82
to
a43c2b9
Compare
a43c2b9
to
b88fdb5
Compare
…lly increase timeout.
…or nucleotides and aminoacids, each can gave a sequence name appended to the front if required. (e.g. for a gene or a segment id).
d876fce
to
8a4bf42
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me - thanks!
resolves #1620
preview URL: https://feat-simple-mutation-badg.loculus.org/
Summary
This PR makes it easier to view lists of substitutions by creating a mutation badge for each mutation.
Screenshot
Future work
PR Checklist