-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TODO -- the zooming is reversed for negative strand CDSs (no changes yet to _rangeLocalZoomCoordinates) To best accommodate CDSs in a limited space but without wanting and CDSs to overlap, we now calculate the most efficient stacking of CDSs (to be shown above/below the nav axis) to minimise vertical space whilst not having any overlapping CDSs. This is done ahead of time so different genomes will make the best use of space: genomes without -ve strand CDSs don't have excess whitespace below the axis, genomes with no overlapping CDSs use less vertical space etc. The main axis also uses this stacking approach but purposefully overlaps genes to save space, and an arrowhead is used to convey strandedness. This resolves the issue of overlapping text in my test datasets (incl. HepB) but it may re-occur in some very complex genomes. When a CDS is selected then we change the space available for annotation (as there is only ever one "row" of annotation here) and thus maximise the available space for the barchart.
- Loading branch information
1 parent
49b3a3f
commit b047629
Showing
3 changed files
with
308 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.