polars-bio

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

13|3|Updated Jun 10, 2026
One-click install
npx skills add https://github.com/tassiovale/claude-code-kit --skill polars-bio-tassiovale
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: polars-bio
Source: https://github.com/tassiovale/claude-code-kit/tree/main/skills/polars-bio
Command: npx skills add https://github.com/tassiovale/claude-code-kit --skill polars-bio-tassiovale

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires polars-bio, polars, apache-arrow, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill simplifies genomic interval operations and bioinformatics file I/O using Polars DataFrames, providing fast and scalable genomic data processing.

Core Features & Use Cases

  • Genomic Interval Operations: Perform overlap, nearest, merge, coverage, complement, and subtract operations on genomic intervals.
  • Bioinformatics File I/O: Read and write common bioinformatics formats like BED, VCF, BAM, CRAM, GFF/GTF, FASTA, and FASTQ.
  • Use Case: Use this Skill to process large genomic datasets, perform complex genomic interval arithmetic, and integrate genomic data into your workflows.

Quick Start

Use the polars-bio skill to merge overlapping intervals in a BED file 'intervals.bed'.

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 operations like overlap and merge using Polars?

Genomic interval operations such as overlap, nearest, merge, coverage, complement, and subtract can be performed directly on Polars DataFrames. This approach applies bioinformatics interval arithmetic efficiently to process large genomic datasets.

Can I read and write common bioinformatics file formats like VCF, BED, and BAM with Polars DataFrames?

Yes, bioinformatics file I/O supports reading and writing common formats like BED, VCF, BAM, CRAM, GFF/GTF, FASTA, and FASTQ. These formats are seamlessly integrated into Polars DataFrames for fast and scalable genomic data processing.

Does polars-bio support streaming and out-of-core operations for large genomic datasets?

Yes, the tool supports streaming and out-of-core operations for large genomic datasets. This allows genomic data processing and complex interval arithmetic to scale efficiently beyond available memory using Polars and Apache Arrow.

What is the best way to integrate genomic data into Polars workflows for variant calling?

Integrating genomic data into Polars workflows for variant calling is best handled by applying genomic interval arithmetic and bioinformatics file I/O directly on DataFrames. This provides fast and scalable genomic data integration.

Do I need Apache Arrow installed to process genomic intervals with Polars?

Yes, Apache Arrow is required alongside Polars to process genomic intervals. These dependencies provide the efficient data processing foundation necessary for performing bioinformatics file I/O and interval operations.

Are there limitations when performing bioinformatics file I/O on genomic data?

While it supports streaming and out-of-core operations for large genomic datasets, performance depends on the underlying Polars and Apache Arrow environment. Extremely complex variant calling workflows may require additional integration steps.