본문으로 건너뛰기
Skillpedia
머신러닝5.4k · #14866

openfold3

하는 일

이 스킬은 단백질과 리간드 같은 분자가 3차원에서 어떻게 맞물리는지 예측하는 도구 OpenFold3를 실행합니다. 상업용 폐쇄형 도구 없이 구조 예측이 필요한 연구자를 위한 것입니다.

사용하는 경우

  • ✓사용자가 저분자에 결합된 단백질의 3차원 구조를 예측하고 싶을 때.
  • ✓사용자가 단백질과 DNA 또는 RNA 복합체의 구조가 필요한 경우.
  • ✓사용자가 AlphaFold3의 개방형 Apache 라이선스 대안을 원할 때.

스킬 링크

https://github.com/aipoch/open-science/blob/main/resources/skills/openfold3/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/aipoch/open-science/blob/main/resources/skills/openfold3/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“OpenFold3를 사용해 저분자에 결합된 이 단백질의 3차원 구조를 예측해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

사용자는 모델링할 서열과 분자를 에이전트에게 줍니다. 에이전트는 성능이 좋은 그래픽 카드에서 예측 모델을 실행하고, 구조 파일을 돌려줍니다.

기술 내용 (원본 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
자주 묻는 질문

어떤 하드웨어가 필요한가요?

강력한 그래픽 카드가 필요하며, 최소 24GB 메모리를 권장하고, 모델 가중치를 위해 약 3GB의 디스크 공간이 필요합니다.

모델을 내려받으려면 계정이 필요한가요?

네. 모델 저장소는 접근이 제한되어 있으므로, 접근 양식에 동의하고 로그인한 뒤 내려받아야 합니다.

어떤 라이선스를 쓰나요?

스킬 설명은 모델 가중치가 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
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬