polars-bio

Perform genomic interval arithmetic and bioinformatics I/O on Polars DataFrames.

321|26|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/mkurman/tamux --skill polars-bio-mkurman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: polars-bio
Source: https://github.com/mkurman/tamux/tree/main/skills/scientific-skills/polars-bio
Command: npx skills add https://github.com/mkurman/tamux --skill polars-bio-mkurman

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Polars-bio provides fast genomic interval operations and bioinformatics I/O on Polars DataFrames, enabling scalable interval arithmetic and cloud-enabled data processing for genomics.

Core Features & Use Cases

  • High-performance genomic interval operations (overlap, nearest, merge, coverage, complement, subtract)
  • Bioinformatics file I/O across BED/VCF/BAM/GFF formats with streaming and cloud support
  • SQL integration for querying registered files and Polars DataFrames
  • Use cases include large-scale genome analysis, variant processing pipelines, and out-of-core computation

Quick Start

Install polars-bio and run a basic overlap example to verify functionality.

Frequently Asked Questions about polars-bio

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

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

Genomic interval overlap operations on large datasets are executed using Polars DataFrames. Polars-bio processes BED, VCF, BAM, and GFF formats, applying high-performance interval arithmetic to find overlapping genomic regions efficiently.

Can I stream bioinformatics files directly from cloud storage?

Streaming bioinformatics files directly from cloud storage is supported by polars-bio. It enables cloud-native data processing for genomics, allowing out-of-core computation on BED, VCF, BAM, and GFF formats without downloading entire datasets locally.

What is the best way to find nearest genomic intervals in Polars?

Finding nearest genomic intervals in Polars is best handled through the LazyFrame-oriented API. Polars-bio provides specific nearest interval operations, enabling scalable searches across large genomic datasets to identify adjacent features.

Does DataFusion integration support querying registered genomic files?

DataFusion integration supports querying registered genomic files and Polars DataFrames via SQL. This allows users to perform complex filtering and data extraction directly on bioinformatics file formats using standard SQL syntax.

What genomic interval arithmetic operations are available for variant processing pipelines?

Genomic interval arithmetic operations available for variant processing pipelines include overlap, nearest, merge, coverage, complement, and subtract. These operations run on Polars DataFrames to handle large-scale genome analysis.

Why use Polars for bioinformatics file I/O instead of other data processing frameworks?

Using Polars for bioinformatics file I/O provides high-performance, streaming-enabled interval operations. Polars-bio leverages Polars DataFrames and DataFusion to achieve scalable, out-of-core computation for genomic intervals that other frameworks may lack.