openfold3
Skill này làm gì
Skill này chạy OpenFold3, một công cụ dự đoán cách các phân tử như protein và ligand khớp với nhau trong 3D. Skill dành cho nhà nghiên cứu cần dự đoán cấu trúc mà không dùng công cụ thương mại đóng.
Khi nào nên dùng
- ✓Khi bạn muốn dự đoán cấu trúc 3D của một protein gắn với một phân tử nhỏ.
- ✓Khi bạn cần cấu trúc của một phức hợp protein và DNA hoặc RNA.
- ✓Khi bạn muốn một lựa chọn mở, cấp phép Apache thay cho AlphaFold3.
Liên kết skill
https://github.com/aipoch/open-science/blob/main/resources/skills/openfold3/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể dự đoán cấu trúc 3D của protein này khi gắn với một phân tử nhỏ bằng OpenFold3 không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Bạn đưa cho agent các trình tự và phân tử cần mô hình hóa. Agent chạy mô hình dự đoán trên một GPU mạnh và trả về các file cấu trúc.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
OpenFold3 Structure Prediction
Prerequisites
| Requirement | Minimum | Recommended |
|---|---|---|
| Python | 3.10+ | 3.11 |
| CUDA | 12.1+ | 12.4+ |
| GPU VRAM | 24GB | 80GB (H100) |
| RAM | 32GB | 64GB |
| Disk (weights) | 3GB | - |
How to run
Installation
pip install 'openfold3[cuequivariance]==0.4.1'
The default attention kernel is DeepSpeed DS4Sci_EvoformerAttention. If
DeepSpeed is unavailable, switch to the cuEquivariance triangle kernels (no
build-from-source) by overriding the eval memory settings in
model_config.py (use_deepspeed_evo_attention: False,
use_cueq_triangle_kernels: True). Some pre-built environments already ship
this override; check before re-patching.
Weights
Apache-2.0, ~2.3 GB from HF OpenFold/OpenFold3. The repo is gated (auto-approval) — accept the access form on the HF model page and authenticate (huggingface-cli login or HF_TOKEN) before downloading:
export OPENFOLD_CACHE=~/.openfold3
huggingface-cli download OpenFold/OpenFold3 checkpoints/of3-p2-155k.pt \
--local-dir "$OPENFOLD_CACHE"
run_openfold will also auto-download to $OPENFOLD_CACHE on first run if
egress is open and HF credentials are available (either HF_TOKEN or a prior
huggingface-cli login) with repo access granted. The interactive
setup_openfold helper exists but prompts on stdin; prefer the explicit
download above for non-interactive runs.
Running
export OPENFOLD_CACHE=/path/to/cache
run_openfold predict \
--query_json=queries.json \
--output-dir out/ \
--use-msa-server false \
--use-templates false
run_openfold discovers the checkpoint under $OPENFOLD_CACHE automatically.
Only pass --inference-ckpt-path <file.pt> if you have a non-standard layout
or multiple checkpoints and need to pin one explicitly.
For MSA + templates (slower, higher accuracy), drop the two false flags. The
MSA server is api.colabfold.com; template chain-ID remap hits
data.rcsb.org (GraphQL) — both must be reachable.
Query JSON format
OpenFold3 does not read FASTA. Queries are a JSON object validated by
InferenceQuerySet (pydantic, extra: forbid — unknown keys reject):
{
"queries": {
"my_complex": {
"chains": [
{ "molecule_type": "protein", "chain_ids": ["A"], "sequence": "MQIFVK…" },
{ "molecule_type": "protein", "chain_ids": ["B", "C"], "sequence": "MVLSPA…" },
{ "molecule_type": "ligand", "chain_ids": ["L"], "smiles": "CC(=O)Oc1ccccc1C(=O)O" }
],
"use_msas": true
}
},
"seeds": [42]
}
molecule_type |
required field |
|---|---|
protein / dna / rna |
sequence |
ligand |
smiles or ccd_codes: ["HEM"] |
chain_ids is a list — repeat the same sequence across multiple chain IDs
for homo-oligomers. Per-chain paired_msa_file_paths / main_msa_file_paths
let you supply your own a3m instead of the server.
Key parameters
| Flag | Default | Description |
|---|---|---|
--num-diffusion-samples |
5 | Structures per (query, seed) |
--num-model-seeds |
1 | Number of model seeds per query (multiplies output count alongside JSON seeds and diffusion samples) |
--use-msa-server |
true | ColabFold MMseqs2 server for MSA |
--use-templates |
true | ColabFold template search + RCSB remap |
--inference-ckpt-path |
auto-discovered under $OPENFOLD_CACHE |
Override only — for non-standard layouts or to pin a specific checkpoint file |
Output format
out/
├── summary.txt
├── mode
Câu hỏi thường gặp
Cần phần cứng gì?
Cần một GPU mạnh, khuyến nghị ít nhất 24 GB bộ nhớ, cộng khoảng 3 GB đĩa cho trọng số mô hình.
Tôi có cần tài khoản để tải mô hình không?
Có. Kho mô hình có kiểm soát truy cập, nên bạn phải chấp nhận biểu mẫu truy cập và đăng nhập trước khi tải.
Nó dùng giấy phép gì?
Mô tả của skill nêu trọng số mô hình theo Apache-2.0.
Chi tiết
Mô tả gốc của tác giả
Structure prediction using OpenFold3, an open-weights PyTorch reproduction of AlphaFold3 from the AlQuraishi Lab. Use this skill when predicting protein/nucleic-acid/ligand complex structures with an Apache-2.0-licensed AF3 reimplementation.
repo: aipoch/open-science
Độ phổ biến
- Sao GitHub
- 5.4k
- Vị trí xếp hạng
- #14866
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
alphafold2
5.4kGiúp agent của bạn dự đoán cấu trúc 3D của protein từ trình tự của nó, kể cả phức hợp protein, bằng AlphaFold2 qua công cụ chạy ColabFold.
boltz
5.4kGiúp agent của bạn dự đoán cấu trúc của phức hợp protein, DNA, RNA và phân tử nhỏ bằng mô hình mã nguồn mở Boltz-2, với ước tính ái lực liên kết tùy chọn.
borzoi
5.4kGiúp agent của bạn dự đoán các track hoạt động trên toàn bộ genome, như biểu hiện gen và khả năng tiếp cận, từ trình tự DNA, và so sánh các biến thể theo tác động dự đoán.
chai1
5.4kGiúp agent của bạn dự đoán cấu trúc của phức hợp protein, axit nucleic và ligand từ một file FASTA, bằng mô hình Chai-1 được cấp phép Apache.
Skill tương tự
pytorch-patterns
280kGiúp agent của bạn dùng PyTorch cho các mô hình học máy. Áp dụng thực hành tốt nhất để huấn luyện mô hình hiệu quả và đảm bảo kết quả có thể lặp lại.
evm-token-decimals
280kGiúp agent tránh lỗi về số thập phân khi làm việc với các mạng blockchain khác nhau. Đảm bảo giá trị token chính xác trong giao dịch và phép tính.
ito-inference
280kGiúp agent kiểm tra xem các mô hình AI đã sẵn sàng để dùng chưa. Kết nối yêu cầu tài nguyên tính toán với dịch vụ mô hình đã sẵn sàng.