Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

bio-structural-biology-interface-analysis

БесплатноЗапускает вложенные скриптыНе проверен

Maps protein-protein and protein-ligand interfaces with Bio.PDB, computing contact residues and buried surface area (BSA). Use when choosing a contact cutoff…

lilinjiот lilinji★ 18 звёзд на GitHub

Об этом скилле

Version Compatibility

Reference examples tested with: biopython 1.83+, numpy 1.26+, freesasa 2.2+

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.

Interface Analysis

"Which residues contact the ligand / the partner chain?" -> Threshold interatomic distances and collect residues within a cutoff.

  • Python: Bio.PDB.NeighborSearch(atoms).search_all(cutoff, level='R') or .search(center, cutoff, level='R')

"Compute the buried surface area of this interface" -> Subtract complex SASA from the summed SASA of the isolated partners.

  • Python: Bio.PDB.SASA.ShrakeRupley().compute(entity), then BSA = SASA_A + SASA_B - SASA_complex

"Is this interface biological or a crystal-packing artifact?" -> Score interface size and chemistry on the biological assembly, and treat the assignment as a hypothesis.

  • Python: Bio.PDB for BSA / H-bonds; PDBePISA for the assembly call (external service)

Governing Principle

A "contact" is not a physical fact, it is a thresholded distance, and the residue count changes with the cutoff. Heavy-atom pairs within 4-5A capture direct van der Waals contact; CA-CA within 8A captures topological proximity (contact maps, coevolution features) but says nothing about side-chain interaction; 3.5-4.0A heavy-atom is the H-bond / salt-bridge regime. Changing 4A to 5A can shift the contact count substantially, so a contact result is meaningless without its atom set and cutoff stated explicitly (Chakrabarti & Janin 2002 Proteins 47:334-343). The trap is reporting "N interface residues" or "N contacts" as if the number were intrinsic.

A contact list is not an interface. The physical interface measure is BURIED SURFACE AREA (BSA, also dSASA): BSA = SASA(part A alone) + SASA(part B alone) - SASA(complex), conventionally halved to report the area buried per partner. All three SASA terms must be computed with identical parameters (same probe radius, radii set, algorithm) or the subtraction is garbage (see geometric-analysis for SASA fundamentals). SASA itself depends on the probe radius (1.4A water default) and the algorithm, so an absolute BSA is only comparable to another BSA computed the same way. Because heavy-atom contacts and BSA are both defined on non-hydrogen atoms, hydrogens are NOT required for either - add them (structure-preparation) only for H-bond/salt-bridge angle geometry, and if H are present keep them consistent across all three SASA terms.

The deepest trap: an interface seen in the deposited ASYMMETRIC UNIT may be a CRYSTAL-PACKING ARTIFACT, not biology. The asymmetric unit is a crystallographic bookkeeping object; the functional molecule is the BIOLOGICAL ASSEMBLY, which may be a subset of the ASU or built from several ASUs by symmetry. Compute interfaces on the biological assembly, not blindly on the ASU (see structure-io for downloading the assembly). PDBePISA (Krissinel & Henrick 2007 J Mol Biol 372:774-797) predicts the biological assembly and scores interface stability, but it recovers the correct assembly only ~80-90% of the time and has known false positives, so "biological interface" is a HYPOTHESIS. Larger BSA, more H-bonds and salt bridges, shape complementarity, and evolutionary conservation of interface residues each raise confidence, but each is probabilistic, not proof (Levy 2010 J Mol Biol 403:660-670). Corroborate anything load-bearing with solution data (SEC-MALS, SAXS, native MS).

Decision: contact / interface definition

Definition What it captures Best when Fails / misleads when
Heavy-atom (non-H) <= 4-5A Direct physical / vdW contact Interface residue lists, ligand-contact residues, epitopes Cutoff unstated; H atoms present shift the count
CA-CA <= 8A Topological proximity of backbones Contact maps, coevolution / ML features, fold fingerprint Read as "side chains interact" - it does not imply that
Heavy-atom 3.5-4.0A + angle H-bonds / salt bridges Chemistry of the interface Definitions are loose and tool-dependent (state exact criteria)
BSA / dSASA (SASA-based) Physical extent of the interface (area) Quantifying interface size, biological-vs-crystal Terms computed with mismatched SASA parameters

The one-line rule: heavy-atom 4-5A answers "who touches"; CA-CA 8A answers "who is near"; BSA answers "how big is the interface". State the atom set and cutoff every time.

Decision: biological interface vs crystal contact

Signal Biological interface tends to Crystal contact tends to Caveat
Buried surface area (per side) Larger, often > ~800-1000 A^2 Small, often < ~400 A^2 Wide overlap; not a hard cutoff
H-bonds / salt bridges More, specific Few, incide
Полный SKILL.md на GitHub

Установить bio-structural-biology-interface-analysis в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

examples/interface_bsa.pyusage-guide.md

FAQ

Что делает скилл bio-structural-biology-interface-analysis?

Maps protein-protein and protein-ligand interfaces with Bio.PDB, computing contact residues and buried surface area (BSA). Use when choosing a contact cutoff and stating its rationale (heavy-atom 4-5A vs CA-CA 8A vs a SASA-based definition); deciding a contact list is not an interface and computing buried surface area (dSASA/BSA) instead; distinguishing a genuine biological interface from a crystal-packing artifact; identifying ligand-contact or epitope residues; and computing on the biological assembly rather than the asymmetric unit. Keywords interface, buried surface area, BSA, contacts, NeighborSearch, PISA, crystal packing, epitope, binding site, ShrakeRupley.

Как установить скилл bio-structural-biology-interface-analysis?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл bio-structural-biology-interface-analysis запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить bio-structural-biology-interface-analysis с