Skip to content

pyranges/pyrle

Repository files navigation

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.