AI SKILLS / DATA · COMMUNITY SKILL
polars-bio
polars-bio is a high-performance library for genomic interval operations and bioinformatics file processing based on Polars DataFrames. It supports formats such as BED, VCF, BAM, and CRAM, offering streaming processing, cloud storage access, and SQL query capabilities, and is 6–38 times faster than bioframe.
- When you need operations like overlap detection, nearest-neighbor search, merging, and coverage calculation on genomic intervals, polars-bio is 6–38× faster than traditional tools (e.g., bioframe). It is well-suited for human-genome-scale datasets.
- For oversized BAM/CRAM files beyond available RAM, or for massive collections of intervals, polars-bio’s streaming mode (
functions) and the DataFusion engine can process data in batches without loading everything into memory at once.