josiahseaman / FluentDNA

FluentDNA allows you to browse sequence data of any size using a zooming visualization similar to Google Maps. You can use FluentDNA as a standalone program or as a python module for your own bioinformatics projects.
65 stars 7 forks source link

Ideogram: Mouse coordinate padding is off at the end of each chromatin fiber row #70

Closed josiahseaman closed 5 years ago

josiahseaman commented 5 years ago

39 #53 Follow on for Ideogram 44c664eb5e23ac64bf7e43d09e80dd2609b86b59

This is a known issue that won't be fixed right now.

padding[-1] = self.fibre_padding  # very last y layer has padding to match hacked_padding()
# This has the side effect that coordinates are wrong for the last half of the last
# block in each row where hacked padding comes in the middle and mouse padding is at the end

The solution is to either rewrite build_coordinate_mapping() to be levels based or special case the last block of each fiber row in peano_mouse_position().