valr 0.9.0
Breaking changes
- Added
min_overlapparameter tobed_intersect(),bed_subtract(),bed_coverage(), andbed_map(). The defaultmin_overlap = 1Laligns with bedtools behavior where book-ended (adjacent) intervals are not considered overlapping. Usemin_overlap = 0Lto preserve the previous valr behavior where book-ended intervals were treated as overlapping. Currently, calling these functions without an explicitmin_overlapvalue will emit a deprecation warning and use the legacy behavior (min_overlap = 0L). In a future release, the default will change tomin_overlap = 1L, so users should update their code to explicitly specify the desired behavior.
Major changes
- Migrated C++ backend from Rcpp to cpp11. This modernizes the codebase and removes the Rcpp dependency. All interval operations maintain identical behavior.
Minor changes
-
Eliminated all global variable dependencies by replacing bare column names with explicit
.data[["column"]]syntax in data manipulation operations andall_of()in column selection operations. -
Fixed
bed_makewindows()step size calculation whenstep_sizeparameter is used. Previously, overlapping windows stepped bywin_size - step_sizeinstead of the specifiedstep_size(#438). -
Select methods (
tibble,tribble) are now re-exported from thetibblepackage. -
read_bigbed()is now re-exported from thecpp11bigwigpackage.