Skip to content

High-performance genomic interval arithmetic and bioinformatics file I/O on Polars DataFrames, with coordinate-system guardrails.

CCM score
75 of 100
skills.sh installs
2.1K
GitHub stars
58.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers overlap, nearest, merge, cluster, coverage, complement, and subtract operations on genomic intervals, plus lazy reads and writes for BED, VCF, BCF, BAM, CRAM, GFF, GTF, FASTA, and FASTQ
  • Enforces an explicit coordinate contract (default 1-based closed, optional 0-based half-open) and checks metadata to prevent silent double conversion or mismatched inputs
  • Documents 0.36.0 behavior that differs from bioframe, including unimplemented on_cols, bookend handling in merge and cluster, and the signed Int32 bound on overlap indexing
  • Designed for coordinate-aware genomic joins, read-depth analysis, and migrating bioframe pipelines, with pinned Polars and polars-bio versions

Install

$ npx -y skills add k-dense-ai/scientific-agent-skills --skill polars-bio -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

polars-bio

Use this skill for genomic interval arithmetic and bioinformatics file I/O through Polars and DataFusion. It targets polars-bio 0.36.0, tested with Polars 1.44.2 on Python 3.13. The upstream package requires Polars >=1.37.1, PyArrow >=23.0.1,<25, DataFusion >=53,<54 and polars-config-meta >=0.3.2,<1. Keep this environment separate from packages needing incompatible Arrow or DataFusion releases.

uv pip install "polars-bio==0.36.0" "polars==1.44.2"
# Optional pandas interoperability (requires pandas >=3):
uv pip install "polars-bio[pandas]==0.36.0" "polars==1.44.2"

Verify new releases against the official release notes and package requirements. The examples below with named files are templates: substitute actual files and check their schemas. The synthetic interval example and small local format round trips were executed during this review.

Workflow

Details

Repository
github.com/k-dense-ai/scientific-agent-skills
Categories
Data Science & Analytics, Research & Academic
First seen
Jun 3, 2026

Questions

What does the polars-bio skill do?

polars-bio performs genomic interval overlap, nearest, merge, coverage, complement and subtraction on Polars DataFrames. It also reads and writes BED, VCF, BCF, BAM, CRAM, GFF, GTF, FASTA and FASTQ data for coordinate-aware genomic joins.

How do I install the polars-bio skill?

Run npx -y skills add k-dense-ai/scientific-agent-skills --skill polars-bio -y in a project to install it. Once installed, polars-bio lets the agent run genomic interval arithmetic and bioinformatics file I/O through Polars.

What does polars-bio need to run?

polars-bio requires Python 3.11 to 3.14 and the polars-bio 0.36.0 package. Network access and provider credentials are needed only for remote data, and CRAM with an external reference needs a local FASTA and .fai file.

Where does polars-bio sit in its category?

polars-bio is in the Data Science & Analytics category on Claude Marketplaces, alongside azure-kusto, analyze-project and run-train. Its focus on genomic interval operations sets it apart from those general analytics skills.

More from k-dense-ai/scientific-agent-skills

All 132

Similar to Polars Bio

More Data Science & Analytics