openfold3
ما الذي تفعله
تشغّل هذه المهارة OpenFold3، وهي أداة تتنبأ بكيفية اتصال الجزيئات مثل البروتينات والليغاندات في ثلاثة أبعاد. وهي للباحثين الذين يحتاجون إلى تنبؤات بنيوية دون أداة تجارية مغلقة.
متى تستخدمها
- ✓عندما تريد التنبؤ بالبنية ثلاثية الأبعاد لبروتين مرتبط بجزيء صغير.
- ✓عندما تحتاج إلى بنية لمعقد بروتين وحمض نووي DNA أو RNA.
- ✓عندما تريد بديلًا مفتوحًا مرخّصًا بترخيص Apache لـ AlphaFold3.
رابط المهارة
https://github.com/aipoch/open-science/blob/main/resources/skills/openfold3/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل يمكنك التنبؤ بالبنية ثلاثية الأبعاد لهذا البروتين المرتبط بجزيء صغير باستخدام OpenFold3؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تعطي الوكيل التسلسلات والجزيئات المراد نمذجتها. يشغّل نموذج التنبؤ على بطاقة رسوميات قوية، ويعيد ملفات البنية.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
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
الأسئلة الشائعة
ما العتاد المطلوب؟
يحتاج إلى بطاقة رسوميات قوية، ويُقترح ذاكرة لا تقل عن 24 غيغابايت، مع نحو 3 غيغابايت من مساحة القرص لأوزان النموذج.
هل أحتاج إلى حساب لتنزيل النموذج؟
نعم. مستودع النموذج مقيّد، لذلك يجب قبول نموذج الوصول وتسجيل الدخول قبل التنزيل.
ما الترخيص المستخدم؟
يذكر وصف المهارة أن أوزان النموذج بترخيص Apache-2.0.
التفاصيل
الوصف الأصلي من المؤلف
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
الشعبية
- نجوم GitHub
- 5.4k
- الترتيب
- #14866
- الترخيص
- Apache-2.0
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
alphafold2
5.4kيساعد وكيلك على التنبؤ بالبنية ثلاثية الأبعاد للبروتين انطلاقًا من تسلسله، بما في ذلك معقدات البروتينات، باستخدام AlphaFold2 عبر منفذ ColabFold.
boltz
5.4kيساعد وكيلك على التنبؤ ببنية معقدات البروتينات والحمض النووي والحمض الريبوزي والجزيئات الصغيرة، باستخدام نموذج Boltz-2 مفتوح المصدر، مع تقديرات اختيارية لقوة الارتباط.
borzoi
5.4kيساعد وكيلك على التنبؤ بمسارات النشاط على مستوى الجينوم، مثل التعبير وإمكانية الوصول، انطلاقًا من تسلسل الحمض النووي، ومقارنة المتغيرات بحسب أثرها المتوقع.
chai1
5.4kيساعد وكيلك على التنبؤ ببنية معقدات البروتينات والأحماض النووية والليغاندات من ملف FASTA واحد، باستخدام نموذج Chai-1 المرخّص بترخيص Apache.
مهارات مشابهة
pytorch-patterns
280kيساعد وكيلك على استخدام PyTorch في نماذج تعلم الآلة. يطبّق أفضل الممارسات لتدريب النماذج بكفاءة ويضمن نتائج قابلة للتكرار.
evm-token-decimals
280kيساعد وكيلك على تجنب أخطاء الأعداد العشرية عبر شبكات البلوكتشين المختلفة. يضمن دقة قيم الرموز في المعاملات والحسابات.
ito-inference
280kيتيح لوكيلك التحقق من توفر نماذج الذكاء الاصطناعي للاستخدام. يربط طلب الحوسبة بخدمة النموذج الجاهزة.