Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

prodyprody 搜索

Agent Skill

prody 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

346

周安装

14

GitHub Stars

9

下载量

109
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:prody(prody 搜索)
来源仓库:https://github.com/tondevrel/scientific-agent-skills
仓库路径:skills/prody
安装命令:
npx skills add https://github.com/tondevrel/scientific-agent-skills --skill prody
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/tondevrel/scientific-agent-skills --skill prody

简介

prody 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用于需要快速获取特定信息或筛选结果的场景。
  • prody 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

ProDy - Protein Dynamics & Structural Biology

ProDy is designed to model the collective motions of proteins. It treats proteins as elastic networks, allowing researchers to predict functional movements and structural flexibility from a single PDB file or an ensemble of structures.

When to Use

  • Predicting protein flexibility and collective motions (ANM/GNM).
  • Performing Principal Component Analysis (PCA) on structural ensembles or MD trajectories.
  • Analyzing structural conservation and co-evolution (Evol).
  • Comparing multiple protein structures (Ensemble analysis).
  • Identifying hinge regions and rigid domains in proteins.
  • Docking preparation and binding site analysis (druggability).
  • Filtering MD trajectories based on collective modes.

Reference Documentation

Official docs: http://prody.csb.pitt.edu/ Manual: http://prody.csb.pitt.edu/manual/ Search patterns: prody.parsePDB, prody.ANM, prody.GNM, prody.select, prody.Ensemble

Core Principles

Atom Selection Algebra

ProDy features a powerful selection language similar to VMD or PyMOL. You can select atoms by chain, residue, property, or proximity (e.g., 'protein and resname TRP and within 5 of resname HEM').

Elastic Network Models (ENM)

  • GNM (Gaussian Network Model): Predicts magnitude of fluctuations (B-factors).
  • ANM (Anisotropic Network Model): Predicts direction and magnitude of motion.

Ensembles

A collection of structures (e.g., multiple NMR models or MD frames) stored in a way that allows for rapid statistical analysis and PCA.

Quick Reference

Installation

pip install prody

Standard Imports

import numpy as np
from prody import *
# Optional: for plotting
# confProDy(auto_show=False)

Basic Pattern - Normal Mode Analysis

from prody import *

# 1. Parse structure
atoms = parsePDB('1p38')
calphas = atoms.select('protein and calpha')

# 2. Build and solve ANM
anm = ANM('p38_anm')
anm.buildHessian(calphas)
anm.calcModes(n_modes=20)

# 3. Analyze results
for mode in anm[:3]:
    print(f"Mode {mode.getIndex()}: Variance = {mode.getVariance():.2f}")

# 4. Save for visualization (NMD format for VMD/PyMOL)
writeNMD('p38_modes.nmd', anm, calphas)

Critical Rules

✅ DO

  • Select C-alphas for NMA - For large systems, ENMs (ANM/GNM) are most effective and computationally efficient when applied only to C-alpha atoms.
  • Always Align Ensembles - Before performing PCA on a structural ensemble, ensure all frames are aligned to a reference structure using ensemble.iterpose().
  • Use select() early - Filter your PDB object to only necessary chains/atoms to save memory during Hessian matrix calculations.
  • Check Eigensolver Convergence - Ensure the calculated modes represent the majority of the variance.
  • Preserve Atom Orders - When comparing structures, ensure atom selections result in matching indices using matchAlign().

❌ DON'T

  • Run NMA on raw PDBs - PDBs often have missing loops or multiple occupancies. Clean or select specific chains before analysis.
  • Ignore the "Zero Modes" - The first 6 modes of an ANM are rigid-body translations/rotations and have zero frequency. Real biological motion starts at mode index 6.
  • Calculate Hessian for All-Atom large proteins - All-atom ENM creates a 3N×3N matrix; for a 1000-residue protein, this is a 30,000×30,000 matrix, which is memory-intensive.

Anti-Patterns (NEVER)

from prody import *

# ❌ BAD: Iterating over atoms to find distance
# for a1 in atoms:
#     for a2 in atoms: ... # O(N^2) Python loop

# ✅ GOOD: Use selection algebra
nearby = atoms.select('within 5 of resname LIG')

# ❌ BAD: PCA on unaligned frames
# pca = PCA('test'); pca.buildCovariance(coord_array) # Wrong!

# ✅ GOOD: Create Ensemble and interpose
ens = Ensemble(atoms)
ens.addCoordset(trajectory)
ens.iterpose() # Crucial step
pca = PCA('test')
pca.buildCovariance(ens)

# ❌ BAD: Using NMA modes 0-5 for biology
# slow_mode = anm[0] # This is just a translation/rotation

Atom Selection & Manipulation

Powerful Queries

atoms = parsePDB('3hhr')

# Chain and residue range
heavy_chain = atoms.select('chain H and resnum 1 to 120')

# Chemical properties
backbone = atoms.select('backbone')
hydrophobic = atoms.select('resname ALA VAL ILE LEU MET PHE TYR TRP')

# Proximity (Binding site)
site = atoms.select('protein and within 10 of resname ATP')

# Geometric center
center = calcCenter(site)

Elastic Network Models (ENM)

GNM (Fluctuations)

gnm = GNM('1p38_gnm')
gnm.buildKirchhoff(calphas, cutoff=10.0)
gnm.calcModes()

# Cross-correlations (How atoms move together)
cross_corr = calcCrossCorr(gnm)

# Square fluctuations (Theoretical B-factors)
sq_flucts = calcSqFlucts(gnm)

ANM (Directions of motion)

anm = ANM('1p38_anm')
anm.buildHessian(calphas, cutoff=15.0)
anm.calcModes()

# Getting the hinge regions (where motion changes direction)
hinges = findHinges(anm[0]) # From the slowest mode

Ensemble Analysis and PCA

Structural Comparison

# Parse multiple structures
pdb_ids = ['1p38', '1zz2', '1ywr']
structures = [parsePDB(pid) for pid in pdb_ids]

# Align and match
ensemble = Ensemble('p38_set')
for s in structures:
    # Match calphas of s to the reference first structure
    mappings = matchAlign(s, structures[0])
    ensemble.addCoordset(mappings[0][0]) # Add matched coords

# PCA
pca = PCA('p38_pca')
pca.buildCovariance(ensemble)
pca.calcModes()

# Project structures onto PCs
projection = ensemble.getProjection(pca[:2])

Evolutionary Analysis (Evol)

Sequence Conservation and Co-evolution

# Load Multiple Sequence Alignment (MSA)
msa = parseMSA('p38_alignment.fasta')

# Calculate conservation (Shannon Entropy)
entropy = calcShannonEntropy(msa)

# Mutual Information (Co-evolution)
mi = calcMutualInformation(msa)

# Direct Coupling Analysis (DCA) - requires external tools or specific plugins
# dca = calcDirectCovariance(msa)

Practical Workflows

1. Identifying Functional "Hinges"

def get_protein_hinges(pdb_id):
    atoms = parsePDB(pdb_id)
    calphas = atoms.select('protein and calpha')

    anm = ANM(pdb_id)
    anm.buildHessian(calphas)
    anm.calcModes()

    # Hinge residues for the first two functional modes
    hinges_m1 = findHinges(anm[0])
    hinges_m2 = findHinges(anm[1])

    return list(set(hinges_m1) | set(hinges_m2))

2. Comparing MD Trajectory to ANM Modes

def compare_md_to_anm(md_traj, p_pdb):
    # 1. ANM from static structure
    atoms = parsePDB(p_pdb)
    anm = ANM('static')
    anm.buildHessian(atoms.select('calpha'))
    anm.calcModes()

    # 2. PCA from MD
    ens = Ensemble('md')
    ens.setCoords(atoms)
    ens.addCoordset(md_traj)
    ens.iterpose()
    pca = PCA('md_pca')
    pca.buildCovariance(ens)
    pca.calcModes()

    # 3. Overlap (Inner product of modes)
    overlap = calcOverlap(anm[0], pca[0])
    return overlap

3. Druggability Analysis (TRAWLER/ProDy Integration)

# Note: Full druggability analysis usually involves 'hotspot' calculations
def binding_site_flexibility(atoms, lig_resname):
    site = atoms.select(f'protein and within 8 of resname {lig_resname}')
    # Calculate GNM just for the site context
    gnm = GNM('site')
    gnm.buildKirchhoff(atoms.select('calpha'))
    gnm.calcModes()

    # High fluctuations = likely flexible binding site
    flucts = calcSqFlucts(gnm)
    return flucts[site.getIndices()]

Performance Optimization

Memory Management with Large Hessians

For very large complexes (Ribosomes, Capsids), use sparse matrices or the Hierarchical Network Model (HNM) if available.

Parallel MSA Parsing

When dealing with massive alignments (100k+ sequences), use parseMSA with specific memory-efficient flags.

Common Pitfalls and Solutions

Atom Mapping Mismatch

When comparing two PDBs of the same protein, one might have missing residues.

# ❌ Problem: ensemble.addCoordset(pdb2) fails due to different atom counts
# ✅ Solution: Use matchAlign
matches = matchAlign(pdb2, pdb1)
if matches:
    ensemble.addCoordset(matches[0][0])

Non-Standard Residues

ProDy might not recognize unusual ligands as 'hetero' or 'protein'.

# ✅ Solution: Use specific residue names or 'all'
ligand = atoms.select('resname MYL')

Hessian Singularities

If your protein has disconnected parts, the Hessian will have more than 6 zero eigenvalues.

# ✅ Solution: Check connectivity
if not atoms.select('protein').connected:
    print("Warning: Disconnected components found!")

Best Practices

  1. Always select C-alpha atoms for NMA on large proteins to reduce computational cost.
  2. Align all structures in an ensemble before performing PCA using iterpose().
  3. Filter PDB structures early using selection algebra to reduce memory usage.
  4. Remember that ANM modes 0-5 are rigid-body motions; biological motion starts at mode 6.
  5. Use matchAlign() when comparing structures with different atom counts or missing residues.
  6. Check for disconnected components before building Hessian matrices.
  7. Use appropriate cutoff distances (typically 10-15 Å for C-alpha networks).
  8. Validate eigensolver convergence to ensure meaningful results.
  9. Save modes in NMD format for visualization in VMD or PyMOL.
  10. Consider using sparse matrix representations for very large systems.

ProDy is the essential toolkit for the "Dynamic" in Structural Biology. By treating proteins as physical networks, it provides a bridge between static snapshots and the vibrating reality of life at the molecular scale.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.78%
按下载量换算37

Claude

28.01%
按下载量换算31

Cursor

19.5%
按下载量换算21

Gemini CLI

9.5%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills