polars-bio

Perform overlap, nearest, and merge operations on Polars DataFrames.

1|2|Updated Apr 29, 2026
One-click install
npx skills add https://github.com/fuzzy-dynamics/strings --skill polars-bio-fuzzy-dynamics
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: polars-bio
Source: https://github.com/fuzzy-dynamics/strings/tree/main/packages/skills/polars-bio
Command: npx skills add https://github.com/fuzzy-dynamics/strings --skill polars-bio-fuzzy-dynamics

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Genomic interval analysis is data-heavy and performance-bound when using generic dataframes; polars-bio delivers a high-performance, streaming-capable solution built on Polars for interval arithmetic and fast I/O.

Core Features & Use Cases

  • Genomic interval operations: overlap, nearest, merge, cluster, coverage, complement, subtract.
  • Bioinformatics file I/O for BED/VCF/BAM/CRAM/GFF/GTF/FASTA/FASTQ with cloud storage and streaming support.
  • SQL integration to register files as tables and query with DataFusion, enabling end-to-end analytics.
  • Streaming/out-of-core processing with LazyFrame-based pipelines and DataFusion integration.
  • Fluent, method-chaining API via the .pb accessor on LazyFrame for composable pipelines.

Quick Start

Install polars-bio and run a simple overlap between two interval DataFrames to produce a LazyFrame result that you can collect.

Frequently Asked Questions about polars-bio

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform fast genomic interval overlap operations on large sequencing datasets?▼

Genomic interval overlap operations on large datasets are handled by applying interval arithmetic directly onto Polars DataFrames. The Skill uses streaming and out-of-core processing to manage data-heavy BED, VCF, and BAM files efficiently.

Can I query bioinformatics files like BED and VCF using SQL?▼

Yes, you can register bioinformatics files as tables and query them using SQL. The Skill integrates DataFusion to enable end-to-end SQL-backed analytics directly on genomic interval data.

What is the best way to process big genomic interval files that exceed memory?▼

Processing big genomic interval files that exceed memory is achieved through LazyFrame-based pipelines with streaming and out-of-core computation. This approach uses DataFusion integration to handle large datasets without loading them entirely into memory.

Does polars-bio support cloud storage I/O for genomic data formats?▼

Yes, polars-bio supports cloud storage I/O for reading and writing genomic data formats. This includes streaming operations for interval datasets like BED, VCF, BAM, CRAM, GFF, GTF, FASTA, and FASTQ directly from cloud environments.

How do I chain multiple interval operations like merge and nearest in a pipeline?▼

You can chain multiple interval operations like merge and nearest using a fluent, method-chaining API. The Skill provides a .pb accessor on LazyFrame objects to build composable genomic data processing pipelines.

What genomic interval operations are available beyond basic overlap?▼

Beyond basic overlap, available genomic interval operations include nearest, merge, cluster, coverage, complement, and subtract. These operations are optimized for sequencing data workflows using Polars DataFrames.