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

Feature Request display CIGAR mismatch codes when zoomed out more #1643

Open
childers opened this issue May 16, 2023 · 1 comment
Open

Feature Request display CIGAR mismatch codes when zoomed out more #1643

childers opened this issue May 16, 2023 · 1 comment

Comments

@childers
Copy link

Hi all,

we just encountered an issue where we can see the CIGAR mistmatches in an alignment track, but not when it is set to alignment2. I am not sure if this is a configurable option, and if so, what the name would be to override the default.

Ideally, the zoom level for showing these mismatches would be the same for Alignments2 features as it is for Alignments type features.

@cmdcolin
Copy link
Contributor

if you want to consider hand editing the source code, you can remove or increase this check here which would conditionally display bpPerPx at different scales

https://github.com/GMOD/jbrowse/blob/master/src/JBrowse/View/FeatureGlyph/Alignment.js#L72-L78

The 'scale' is 1/bpPerPx so that would be 1/0.2=5 base pairs per pixel, then it stops displaying the mismatches currently. would be a longer process to make this change on our end e.g. releasing a whole new version of jbrowse, but it should be possible to make custom jbrowse builds with your custom changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants