AL

alphafold2-multimer

Provides professional-grade protein structure prediction and validation workflows using AlphaFold2 and Multimer.

Install

mkdir -p .claude/skills/alphafold2-multimer && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11697" && unzip -o skill.zip -d .claude/skills/alphafold2-multimer && rm skill.zip

Installs to .claude/skills/alphafold2-multimer

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

AlphaFold2 / AlphaFold-Multimer structure prediction for validation and confidence scoring. Use this skill when: (1) Validating designed sequences fold correctly, (2) Predicting binder-target complex structures, (3) Calculating confidence metrics (pLDDT, pTM, ipTM), (4) Self-consistency validation of designs, (5) Multi-chain complex prediction with AlphaFold-Multimer. For faster single-chain prediction, use esm2-sequence-scoring. For QC thresholds, use protein-design-qc.
475 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Advanced

Key capabilities

  • Predict protein-protein complex structures
  • Validate designed sequences for correct folding
  • Calculate confidence metrics like pLDDT, pTM, and ipTM
  • Perform self-consistency validation of protein designs
  • Predict multi-chain complexes with AlphaFold-Multimer
  • Extract pLDDT, pTM, ipTM, and PAE from prediction results

How it works

The skill uses AlphaFold2 or AlphaFold-Multimer to predict protein structures and complexes, generating confidence scores and structural files based on input protein sequences.

Inputs & outputs

You give it
One or more protein sequences in FASTA format, optionally grouped as a complex
You get back
Predicted structure files (PDB/mmCIF), per-model confidence JSON/PKL files, and confidence metrics (pLDDT, pTM, ipTM, PAE)

When to use alphafold2-multimer

  • Validate designed sequences
  • Predict binder-target complex structures
  • Calculate pLDDT scores
  • Perform self-consistency validation

About this skill

AlphaFold2 / AlphaFold-Multimer Validation

Plain-language role: Use AlphaFold when you want a reference-grade structure prediction check for a designed sequence or complex.

Prerequisites

RequirementMinimumRecommended
Python3.8+3.10
CUDA11.0+12.0+
GPU VRAM32GB40GB (A100)
RAM32GB64GB
Disk100GB500GB (for databases)

How to run

First time? See Installation Guide to set up Modal and biomodals.

Option 1: ColabFold (recommended for multimer)

cd biomodals
modal run modal_colabfold.py \
  --input-faa sequences.fasta \
  --out-dir output/

GPU: A100 (40GB) | Timeout: 3600s default

Option 2: Local installation

git clone https://github.com/deepmind/alphafold2-multimer.git
cd alphafold2-multimer

python run_alphafold.py \
  --fasta_paths=query.fasta \
  --output_dir=output/ \
  --model_preset=monomer \
  --max_template_date=2026-01-01

Option 3: ESMFold (fast single-chain)

modal run modal_esmfold.py \
  --sequence "MKTAYIAKQRQISFVK..."

Key parameters

ParameterDefaultOptionsDescription
--model_presetmonomermonomer/multimerModel type
--num_recycle31-20Recycling iterations
--max_template_date-YYYY-MM-DDTemplate cutoff
--use_templatesTrueTrue/FalseUse template search

Output format

output/
├── ranked_0.pdb           # Best model
├── ranked_1.pdb           # Second best
├── ranking_debug.json     # Confidence scores
├── result_model_1.pkl     # Full results
├── msas/                  # MSA files
└── features.pkl           # Input features

Extracting metrics

import pickle

with open('result_model_1.pkl', 'rb') as f:
    result = pickle.load(f)

plddt = result['plddt']
ptm = result['ptm']
iptm = result.get('iptm', None)  # Multimer only
pae = result['predicted_aligned_error']

Sample output

Successful run

$ python run_alphafold.py --fasta_paths complex.fasta --model_preset multimer
[INFO] Running MSA search...
[INFO] Running model 1/5...
[INFO] Running model 5/5...
[INFO] Relaxing structures...

Results:
  ranked_0.pdb:
    pLDDT: 87.3 (mean)
    pTM: 0.78
    ipTM: 0.62
    PAE (interface): 8.5

Saved to output/

What good output looks like:

  • pLDDT: > 85 (mean, on 0-100 scale) or > 0.85 (normalized)
  • pTM: > 0.70
  • ipTM: > 0.50 for complexes
  • PAE_interface: < 10

Decision tree

Should I use AlphaFold?
│
├─ What are you predicting?
│  ├─ Single protein → ESMFold (faster)
│  ├─ Protein-protein complex → AlphaFold/ColabFold ✓
│  ├─ Protein + ligand → Chai or Boltz
│  └─ Batch of sequences → ColabFold ✓
│
├─ What do you need?
│  ├─ Highest accuracy → AlphaFold/ColabFold ✓
│  ├─ Fast screening → ESMFold
│  └─ MSA-free prediction → Chai or ESMFold
│
└─ Which AF2 option?
   ├─ Local installation → Full control, slow setup
   ├─ ColabFold → Easier, MSA server
   └─ Modal → Recommended for batch

Typical performance

Campaign SizeTime (A100)Cost (Modal)Notes
100 complexes1-2h~$8With MSA server
500 complexes5-10h~$40Standard campaign
1000 complexes10-20h~$80Large campaign

Per-complex: ~30-60s with MSA server.


Verify

find output -name "ranked_0.pdb" | wc -l  # Should match input count

Troubleshooting

Low pLDDT regions: May indicate disorder or poor design Low ipTM: Interface not confident, check hotspots High PAE off-diagonal: Chains may not interact OOM errors: Use ColabFold with MSA server instead

Error interpretation

ErrorCauseFix
RuntimeError: CUDA out of memorySequence too longUse A100 or split prediction
KeyError: 'iptm'Running monomer on complexUse multimer preset
FileNotFoundError: databaseMissing MSA databasesUse ColabFold MSA server
TimeoutErrorMSA search slowReduce num_recycles

Next: protein-design-qc for filtering and ranking.

Inputs

  • One or more protein sequences in FASTA format, optionally grouped as a complex.
  • Optional template structures, MSA settings, and recycle count overrides.
  • A prediction workspace with enough disk for intermediate features and outputs.

Outputs

  • Predicted structure files such as PDB/mmCIF plus per-model confidence JSON or PKL files.
  • Model-level confidence metrics including pLDDT, pTM, ipTM, and PAE matrices.
  • A ranked prediction set ready for protein-design-qc filtering or ipsae ranking.

Next Step

Run protein-design-qc to filter low-confidence models, then use ipsae when ranking binders for experiments.

When not to use it

  • For faster single-chain prediction (use esm2-sequence-scoring or ESMFold)
  • For QC thresholds (use protein-design-qc)

Prerequisites

Python 3.8+CUDA 11.0+GPU VRAM 32GBRAM 32GB

Limitations

  • Requires significant computational resources (GPU VRAM, RAM, Disk)
  • `KeyError: 'iptm'` occurs if running monomer preset on a complex
  • `FileNotFoundError: database` if MSA databases are missing

How it compares

This skill provides reference-grade structure prediction for protein complexes and designed sequences, offering detailed confidence metrics, unlike simpler or faster single-chain prediction methods.

Compared to similar skills

alphafold2-multimer side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
alphafold2-multimer (this skill)02moReviewAdvanced
llm-evaluation62moNo flagsAdvanced
evaluating-llms-harness37moReviewAdvanced
nemo-evaluator-sdk16moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

More by BioTender-max

View all by BioTender-max

You might also like

llm-evaluation

wshobson

Implement comprehensive evaluation strategies for LLM applications using automated metrics, human feedback, and benchmarking. Use when testing LLM performance, measuring AI application quality, or establishing evaluation frameworks.

671

evaluating-llms-harness

davila7

Evaluates LLMs across 60+ academic benchmarks (MMLU, HumanEval, GSM8K, TruthfulQA, HellaSwag). Use when benchmarking model quality, comparing models, reporting academic results, or tracking training progress. Industry standard used by EleutherAI, HuggingFace, and major labs. Supports HuggingFace, vLLM, APIs.

337

nemo-evaluator-sdk

davila7

Evaluates LLMs across 100+ benchmarks from 18+ harnesses (MMLU, HumanEval, GSM8K, safety, VLM) with multi-backend execution. Use when needing scalable evaluation on local Docker, Slurm HPC, or cloud platforms. NVIDIA's enterprise-grade platform with container-first architecture for reproducible benchmarking.

10

agent-evaluation

davila7

Testing and benchmarking LLM agents including behavioral testing, capability assessment, reliability metrics, and production monitoring—where even top agents achieve less than 50% on real-world benchmarks Use when: agent testing, agent evaluation, benchmark agents, agent reliability, test agent.

331

phoenix-evals

Arize-ai

Build and run evaluators for AI/LLM applications using Phoenix.

319

mlops-validation

fmind

Guide to implement rigorous validation layers including static analysis, automated testing, structured logging, and security scanning.

28

Search skills

Search the agent skills registry