Skip to content

Expected refactoring (copied old PR by @golobor)#170

Merged
nvictus merged 91 commits intomasterfrom
develop
Sep 9, 2020
Merged

Expected refactoring (copied old PR by @golobor)#170
nvictus merged 91 commits intomasterfrom
develop

Conversation

@mimakaev
Copy link
Contributor

@mimakaev mimakaev commented Jun 30, 2020

  • rename supports → regions
  • assign_supports:
    • bioframe intersect? Create a function that takes two sets of intervals, where the second is non-overlapping and sorted, and assigns the span of each set 1 interval in set 2 intervals. Make sure that it works with different resolutions, where spans of individual pixels may overflow chromosomal arms. Should end up in bioframe.
    • (kind of done with array options) rewrite assign_supports as a generic array operation on binspans?.. I.e. overlap a region and a point, but w/o chromosomes.
    • [x ] modify diagsums to use these new functions
  • bioframe.tools.split_chromosomes (Do we still need this?)
    • if centromere is missing, assume the split point at 0
    • Allow BED inputs
    • multiple split points per chromosome
  • clean up diag_assym
    • what’s this regions1, regions2?..
  • autogenerate transforms from weights?
  • [x ] in bioframe, set up an easy way to generate and retrieve chromosomal arms
  • [x ] (subject to change) finalize the format of the expected table
  • store data inside coolers

sergpolly and others added 30 commits May 3, 2019 16:51
sync develop with master
get latest from upstream
Mock out imports directly so sphinx-click works (#136)
* Make saddle strength work with NaNs

* Allow regions in CLI for expected

* Fix region_names without regions
* More docstring edits

* Mock out imports directly

* Apply suggestions from code review

Co-Authored-By: Sergey Venev <sergpolly@gmail.com>

* Restore numpy to docs requirements

* Fix trans bad pixel counting

* fixed typo, added scalar extraction from array

* Update cooltools/expected.py

Co-Authored-By: Nezar Abdennur <nabdennur@gmail.com>

* Set default zoom order to 1

Somehow default zoom order was set to 3 instead of a much better default of 1! Goes against the docstring too.

* Change to new bioframe function names (#149)

* updated bioframe.slice_bedframe to bioframe.bedslice in line 337

* updated bioframe.bisect_bedframe to bioframe.bedbisect in line 356

* Update license

* Bump to dev version

* Revert changes to bioframe functions

* Pin dependency of cooltools 0.3 to bioframe 0.0

* Release v0.3.2

Co-authored-by: Nezar Abdennur <nabdennur@gmail.com>
Co-authored-by: Ilya Flyamer <flyamer@gmail.com>
Co-authored-by: Maksim Imakaev <mimakaev@gmail.com>
Co-authored-by: Sameer Abraham <sameer.abraham0@gmail.com>
* Bump again to 0.4.0-dev

* Start using CliRunner for testing cli commands
@nvictus nvictus marked this pull request as ready for review September 9, 2020 01:23
@nvictus nvictus merged commit a0ee39d into master Sep 9, 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.

6 participants