본문으로 건너뛰기
cccskills
무료GitHub에 공개

diffdock-nim

Run DiffDock molecular docking via NVIDIA NIM to predict small-molecule binding poses against protein targets. Use for DiffDock, molecular docking, ligand docking, blind docking, SMILES or SDF ligands, ranked poses, confidence scores, hosted NVIDIA API, or local Docker deployment.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구Docker
설치 방법 보기

포함된 파일(14)

  • SKILL.md4.2 KB
  • BENCHMARK.md6.9 KB
  • config/skillspector-baseline.yml876 B
  • evals/config.yml117 B
  • evals/evals.json6.5 KB
  • evals/files/protein.pdb246.8 KB
  • evals/trigger_evals.json2.2 KB
  • references/api.md4.5 KB
  • references/examples.md2.0 KB
  • references/parameters.md998 B
  • references/science.md1.9 KB
  • references/validation.md1.8 KB
  • skill-card.md4.3 KB
  • skill.oms.sig6.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

DiffDock NIM

Predict protein-ligand binding poses with blind docking. Use this guide for first-pass hosted/local usage; load supplemental files only when needed:

  • references/api.md: exact hosted/local endpoints, schemas, Docker flags.
  • references/science.md: docking use cases, limits, and handoffs.
  • references/parameters.md: ligand formats, pose counts, diffusion controls.
  • references/validation.md: receptor, ligand, pose, and confidence checks.
  • references/examples.md: compact hosted/local and pose-saving patterns.

Choose Mode

Ask only when context is unclear:

Hosted NVIDIA API or local Docker NIM?

  • Hosted: https://health.api.nvidia.com/v1/biology/mit/diffdock
  • Local: http://localhost:8000/molecular-docking/diffdock/generate

The hosted and local paths differ. Local has no /v1/ prefix and uses the /molecular-docking/ route. Hosted requests use Authorization: Bearer $NGC_API_KEY. Supported local Docker startup uses NGC_API_KEY (or NVIDIA_API_KEY via the preflight) for registry login, entitlement checks, and first-run model downloads; pass it into the container with -e NGC_API_KEY. Local inference requests use no auth header after readiness. Warm-cache key-free startup varies by image/version and should not be assumed.

Local Docker

For the exact local preflight (.env load, NVIDIA_API_KEY fallback, LOCAL_NIM_CACHE, NVIDIA_VISIBLE_DEVICES=0, --shm-size=2G, both --ulimit flags, docker login, and the docker run for nvcr.io/nim/mit/diffdock:2.2.0), copy the command block in references/api.md under Docker Reference verbatim.

Readiness:

until curl -sf http://localhost:8000/v1/health/ready; do sleep 5; done

Prepare Inputs

Protein receptor must be ATOM records only. Strip headers, water, and HETATM.

from pathlib import Path
raw_pdb = Path("protein.pdb").read_text()
protein = "\n".join(line for line in raw_pdb.splitlines() if line.startswith("ATOM"))
if not protein:
    raise ValueError("protein.pdb has no ATOM records")

Ligand options:

  • SMILES: ligand = "CC(=O)OC1=CC=CC=C1C(=O)O"; ligand_file_type = "txt".
  • SDF: ligand = Path("ligand.sdf").read_text(); ligand_file_type = "sdf".
  • MOL2: ligand_file_type = "mol2".

Do not use "smiles" as ligand_file_type; SMILES is "txt".

Request Pattern

import os
import requests

HOSTED = True
url = (
    "https://health.api.nvidia.com/v1/biology/mit/diffdock"
    if HOSTED else "http://localhost:8000/molecular-docking/diffdock/generate"
)
headers = {"Content-Type": "application/json"}
if HOSTED:
    headers["Authorization"] = f"Bearer {os.getenv('NGC_API_KEY')}"

payload = {
    "protein": protein,
    "ligand": ligand,
    "ligand_file_type": ligand_file_type,
    "num_poses": 10,
    "time_divisions": 20,
    "steps": 18,
    "save_trajectory": False,
}
response = requests.post(url, headers=headers, json=payload, timeout=300)
response.raise_for_status()
result = response.json()

Save And Report Output

ligand_positions and position_confidence are parallel ranked lists. position_confidence[0] is the rank-1 pose confidence.

Save the ranked pose SDFs using the snippet in references/examples.md under Save Ranked Poses.

View pose SDF files with the receptor in PyMOL, ChimeraX, or UCSF Chimera. For pose sanity checks and confidence caveats, read references/validation.md.

Limits And Troubleshooting

  • Max num_poses: 100. Max time_divisions: 20. Max steps: 18.
  • Single GPU; local minimum is about 24 GB VRAM.
  • 422: invalid ligand_file_type, invalid SMILES/SDF, or no ATOM records.
  • Empty poses: validate receptor ATOM records and ligand parseability.
  • Local URL 404 usually means the wrong hosted path or an accidental /v1/.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Official NVIDIA-authored guidance for NVIDIA cuDF GPU DataFrames, pandas acceleration, dask-cuDF, ETL, joins, groupby, CSV/Parquet I/O, nullable semantics, and multi-GPU DataFrame workloads.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NVIDIA/skills3.6천2026년 10월 18일 업데이트

Customize NVIDIA Nemotron Voice Agent's Generic Pipecat example for healthcare appointment, five-field patient intake, or custom tool-calling workflows without a separate backend.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NVIDIA/skills3.6천2026년 10월 18일 업데이트

Calibrate a new dataset from live RTSP camera streams via the AutoMagicCalib REST API. Use when the user provides RTSP URLs or asks to calibrate live cameras; VIOS records clips, AMC ingests them, then runs calibration.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NVIDIA/skills3.6천2026년 10월 18일 업데이트

Run end-to-end calibration on the shipped sample dataset (sdg_08_2_sample_data_010926.zip) against a running AMC microservice. Use when user says 'test sample dataset', 'run sample calibration', 'verify AMC install', or 'launch and test'.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NVIDIA/skills3.6천2026년 10월 18일 업데이트

Calibrates pre-recorded `cam_*.mp4` datasets through the AutoMagicCalib REST API. Use for user-supplied local MP4s; route live RTSP streams to `amc-run-rtsp-calibration`.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NVIDIA/skills3.6천2026년 10월 18일 업데이트

Launch AutoMagicCalib microservice and web UI from NGC release images via Docker Compose. Use when user says 'deploy auto calibration', 'launch auto calibration', 'launch AMC', 'start MS+UI', or 'set up auto-magic-calib'. Requires NGC API key.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NVIDIA/skills3.6천2026년 10월 18일 업데이트

NVIDIA의 스킬 모두 보기

이 스킬의 문제 신고