henhaobio
Sign in

BioinformaticsGenomicsPeer-reviewed journal article

PyRanges: efficient comparison of genomic intervals in Python

Endre Bakken StovneriD, Pål SætromiD

PDFDOIPreprintCode

Abstract

SummaryComplex genomic analyses often use sequences of simple set operations like intersection, overlap, and nearest on genomic intervals. These operations, coupled with some custom programming, allow a wide range of analyses to be performed. To this end, we have written PyRanges, a data structure for representing and manipulating genomic intervals and their associated data in Python. Run single-threaded on binary set operations, PyRanges is in median 2.3-9.6 times faster than the popular R GenomicRanges library and is equally memory efficient; run multi-threaded on 8 cores, our library is up to 123 times faster. PyRanges is therefore ideally suited both for individual analyses and as a foundation for future genomic libraries in Python.\n\nAvailabilityPyRanges is available open-source under the MIT license at https://github.com/biocore-NTNU/pyranges and documentation exists at https://biocore-NTNU.github.io/pyranges/\n\nContactendrebak85@gmail.com\n\nSupplementary informationSupplementary data are available.

Citations
94
FWCI
2.07
Field percentile
top 12%

Reproducibility ledger

Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.

Sign in to file a reproducibility report.

Similarity Map
SelectedSame fieldCross-field
THISStovner '25Wiewiórka '25Buffalo '24Teyssier '23Open2C '24Feng '19
79% semantic matchBioinformatics
Endre Bakken Stovner, Max Ticó, Ester Muñoz del Campo+4 more·bioRxiv·Dec 12, 2025· 1 citations