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

allow the display of insertion/deletion base counts #1526

Merged
merged 4 commits into from Jul 15, 2022

Conversation

davidlougheed
Copy link
Contributor

@davidlougheed davidlougheed commented Jun 16, 2022

addresses #1498

Adds 4 new config options for alignment tracks:

  • insertionTextColor (default: white)
  • showInsertionText (default: false)
  • deletionTextColor (default: black)
  • showDeletionText: (default: false)

if both insertion and deletion text are shown via the above options, it may look something like this (example with CCS reads + HTT expansion; ignore the read colours):
Screen Shot 2022-06-16 at 6 09 41 PM

there is also a bit of logic to decide when to stop drawing these labels when the user is zoomed out enough.

this also changes bases to be drawn on top of insertions/deletions to match the Java version. this can be reverted fairly easily if desired. gaps are now also drawn underneath insertions to display more intuitively.

If this PR is merged, I agree to transfer the copyright of these changes to the copyright holders of the igv.js repository.

@jrobinso jrobinso merged commit a633095 into igvteam:master Jul 15, 2022
@jrobinso
Copy link
Contributor

Nice, thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants