- Added a numpy vectorized version of finding gaps (tldr: not fast compared to the traditional version). May be needs a better implementation
- Added NCLS based intersection operation (based on what pyranges does in their internals)
- Added tests for intersection operations.
- Fixed and issue when coercing
IRanges
containing mcols.
Optimizing a couple of methods in IRanges
:
- Update
gaps
andreduce
to slightly faster NumPy based operations. - Switch
np.array
tonp.asarray
Changes to be compatible with NumPy's 2.0 release:
If using
np.array(obj, copy=False)
replace it withnp.asarray(obj)
to allow a copy when needed (no behavior change in NumPy 1.x). For more details, see https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword.
- Support coercion from
IRanges
to Polars and vice-versa - Setting up
myst_nb
to execute snippets in tutorial/documentation markdown files
- Feature complete implementation of IRanges from Bioconductor