polars-bio

Perform genomic interval operations and bioinformatics file I/O with Polars DataFrames.

Updated May 17, 2026
One-click install
npx skills add https://github.com/galeep/plugin-place --skill polars-bio-galeep
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: polars-bio
Source: https://github.com/galeep/plugin-place/tree/main/plugins/sci-bioinformatics-genomics/skills/polars-bio
Command: npx skills add https://github.com/galeep/plugin-place --skill polars-bio-galeep

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires polars, pandas, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines genomic interval operations and bioinformatics file I/O, significantly reducing processing times for large genomic datasets and enabling efficient data handling.

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: If you're working with genomic data and need to quickly analyze intervals or process large files, this Skill can help you perform these tasks efficiently.

Quick Start

To perform an overlap operation on two genomic intervals, use the following command: overlap --df1 df1_intervals.csv --df2 df2_intervals.csv --output output.csv.

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 using Polars DataFrames?

You can perform genomic interval overlap operations by loading two interval DataFrames and applying the overlap command to output a CSV of intersecting ranges. The Skill executes high-performance range arithmetic directly on Polars DataFrames.

Can I read and write VCF and BAM files directly in Python without Pandas?

Yes, you can read and write VCF, BAM, CRAM, BED, GFF/GTF, FASTA, and FASTQ files directly using Polars DataFrames. The Skill handles bioinformatics file I/O natively, supporting local and cloud storage on S3, GCS, and Azure.

What is the best way to merge large genomic intervals for high-performance data processing?

The best way to merge large genomic intervals is using the built-in merge operation optimized for Polars DataFrames. This approach significantly reduces processing times for large genomic datasets compared to standard Pandas operations.

Does this bioinformatics interval tool support reading genomic data from S3 cloud storage?

Yes, the tool supports cloud I/O for reading and writing bioinformatics file formats directly from S3, GCS, and Azure. This enables efficient data handling for large genomic datasets stored in cloud environments.

Do I need Python 3.11 or higher to run genomic interval operations with Polars?

Yes, you need Python 3.11, 3.12, 3.13, or 3.14 along with the Polars library installed. These specific Python versions are required to execute the high-performance genomic range arithmetic and file handling operations.

What genomic interval calculations are supported besides overlap?

Besides overlap, the Skill supports nearest, merge, coverage, complement, and subtract operations on genomic intervals. These operations optimize genomic range arithmetic for large datasets using Polars DataFrames.