ChatMol/gromacs_copilot
关于
Let LLM run your MDs.
人工智能与机器学习实测星标增长
- 24小时
- +1
- 7天
- +1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文GROMACS Copilot
Let LLM run your MDs.
The good news: 🎉 You now have more time to hang out with your cat! 🐱💖
The bad news: 😢 You'll miss out on GROMACS' legendary wisdom... 🧙♂️💬
Introduction
This agent automates MD simulations for proteins in water using GROMACS. It sets up the system, runs simulations, and analyzes RMSD, RMSF, Rg, H-bonds, etc.
| Protein | Protein-Ligand Complex |
|
|
| A demo of output report | A demo of output report |
How to Run
Before using a LLM
- Install the package
pip install git+https://github.com/ChatMol/gromacs_copilot.git
conda install -c conda-forge acpype # for protein-ligand complex
conda install -c conda-forge gmx_mmpbsa # for MM-PBSA/GBSA analysis
- Prepare a working dir and a input pdb
mkdir md_workspace && cd md_workspace
wget https://files.rcsb.org/download/1PGA.pdb
grep -v HOH 1PGA.pdb > 1pga_protein.pdb
cd ..
Using DeepSeek
gmx_copilot --workspace md_workspace/ \
--prompt "setup simulation system for 1pga_protein.pdb in the workspace" \
--api-key $DEEPSEEK_API_KEY \
--model deepseek-chat \
--url https://api.deepseek.com/chat/completions
Using OpenAI
gmx_copilot --workspace md_workspace/ \
--prompt "setup simulation system for 1pga_protein.pdb in the workspace" \
--api-key $OPENAI_API_KEY \
--model gpt-4o \
--url https://api.openai.com/v1/chat/completions
Using Gemini
gmx_copilot --workspace md_workspace/ \
--prompt "setup simulation system for 1pga_protein.pdb in the workspace" \
--api-key $GEMINI_API_KEY \
--model gemini-2.0-flash \
--url https://generativelanguage.googleapis.com/v1beta/chat/completions
- Agent mode The agent mode is good automation of a long acting trajectory of using tools.
gmx_copilot --workspace md_workspace/ \
--prompt "run 1 ns production md for 1pga_protein.pdb in the workspace, and analyze rmsd" \
--mode agent
The agent handles system setup, simulation execution, and result analysis automatically. 🚀
License
This project is dual-licensed under:
- GPLv3 (Open Source License)
- Commercial License (For proprietary use)
For commercial licensing, read this.
Known issues
- 🤖 LLM sometimes struggles with selecting the correct group index. Double-checking the selection is recommended.
- ⚡ The interaction between LLM and
gmxprompt input isn't always seamless. Running commands based on suggestions can help you get the correct results more easily.
Disclaimer
GROMACS Copilot is provided "as is" without warranty of any kind, express or implied. The authors and contributors disclaim all warranties including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Users employ this software at their own risk.
The authors bear no responsibility for any consequences arising from the use, misuse, or misinterpretation of this software or its outputs. Results obtained through GROMACS Copilot should be independently validated prior to use in research, publications, or decision-making processes.
This software is intended for research and educational purposes only. Users are solely responsible for ensuring compliance with applicable laws, regulations, and ethical standards in their jurisdiction.
探索相关项目
加载中…