Agent skill · AI & Agents

bio-pdb-structure-navigation

Navigate protein structure hierarchy using Biopython Bio.PDB SMCRA model. Use when accessing models, chains, residues, and atoms, iterating over structure levels, or extracting sequences from PDB files.

FreedomIntelligencegithub.com/FreedomIntelligenceGitHub ↗
claude-codeships scripts
Install
npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-pdb-structure-navigation --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 5
SKILL.md size: 9 KB
Bundled scripts: yes
Path: skills/bio-pdb-structure-navigation/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 2,909
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

## Version Compatibility Reference examples tested with: BioPython 1.83+ Before using code patterns, verify installed versions match. If versions differ: - Python: `pip show <package>` then `help(module.function)` to check signatures If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying. # Structure Navigation **"Access residues and atoms in a PDB structure"** → Navigate the Structure-Model-Chain-Residue-Atom hierarchy to iterate over components, extract sequences, and access atomic coordinates. - Python: `structure[0]['A'][100]['CA'].get_vector()` for direct access Navigate the Structure-Model-Chain-Residue-Atom (SMCRA) hierarchy to access and iterate over structure components. ## Required Imports ```python from Bio.PDB import PDBParser, PPBuilder, Selection from Bio.Data.PDBData import protein_letters_3to1 ``` ## SMCRA Hierarchy ``` Structure | +-- Model (0, 1, ...) # NMR ensembles, crystal asymmetric unit | +-- Chain (A, B, ...) # Polypeptide chains, ligands | +-- Residue # Amino acids, nucleotides, hetero groups | +-- Atom # Individual atoms ``` ## Accessing Hierarchy Levels

What's inside
Steps it walks through
  1. Version Compatibility
  2. Required Imports
  3. SMCRA Hierarchy
  4. Accessing Hierarchy Levels
  5. Iterating Over Structure
  6. Residue Identification
  7. Atom Properties
  8. Getting Full Identifiers
  9. Checking for Children
  10. Getting Parent Entity
  11. Extracting Polypeptide Sequences
  12. Using CaPPBuilder for Broken Chains
  13. Converting Residue Names
  14. Using Selection.unfoldentities
Ships with 4 files
  • examples/extract_sequence.py
  • examples/find_ligands.py
  • examples/iterate_structure.py
  • usage-guide.md
More from OpenClaw-Medical-Skills
All skills →
About this skill
What does the bio-pdb-structure-navigation skill do?

Navigate protein structure hierarchy using Biopython Bio.PDB SMCRA model. Use when accessing models, chains, residues, and atoms, iterating over structure levels, or extracting sequences from PDB files.

How do I install it?

Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-pdb-structure-navigation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From FreedomIntelligence/OpenClaw-Medical-Skills, a repository with 2,909 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going