# Alphafold Pocket Evaluator

> Parses AlphaFold2 PDB files, computes per-residue pLDDT confidence scores, and evaluates Solvent Accessible Surface Area (SASA) of active site pockets.

- **Type:** Skill
- **Install:** `agentstack add skill-yulianuzhnenko-bioinformatics-agent-skills-alphafold-pocket-evaluator`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [YuliaNuzhnenko](https://agentstack.voostack.com/s/yulianuzhnenko)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [YuliaNuzhnenko](https://github.com/YuliaNuzhnenko)
- **Source:** https://github.com/YuliaNuzhnenko/bioinformatics-agent-skills/tree/main/skills/alphafold-pocket-evaluator

## Install

```sh
agentstack add skill-yulianuzhnenko-bioinformatics-agent-skills-alphafold-pocket-evaluator
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Agent Skill: AlphaFold2 3D Binding Pocket & SASA Evaluator Skill

[](#)
[](#)

## 📌 Description
Parses AlphaFold2 PDB files, computes per-residue pLDDT confidence scores, and evaluates Solvent Accessible Surface Area (SASA) of active site pockets.

---

## 🤖 Agent Execution Protocol

When an AI Agent is tasked with `alphafold-pocket-evaluator`:
1. **Input Validation**: Verify that the required input files or coordinates are supplied.
2. **Environment Check**: Ensure dependencies (`Biopython, Py3Dmol, FreeSASA, SciPy`) are installed.
3. **Execution**: Run the protocol pipeline snippet below.
4. **Output Generation**: Produce actionable Markdown/JSON summaries with publication figures.

---

## 💻 Protocol Code Snippet

```python
def evaluate_pocket(pdb_file, pocket_residues):
    plddt_list = []
    with open(pdb_file, 'r') as f:
        for line in f:
            if line.startswith("ATOM") and line[12:16].strip() == "CA":
                res_id = int(line[22:26].strip())
                if res_id in pocket_residues:
                    plddt_list.append(float(line[60:66].strip()))
    return sum(plddt_list) / len(plddt_list) if plddt_list else 0.0

```

---

## 📥 Input & Output Specifications

### Input Contract
* **Target Files**: Valid input data matching domain formats.
* **Parameters**: Quality thresholds and cutoffs.

### Output Contract
* **Results Table**: Structured summary dataframe or matrix.
* **Visualization**: Rendered SVG/PNG figures.

---

## 📄 License
Distributed under the MIT License. See `LICENSE` for details.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [YuliaNuzhnenko](https://github.com/YuliaNuzhnenko)
- **Source:** [YuliaNuzhnenko/bioinformatics-agent-skills](https://github.com/YuliaNuzhnenko/bioinformatics-agent-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** yes
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-yulianuzhnenko-bioinformatics-agent-skills-alphafold-pocket-evaluator
- Seller: https://agentstack.voostack.com/s/yulianuzhnenko
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
