scikit-bio

Analyze biological sequences and phylogenetic data with scikit-bio.

6|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/pur3v4d3r/pur3-pkb-codebase --skill scikit-bio-pur3v4d3r
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scikit-bio
Source: https://github.com/pur3v4d3r/pur3-pkb-codebase/tree/main/.claude/skills/__scientific-skills/scikit-bio
Command: npx skills add https://github.com/pur3v4d3r/pur3-pkb-codebase --skill scikit-bio-pur3v4d3r

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

scikit-bio provides a comprehensive foundation for biological data analysis by offering sequence manipulation, alignment, phylogenetic analysis, and diversity metrics in Python.

Core Features & Use Cases

  • Sequence Manipulation: manipulate DNA/RNA/protein sequences, including reading/writing formats like FASTA/FASTQ and performing reverse-complement, transcription, translation, and motif finding.
  • Phylogenetic Analysis: construct and analyze phylogenetic trees, distance matrices, and tree-based diversity metrics.
  • Diversity & Ordination: compute alpha/beta diversity metrics and run ordination methods (PCoA, CCA, RDA) for community data.
  • Format Interoperability: read and write 19+ formats including BIOM, Newick, and various sequence formats with automatic detection.
  • Use Case: Build a microbiome workflow that reads a BIOM table, computes alpha and beta diversity, and visualizes ordination results.

Quick Start

Load a small example sequence, compute its reverse-complement, and run a basic PCoA on a simple distance matrix.

Frequently Asked Questions about scikit-bio

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

FAQPage Schema
How do I compute alpha and beta diversity metrics from a BIOM table for microbiome analysis?

scikit-bio reads BIOM tables and computes alpha and beta diversity metrics to quantify within-sample and between-sample community variation. It supports distance matrix calculations for direct use in downstream comparative microbiome workflows.

What is the best way to perform ordination analysis like PCoA on a distance matrix?

scikit-bio provides ordination methods including PCoA, CCA, and RDA to transform distance matrices into visual coordinates. This reveals community clustering patterns and gradients across biological sample groups.

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

Yes, scikit-bio reads and writes FASTA and FASTQ formats with automatic detection. It enables sequence manipulation including reverse-complement, transcription, translation, and motif finding across DNA, RNA, and protein classes.

Does scikit-bio support phylogenetic tree construction and Newick format analysis?

Yes, scikit-bio reads Newick tree formats and computes tree-based diversity metrics. It constructs and analyzes phylogenetic trees to calculate phylogenetic beta diversity and evolutionary distances across microbial communities.

How do I find reverse-complements and translate DNA sequences into protein?

scikit-bio's DNA, RNA, and Protein classes provide built-in methods for reverse-complement, transcription, translation, and motif finding. These operations manipulate biological sequences directly in Python for downstream analysis.