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

Customizable zoom progressions. #203

Merged
merged 8 commits into from Jun 23, 2020
Merged

Customizable zoom progressions. #203

merged 8 commits into from Jun 23, 2020

Conversation

nvictus
Copy link
Member

@nvictus nvictus commented Jun 17, 2020

A way to succinctly specify certain resolution patterns for zoomification on the command line.

B : binary geometric progression: zooms increase by factors of 2.
N: preferred/nice progression similar to https://en.wikipedia.org/wiki/Preferred_number#1-2-5_series but based on steps of factor 10 interleaved with steps of 2 and 5.

Progressions increase until reaching a resolution of genome length in bp / 256.

Examples:

  • 1000N expands to the 1-2-5 series: [1000, 2000, 5000, 10000, 20000, ...]
  • 5000N expands to the 10-25-50 series: [5000, 10000, 25000, 50000, 100000, ...]
  • The standard 4DN resolutions are summarized as 1000,2000,5000N which expands to [1000, 2000, 5000, 10000, 25000, 50000, 100000, 250000, ...]

* This is 0.8.8-dev

* Roll forward to py38 on travis

* Add dask array adapter

* Update tests

* Drop unused function

* Fix bug in fileops cli

* Some cleanup to sanitizers

* Fix edge case bugs in coarsen and merge

* Improve code coverage

* Update travis

* Py2/3 compatibility for yaml conversions

* Update travis

* Update tests

* Update tests

* Update travis.yml
@nvictus nvictus merged commit c877cf6 into open2c:develop Jun 23, 2020
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

1 participant