Skip to content
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

Increase color clarity in the multi-variant viewer #4846

Merged
merged 1 commit into from
Feb 19, 2025
Merged

Conversation

cmdcolin
Copy link
Collaborator

The variant matrix tries to 'mix' colors, but in some cases, it will mix colors in a way that washes out the 'uncalled' signal

This PR avoids doing a color mix if there were no e.g. alt alleles at all and it is 100% uncalled.

@cmdcolin
Copy link
Collaborator Author

example on haploid genome data from https://marchantia.info/ (trying to reproduce this figure from their paper chr8:5,150,022..5,204,022)

this branch

Screenshot 2025-02-18 at 5 20 00 PM

main branch
Screenshot 2025-02-18 at 5 21 08 PM

@cmdcolin
Copy link
Collaborator Author

probably worth making this color scheme configurable and add legends

@cmdcolin cmdcolin merged commit 0ebd461 into main Feb 19, 2025
4 checks passed
@cmdcolin cmdcolin deleted the more_bold_colors branch February 19, 2025 02:04
@cmdcolin cmdcolin added the enhancement New feature or request label Feb 20, 2025
@cmdcolin cmdcolin changed the title More bold colors for uncalled Increase color clarity in the multi-variant viewer Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant