biopython

Manipulate biological sequences and parse FASTA/GenBank files with Biopython.

1|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/Victory-Hugo/S2-Agent-Skill --skill biopython-victory-hugo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: biopython
Source: https://github.com/Victory-Hugo/S2-Agent-Skill/tree/main/skills/genomics/biopython
Command: npx skills add https://github.com/Victory-Hugo/S2-Agent-Skill --skill biopython-victory-hugo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Biopython provides a comprehensive Python toolkit for computational molecular biology, enabling researchers to manipulate sequences, parse common file formats, access public databases, and run standard analyses without writing boilerplate code.

Core Features & Use Cases

  • Sequence handling and IO with Bio.Seq and Bio.SeqIO for FASTA/GenBank, translation, and SeqRecord management.
  • Database access and analysis: Entrez integration for programmatic data retrieval, BLAST parsing, and workflow automation.
  • Structural bioinformatics and phylogenetics: Work with PDB/mmCIF structures and phylogenetic trees.
  • Use case: Build a batch pipeline that downloads GenBank records, extracts gene sequences, and computes GC content and basic statistics.

Quick Start

  • Install Biopython with: pip install biopython
  • Example: from Bio import SeqIO for record in SeqIO.parse('input.fasta','fasta'): print(record.id, len(record.seq))

Frequently Asked Questions about biopython

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

FAQPage Schema
How do I parse FASTA and GenBank sequence files in Python?

You can parse sequence files in Python using the Bio.SeqIO module, which supports reading and writing common formats like FASTA and GenBank for sequence analysis and SeqRecord management.

Can I retrieve biological data from Entrez databases programmatically?

Yes, Bio.Entrez enables programmatic retrieval of biological data from public databases, allowing you to automate downloading GenBank records and integrating data access into your bioinformatics pipelines.

What is the best way to run BLAST and parse the results in Python?

The best way to run BLAST analysis in Python is using the Bio.Blast module, which provides integrated tools to execute sequence searches and parse the resulting output for downstream workflow automation.

Does Python support structural bioinformatics and phylogenetic tree analysis?

Python supports structural bioinformatics and phylogenetic tree analysis through the Bio.PDB module for handling structural files and the Bio.Phylo module for constructing and manipulating phylogenetic trees.

Do I need to install any external dependencies to compute GC content from sequences?

No external dependencies are required beyond installing the biopython package via pip, which provides the core sequence handling modules needed to compute statistics like GC content directly from gene sequences.