pyranges / pyrle

Numerical Run Length Encoding and Arithmetic in Cython
https://biocore-ntnu.github.io/pyranges/an-introduction-to-rles.html
MIT License
16 stars 3 forks source link

pyrle

Build Status hypothesis tested PyPI version

Run length arithmetic in Python using Cython. Inspired by the Rle class in R's S4Vectors.

As opposed to S4Vectors, pyrle does not rotate the shortest vector, but rather extends the shorter Rle with zeroes. This is likely the desired behavior in almost all cases.