-
Notifications
You must be signed in to change notification settings - Fork 61
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
ENH: Display ambiguous mutations in gene/nuc view tooltip #700
Comments
The translation of ambiguous nucs is a cool feature we discussed with Richard even in the early days of Nextclade. It can be implemented quite easily, by modifying the decoding map. Someone needs to actually build the map and put the additional triplet-to-aa entries above the catch-all case which resolves to AA The coolness of this I see in that it will reduce the number of Regarding showing how ambiguous nucs and AAs are linked - it's trickier. We currently don't track why a codon becomes an |
@corneliusroemer showing nuc markers is easy. I can add that. What colors would you like to see? We already have 3 shades of gray for deletions, Ns and unsequenced. And if not gray, then I guess some random pale colors? However calculating correspondence between aa and nucs is generally a more complex task. Plus, not all We've improved our decoding recently to handle some of the ambiguities, so, hopefully, there should be less Xs coming from non-ACTGNs. |
Would be great to add this @ivan-aksamentov - this would have really helped me some time investigating this case: yatisht/usher#354 - not showing ambiguous nucs/aa would be a big win for the sequence viewer. Color doesn't really matter, we can always tweak later. |
Resolves: #700 Add colored markers for ambiguous nucleotide to nucleotide sequence view. I tried to pick colors to be pale (so that they resemble pale grey of missing nucs) and to be a mixture of colors of corresponding nucs, or to be inverse color in case of "not" characters (e.g. color of not-A is a pale inverse of color of A). I made them half-height at the top by default, just like missing nucs. (Settings UI is currently broken, so it's impossible to change at the moment, sorry) Tooltip text is as specified in the original issue.
@corneliusroemer prototype is here: #1273 |
Ambiguous nucleotides are currently displayed only in the tooltip of the corresponding column:
In gene view, ambiguous bases turn the corresponding AA into an X. It would be nice, if the X tooltip showed corresponding ambiguous nucleotides, like AA mutation tooltips show the mutated nucs.
Current:
Something like this would be cool, potentially even with a range of possible amino acids that is compatible with the ambiguity.
The text was updated successfully, but these errors were encountered: