biopython

Automate molecular biology tasks in Python with Biopython utilities.

18|1|Updated Dec 27, 2025
One-click install
npx skills add https://github.com/LogauaEngstrom/claude-scientific-skills --skill biopython-logauaengstrom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: biopython
Source: https://github.com/LogauaEngstrom/claude-scientific-skills/tree/main/scientific-skills/biopython
Command: npx skills add https://github.com/LogauaEngstrom/claude-scientific-skills --skill biopython-logauaengstrom

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Biopython provides a comprehensive toolkit for performing computational molecular biology tasks in Python, enabling researchers to manipulate sequences, access biological databases, run analyses, and build end-to-end workflows.

Core Features & Use Cases

  • Sequence handling (Bio.Seq, Bio.SeqIO) for parsing, translating, and analyzing DNA/RNA/protein data.
  • Database access and data retrieval (Bio.Entrez, NCBI relationships) for fetching GenBank records, PubMed metadata, and related data.
  • Alignment and phylogenetics (Bio.Align, Bio.Phylo) for sequence comparison, tree building, and visualization.
  • Structural bioinformatics (Bio.PDB) and advanced utilities (Bio.motifs, Bio.SeqUtils) for motif analysis and feature extraction.
  • Real-world use: build reproducible analysis pipelines that fetch data, process sequences, run BLAST, and generate reports.

Quick Start

Install Biopython with pip and start by parsing a FASTA file with SeqIO.

Frequently Asked Questions about biopython

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

FAQPage Schema
How do I parse and translate DNA sequences from a FASTA file in Python?

To parse and translate DNA sequences from a FASTA file in Python, use the Bio.SeqIO and Bio.Seq modules to read records and translate coding regions into protein sequences. This provides modular utilities for robust sequence handling.

Can I fetch GenBank records and PubMed metadata using Python?

Yes, you can fetch GenBank records and PubMed metadata using Python via the Bio.Entrez module. It provides programmatic access to NCBI databases, enabling automated retrieval of biological data and related database records.

What is the best way to run BLAST workflows and build phylogenetic trees in Python?

The best way to run BLAST workflows and build phylogenetic trees in Python is using Bio.Blast for sequence searching and Bio.Phylo for tree construction. These modules enable end-to-end sequence comparison and evolutionary analysis.

Does Biopython support parsing PDB files for structural bioinformatics?

Yes, Biopython supports parsing PDB files for structural bioinformatics through the Bio.PDB module. It allows you to handle macromolecular structures, extract atomic coordinates, and analyze protein architecture.

What Python version is required for computational molecular biology tasks with Biopython?

Python 3 is required for computational molecular biology tasks with Biopython. You need to install the Biopython package via pip to access its modular Bio.* utilities for sequence analysis and database access.

How do I extract motifs and sequence features from GenBank or FASTA formats?

To extract motifs and sequence features from GenBank or FASTA formats, use the Bio.motifs and Bio.SeqUtils modules. These tools provide robust input validation and enable specific feature extraction from raw biological data.