scikit-bio

Manipulate biological sequences and perform bioinformatics analyses in Python.

15|2|Updated Dec 17, 2025
One-click install
npx skills add https://github.com/rubensliv/k-dense-ai --skill scikit-bio-rubensliv
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: scikit-bio
Source: https://github.com/rubensliv/k-dense-ai/tree/main/scientific-skills/scikit-bio
Command: npx skills add https://github.com/rubensliv/k-dense-ai --skill scikit-bio-rubensliv

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

scikit-bio provides a unified, high-performance Python library for working with biological data, enabling sequence manipulation, alignment, phylogenetics, microbial ecology analyses, and multivariate statistics.

Core Features & Use Cases

  • Sequence manipulation: read/write FASTA/FASTQ, reverse-complement, transcription/translation, motif search.
  • Alignment and phylogenetics: pairwise/multiple sequence alignment, tree construction, distance metrics, and phylogenetic analyses.
  • Diversity & ordination: alpha/beta diversity, UniFrac, PCoA, and related ordination methods for microbiome and ecological datasets.
  • File I/O & data handling: supports a wide range of formats (sequences, alignments, trees, BIOM tables, distance matrices) and interoperability with pandas.

Quick Start

Install scikit-bio and begin processing sequences with DNA.read on a FASTA file to perform basic manipulations.

Frequently Asked Questions about scikit-bio

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

FAQPage Schema
How do I calculate alpha and beta diversity metrics for microbiome data?▼

To calculate alpha and beta diversity metrics, the library provides built-in functions for UniFrac and PCoA ordination methods. These operate on biological data tables to extract ecological diversity insights directly.

Can I read and write FASTA and FASTQ files for sequence analysis in Python?▼

You can read and write FASTA and FASTQ files for sequence analysis in Python. The library handles biological format I/O, enabling sequence manipulation like reverse-complement, transcription, and motif search.

What is the best way to perform phylogenetic tree construction and alignment?▼

Phylogenetic tree construction and alignment are performed using built-in pairwise and multiple sequence alignment functions, distance metrics, and tree construction tools. The library reads and writes Newick formats for tree data.

Does scikit-bio work with pandas and NumPy for biological data handling?▼

scikit-bio works with pandas and NumPy for biological data handling, providing full interoperability. This allows seamless integration of biological format parsing with multivariate statistical analysis workflows.

How do I parse BIOM tables and distance matrices for microbial ecology analyses?▼

You parse BIOM tables and distance matrices for microbial ecology analyses using the library's dedicated file I/O handlers. This enables direct loading of biological data formats for downstream ordination and diversity workflows.

When do I need ordination methods like PCoA for ecological datasets?▼

Ordination methods like PCoA are needed for ecological datasets to visualize beta diversity and distance matrices. These multivariate techniques summarize biological data variation, revealing patterns in high-dimensional microbiome samples.