You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
adjust_view_to_bintable to synchronize view start/end with bin start/end. We frequently have viewframe made at in bp resolution, while bins are much larger, and it is not clear to what regions to assign them. This tool will provide a standard for making this decision.
The text was updated successfully, but these errors were encountered:
What we already have in bioframe and what might be useful for the discussion.
filtering bin table by viewframe has at least three bioframe-ish solutions:
bioframe.select with pd.concat - will output bins that overlap multiple regions multiple times
bioframe.overlap with DataFrame.dropna - does not verify the viewframe for sorting/non-overlapping
bioframe.assign_regions with DataFrame.dropna - the most reasonable way. Bin that overlaps multiple regions will be assigned to the one with the highest overlap.
regions_to_bins
to assign binspans to a set of bp spansalign_tables
Find a way to ensure alignment of two interval tables. #37adjust_view_to_bintable
to synchronize view start/end with bin start/end. We frequently have viewframe made at in bp resolution, while bins are much larger, and it is not clear to what regions to assign them. This tool will provide a standard for making this decision.The text was updated successfully, but these errors were encountered: