alphafold2
Was er macht
Dieser Skill zeigt einem Agenten, wie er AlphaFold2 ausführt, um vorherzusagen, wie sich ein Protein faltet und wie Proteinketten zusammenpassen. Er ist für die Proteinforschung und für die Prüfung entworfener Sequenzen gedacht.
Wann du ihn nutzt
- ✓Wenn ein Forscher die 3D-Struktur eines Proteins aus seiner Aminosäuresequenz braucht.
- ✓Wenn ein Forscher vorhersagen möchte, wie sich zwei oder mehr Proteinketten binden.
- ✓Wenn ein Wissenschaftler eine entworfene Proteinsequenz anhand ihrer vorhergesagten Faltung prüfen will.
Link zum Skill
https://github.com/aipoch/open-science/blob/main/resources/skills/alphafold2/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Sag die 3D-Struktur dieser Proteinsequenz voraus und nenne mir die Konfidenzwerte des Modells.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent schreibt die Sequenz in eine FASTA-Datei, startet den ColabFold-Batch-Befehl mit AlphaFold2-Einstellungen und liest die gerankten Modelle und ihre Konfidenzwerte. Bei Komplexen werden alle Ketten in einer Zeile durch Doppelpunkte getrennt.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
AlphaFold2 (ColabFold runner)
This skill wraps AlphaFold2 and AlphaFold2-Multimer through colabfold_batch,
which replaces DeepMind's local-database MSA pipeline with a call to the public
MMseqs2 server — so a prediction is one command and one FASTA, not a 2 TB
database mount. AF2 remains the reference monomer predictor and the multimer
model is still a strong protein–protein validator, but it does not handle
ligands or nucleic acids; for those, route to boltz, chai1, or openfold3.
The ColabFold code is MIT (github.com/sokrypton/ColabFold) and the AlphaFold2
code is Apache-2.0 (github.com/google-deepmind/alphafold); the AF2 model
parameters are CC-BY-4.0 with DeepMind's terms of use.
Running it
colabfold_batch input.fasta out \
--num-recycle 3 \
--model-type alphafold2_multimer_v3
The input is a plain FASTA. For a complex, put every chain on one sequence
line separated by : — colabfold_batch builds a paired MSA per segment and
runs the multimer model when it sees the colon (so the explicit --model-type alphafold2_multimer_v3 above is belt-and-braces). For monomers omit
--model-type and the colon. --templates and --amber add PDB templates
and OpenMM relaxation respectively; both are off by default and both add
minutes per model.
ColabFold runs all five AF2 model weights by default and ranks them by pLDDT
(pTM/ipTM for multimer), so output per query lands in out/ as five ranked
PDBs <name>_unrelaxed_rank_00{1..5}_*.pdb (b-factor column carries pLDDT)
and a matching <name>_scores_rank_00{N}_*.json with plddt, ptm, and — for
multimer — iptm and the pae matrix. Rank-1 is the model to read first;
ipTM > 0.5 is the usual soft pass for an interface.
Unified-memory defaults loop forever under gVisor — the env patches them out
colabfold/batch.py hard-sets TF_FORCE_UNIFIED_MEMORY=1 and
XLA_PYTHON_CLIENT_MEM_FRACTION=4.0 on import. Under a gVisor sandbox unified
memory is unsupported, so JAX's device_put loops indefinitely allocating
host RAM during AF2 parameter load — the job appears hung, never errors.
Override both before the import (TF_FORCE_UNIFIED_MEMORY=0, fraction
0.95), or sed-patch the two assignments out of batch.py in the image
build, or the first fold never starts.
The MSA server is the wall-clock bottleneck, and it is shared
colabfold_batch defaults to --msa-mode mmseqs2_uniref_env, which posts your
sequence to api.colabfold.com. That server is a public, rate-limited
resource: the wait dominates short folds and occasionally times out under load.
For campaigns, run the MSA stage once with --msa-only, keep the resulting
.a3m files, and feed the directory back as the input on subsequent runs — the
GPU stage then starts immediately and the server is not hit again.
Errors worth recognizing
| You see | It means / do this |
|---|---|
| Job hangs silently during "Running model_1" with host RAM climbing | Unified-memory loop under gVisor — see the gotcha above; override or patch batch.py. |
RESOURCE_EXHAUSTED / OOM during XLA compile |
XLA_PYTHON_CLIENT_MEM_FRACTION too high for the GPU — drop below the 0.95 default to 0.9 or so. |
MSA stage hangs at Submitting job |
Public MMseqs2 server is rate-limiting — wait, or pre-compute with --msa-only and re-run from the cached .a3m. |
Next: for designed-sequence validation, superpose the rank-1 model onto
the design backbone with US-align and gate on pLDDT/ipTM thresholds; for
ligand-bearing complexes, hand the same chains to boltz or chai1.
Häufige Fragen
Behandelt er Liganden oder DNA?
Nein. Der Skill sagt, AlphaFold2 verarbeitet keine Liganden oder Nukleinsäuren und verweist dafür auf andere Skills.
Wo läuft die Sequenzsuche?
Der Skill nutzt den öffentlichen MMseqs2-Server, daher muss keine große lokale Datenbank installiert werden.
Was ist das Eingabeformat?
Eine einfache FASTA-Datei.
Details
Originalbeschreibung des Autors
Predict protein structure for monomers and multimers with AlphaFold2 via the ColabFold runner (Mirdita et al. 2022, github.com/sokrypton/ColabFold; AlphaFold2 Jumper et al. 2021). Reach for this skill to fold a sequence or complex with the AF2/AF2-Multimer evoformer, to validate designed sequences by self-consistency pLDDT, ipTM, and RMSD, or to run a quick MSA-backed prediction using the public MMseqs2 server.
repo: aipoch/open-science
Beliebtheit
- GitHub-Sterne
- 5.4k
- Platz im Ranking
- #14849
- Lizenz
- Apache-2.0
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
boltz
5.4kHilft deinem Agenten, die Struktur von Protein-, DNA-, RNA- und Kleinmolekül-Komplexen mit dem Open-Source-Modell Boltz-2 vorherzusagen, optional mit Schätzungen der Bindungsaffinität.
borzoi
5.4kSagt für deinen Agenten genomweite Aktivitätsspuren, etwa Expression und Zugänglichkeit, aus DNA-Sequenzen vorher und vergleicht Varianten nach ihrer vorhergesagten Wirkung.
chai1
5.4kHilft deinem Agenten, die Struktur von Protein-, Nukleinsäure- und Ligand-Komplexen aus einer FASTA-Datei vorherzusagen, mit dem Apache-lizenzierten Modell Chai-1.
compute-env-setup
5.4kBereitet für deinen Agenten eine wiederverwendbare Software-Umgebung auf einem Open-Science-SSH-Rechenknoten vor, damit Remote-Jobs ihre Pakete laden können.
Ähnliche Skills
pytorch-patterns
280kHilft deinem Agenten, PyTorch für Machine-Learning-Modelle einzusetzen. Er wendet Best Practices für effizientes Training und reproduzierbare Ergebnisse an.
evm-token-decimals
280kHilft deinem Agenten, Fehler bei Dezimalzahlen in verschiedenen Blockchain-Netzwerken zu vermeiden. Sorgt dafür, dass Token-Werte stimmen.
ito-inference
280kHilft deinem Agenten, die Verfügbarkeit von KI-Modellen zu prüfen. Er verbindet Rechenanfragen mit einem bereiten Modellservice.