biopython

Parse biological sequence, alignment, structure, BLAST, and Entrez data into Python workflows.

74|5|Updated Dec 10, 2025
One-click install
npx skills add https://github.com/dralkh/seerai --skill biopython-dralkh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: biopython
Source: https://github.com/dralkh/seerai/tree/main/skills/biopython
Command: npx skills add https://github.com/dralkh/seerai --skill biopython-dralkh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Biopython helps researchers stop juggling ad hoc scripts and scattered tools when they need to read biological files, query NCBI, compare sequences, or turn raw results into reproducible analyses.

Core Features & Use Cases

  • Sequence handling: Read, write, convert, and filter FASTA, GenBank, FASTQ, EMBL, and related formats.
  • Database and BLAST workflows: Search PubMed or GenBank with Entrez, fetch records in batches, and run or parse BLAST results.
  • Alignment, structure, and phylogenetics: Perform pairwise and multiple sequence alignments, inspect protein structures with Bio.PDB, and build or compare trees with Bio.Phylo.
  • Use case: A researcher can pull accession records, clean sequence sets, align them, and generate a tree for downstream interpretation without leaving Python.

Quick Start

Use the biopython skill to analyze the attached sequence or GenBank file and return a concise summary of the records, annotations, and recommended next analysis steps.

Frequently Asked Questions about biopython

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

FAQPage Schema
How do I parse biological sequence files in Python for downstream analysis?

You can parse biological sequence files by reading, writing, and converting formats like FASTA, GenBank, FASTQ, and EMBL into structured Python objects. This allows you to filter records, clean sequence sets, and prepare data for alignment or phylogenetic workflows.

What's the best way to run BLAST searches and retrieve NCBI records within a Python workflow?

You can query NCBI databases using the Entrez API to search PubMed or GenBank, fetch records in batches, and run or parse BLAST results. This requires providing an explicit email address and optional API key for network-dependent NCBI retrieval.

Can I build phylogenetic trees and perform multiple sequence alignment using Python?

Yes, you can perform pairwise and multiple sequence alignments, build phylogenetic trees with Bio.Phylo, and compare tree topologies. This enables end-to-end workflows from raw sequence cleaning through alignment to tree construction for biological interpretation.

Does this approach support protein structure inspection and motif scanning?

Yes, you can inspect protein structures using the Bio.PDB module and scan for sequence motifs. These capabilities integrate directly into Python workflows, allowing structural analysis alongside standard sequence and alignment processing tasks.

Why do I need to provide an email address when querying Entrez databases?

Querying Entrez databases requires an explicit email address for NCBI usage tracking and rate limiting, along with an optional API key to increase request limits. Proper Entrez parameter handling ensures reliable batch retrieval of GenBank and PubMed records.

What file formats are supported for batch sequence processing and conversion?

Batch sequence processing supports reading, writing, and converting across biological file formats including FASTA, GenBank, FASTQ, and EMBL. This enables reliable file conversion to standardize heterogeneous sequence data for downstream alignment and phylogenetic analysis.