What problem does it solve?
It streamlines high-performance genomic interval operations and bioinformatics file I/O by letting you run overlap, nearest, merge, coverage, complement, and subtract directly on Polars DataFrames with scalable, out-of-core execution.
Core Features & Use Cases
- Genomic interval arithmetic: Compute overlap, nearest, merge/cluster, coverage, complement, and subtract for BED/VCF-like interval data using a DataFrame-first API.
- Fast file I/O for bioinformatics formats: Read and stream BED, VCF, BAM, CRAM, GFF/GTF, FASTA/FASTQ, SAM, and Hi-C pairs with cloud-path support and compression handling.
- SQL + streaming workflows: Register genomic files as DataFusion tables and query them with SQL, then pipe results into interval operations for end-to-end analytics.
- Ideal use cases: Large cohort interval matching, variant-region filtering and joining, pileup-style depth-driven region selection, and migrating from bioframe to a faster Polars-backed alternative.
Quick Start
Install polars-bio, then run overlap between two interval datasets by executing: pb.overlap(df1, df2).collect()