Skip to content

Fix sequence track when displaying multiple regions#724

Merged
garrettjstevens merged 5 commits intomainfrom
seq_track_outside_bounds
Nov 4, 2025
Merged

Fix sequence track when displaying multiple regions#724
garrettjstevens merged 5 commits intomainfrom
seq_track_outside_bounds

Conversation

@garrettjstevens
Copy link
Copy Markdown
Contributor

This is a fix for a similar case to #721, but is actually for the Apollo Reference Sequence Track instead of the Apollo Annotation Track.

The sequence part of the track displayed ok with multiple displayed regions before this, but it didn't let the inter-region padding lines show through, and the highlighting was not working correctly. Comparison below with JBrowse sequence track also showing to show accuracy.

Before
image

After
image

Trying to update the drawing code to address #720 and #721 has proven difficult because that part of the code has gone through so many changes and additions. This is the first of probably several PRs to refactor the drawing code in a effort to make it easier to maintain.

@garrettjstevens garrettjstevens self-assigned this Nov 4, 2025
@garrettjstevens garrettjstevens merged commit b389aeb into main Nov 4, 2025
7 checks passed
@garrettjstevens garrettjstevens deleted the seq_track_outside_bounds branch November 4, 2025 17:47
cmdcolin pushed a commit to cmdcolin/Apollo3 that referenced this pull request Mar 16, 2026
* Fix variable name

* Don't draw frame colors outside displayed regions

* Fix sequence not displaying sometimes

* Use contentBlocks iterator

* Factor track drawing into separate files
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.

1 participant