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

Make curves going the same way use a consistent Z order #459

Merged
merged 3 commits into from
Sep 16, 2024

Conversation

adamnovak
Copy link
Member

Right now crossing bands of reads will overlap arbitrarily. See the first region in the Lancet example (screenshot):
Screenshot of reads going up and reads going down overlapping each other randomly

With this change the reads going between a pair of nodes all have a consistent Z level:

Screenshot of all the reads going between one pair of nodes over all the reads going between a different pair

@adamnovak
Copy link
Member Author

We get a sort of transparency effect since the curve edges don't exactly coincide. We might want real transparency.

@adamnovak
Copy link
Member Author

This also seems to remove duplicate SVG nodes for curves, because we were drawing from the unfiltered trackCurves and not the filtered myTrackCurves.

@adamnovak adamnovak merged commit 0452ecb into master Sep 16, 2024
1 check passed
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