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

antechamber

Use AmberTools antechamber for molecular force field parameterization. Generates GAFF/GAFF2 parameters and AM1-BCC or RESP charges for use in AMBER or LAMMPS classical MD simulations.

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

Hello-QM/catgo-LRG스타 208(GitHub 208 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.5 KB

SKILL.md(원문)

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

Antechamber — Force Field Parameterization

When to Use

  • User needs GAFF/GAFF2 atom types and parameters for a small molecule
  • User wants AM1-BCC or RESP partial atomic charges
  • User is preparing a molecule for classical MD with AMBER or LAMMPS
  • User needs to generate topology (prmtop) and coordinate (inpcrd) files

Prerequisites

  1. AmberTools installed (antechamber --help)
  2. Input molecule structure (mol2, pdb, or Gaussian output for RESP)
  3. For RESP charges: Gaussian output with pop=mk iop(6/33=2) ESP data

Workflow Steps

1. Generate GAFF parameters with AM1-BCC charges

catgo_workflow_engine(action="add_task", params={
  "workflow_id": "wf_xxx",
  "task_type": "shell",
  "name": "antechamber_param",
  "command": "bash parameterize.sh",
  "input_files": {
    "parameterize.sh": "<script content>",
    "molecule.pdb": "<molecule structure>"
  },
  "system_name": "ligand_param"
})

Parameterization Script — AM1-BCC Charges

#!/bin/bash
set -e

# Step 1: Assign GAFF2 atom types and AM1-BCC charges
antechamber -i molecule.pdb -fi pdb \
            -o molecule.mol2 -fo mol2 \
            -c bcc -at gaff2 \
            -nc 0 -m 1 \
            -rn LIG

# Step 2: Check for missing parameters
parmchk2 -i molecule.mol2 -f mol2 \
         -o molecule.frcmod -a Y

# Step 3: Build topology with tleap
cat > tleap.in << 'EOF'
source leaprc.gaff2
LIG = loadmol2 molecule.mol2
loadamberparams molecule.frcmod
check LIG
saveamberparm LIG molecule.prmtop molecule.inpcrd
savemol2 LIG molecule_leap.mol2 1
quit
EOF

tleap -f tleap.in > tleap.log 2>&1
echo "Generated: molecule.prmtop molecule.inpcrd"

Parameterization Script — RESP Charges

For higher-quality charges, use RESP from Gaussian ESP:

#!/bin/bash
set -e

# Step 1: Generate Gaussian input for ESP
antechamber -i molecule.pdb -fi pdb \
            -o molecule.gjf -fo gcrt \
            -gm "%mem=4GB" -gn "%nproc=8" \
            -ge "molecule.gesp" \
            -gk "#HF/6-31G* opt pop=mk iop(6/33=2)"

# Step 2: Run Gaussian (separate task)
# g16 molecule.gjf

# Step 3: Extract RESP charges from Gaussian output
antechamber -i molecule.log -fi gout \
            -o molecule.mol2 -fo mol2 \
            -c resp -at gaff2 \
            -nc 0 -m 1 -rn LIG

# Step 4: Check and build topology (same as AM1-BCC)
parmchk2 -i molecule.mol2 -f mol2 -o molecule.frcmod -a Y

cat > tleap.in << 'EOF'
source leaprc.gaff2
LIG = loadmol2 molecule.mol2
loadamberparams molecule.frcmod
check LIG
saveamberparm LIG molecule.prmtop molecule.inpcrd
quit
EOF

tleap -f tleap.in > tleap.log 2>&1

Solvation with tleap

After parameterization, solvate the molecule:

source leaprc.water.tip3p
LIG = loadmol2 molecule.mol2
loadamberparams molecule.frcmod
solvateBox LIG TIP3PBOX 12.0
addIonsRand LIG Na+ 0 Cl- 0   # Neutralize
saveamberparm LIG solvated.prmtop solvated.inpcrd
quit

Parameter Guidance

FlagPurpose
-c bccAM1-BCC charges (fast, good for most organic molecules)
-c respRESP charges (requires Gaussian ESP, higher quality)
-at gaff2GAFF2 atom types (preferred over gaff)
-nc 0Net charge of molecule
-m 1Spin multiplicity
-rn LIGResidue name (3 chars max)
-fi / -foInput/output format (pdb, mol2, gout, gcrt)

Common Pitfalls

  1. Wrong net charge — -nc must match the actual molecular charge. Wrong charge gives wrong AM1-BCC charges.
  2. Missing parameters — parmchk2 with -a Y fills gaps by analogy but warns. Check molecule.frcmod for ATTN lines.
  3. Atom name conflicts — tleap requires unique atom names within a residue. antechamber usually handles this.
  4. RESP without ESP — RESP charges require a Gaussian calculation with pop=mk iop(6/33=2). AM1-BCC does not.
  5. GAFF vs GAFF2 — use GAFF2 (-at gaff2, leaprc.gaff2) for improved parameters. Do not mix GAFF and GAFF2.
  6. Radical species — antechamber struggles with radicals and metals. Consider manual parameterization.
  7. Large molecules — AM1 optimization in antechamber can be slow for >100 atoms. Pre-optimize geometry.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

abinit

무료

Generate and manage ABINIT DFT calculations. Use when the user requests ABINIT, or needs DFPT phonons, GW calculations, or BSE optical spectra.

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

Hello-QM/catgo-LRG2082026년 10월 23일 업데이트

Use when the user asks to place an adsorbate molecule on a surface, find adsorption sites, or set up a surface+adsorbate model for DFT.

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

Hello-QM/catgo-LRG2082026년 10월 23일 업데이트

Use when the user asks for adsorption energy, binding energy, or wants to compare how strongly a molecule binds to a surface.

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

Hello-QM/catgo-LRG2082026년 10월 23일 업데이트

Use when the user asks to analyze computational results: Gibbs free energy, OER/HER/CO2RR overpotentials, adsorption energy, convergence tests, DOS/d-band analysis, or Bader charge analysis.

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

Hello-QM/catgo-LRG2082026년 10월 23일 업데이트

atom-ops

무료

One-shot recipes for adding, deleting, moving, and replacing individual atoms in the active CatGo viewer structure. Use whenever the user asks to "add an atom", "delete atoms", "remove this atom", "move atom N", "replace H with Li", or any single-atom edit — including "add a hydrogen on top of atom 12" / "delete atoms 5–9" / "swap the oxygen at site 3 for fluorine". Skips the discovery loop (no need to list structure tools or check adsorption sites first); goes straight to the matching `catgo_structure` action. Triggers in Chinese on 加原子, 删原子, 减原子, 移动原子, 替换原子, 增加氢, 删除氧, 把 ... 换成 ....

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

Hello-QM/catgo-LRG2082026년 10월 23일 업데이트

Diagnose and fix the CatGo backend. Use whenever the user asks to "check the backend", "diagnose the backend", "fix the backend", "why isn't X working", reports connection problems, a blank/failing UI, "router not loaded", "deps missing", or "can't reach the server". Reads GET /api/diagnostics, explains each issue from its fix_hint, auto-applies SAFE fixes (reconnect HPC, pip install a missing dep via the terminal), confirms risky actions first, and — if diagnostics itself is unreachable — tells the user how to start the backend instead of pretending to fix one that is down.

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

Hello-QM/catgo-LRG2082026년 10월 23일 업데이트

Hello-QM의 스킬 모두 보기

이 스킬의 문제 신고