使用AMBER中遇到的一些问题
1.读取蛋白问题
读取无配体pdb文件(loadpdb complex.pdb)时,出现一堆 FATAL: Atom .R<ARG >.A<HD1 > does not have a type 错误,导致 check不过关,也无法 saveamberparm:
错误原因:AMBER不能识别用户PDB文件里特定残基(<ARG 18>)的H原子
解决方法:我遇到的问题是很多H原子都无法被识别,所以解决方法比较直接,删除所有氢,再根据AMBER的规则,重新添加H:
1) 使用pdb4amber删除所有氨基酸的H:
pdb4amber -i WT.pdb -o WT_noH.pdb -y --dry
pdb4amber的帮助信息如下:
$ pdb4amber -h Options:
--version show program's version number and exit
-h, --help show this help message and exit
-i FILE, --in=FILE PDB input file (default: stdin)
-o FILE, --out=FILE PDB output file (default: stdout)
-y, --nohyd remove all hydrogen atoms (default: no)
-d, --dry remove all water molecules (default: no)
-p, --prot keep only Amber-compatible residues (default: no)
--noter remove TER, MODEL, ENDMDL cards (default: no)
--constantph rename GLU,ASP,HIS for constant pH simulation
--most-populous keep most populous alt. conf. (default is to keep 'A')
--reduce Run Reduce first to add hydrogens. (default: no)
--model=MODEL Model to use from a multi-model pdb file (integer).
(default: use all models)
2) 使用reduce添加H原子:
reduce WT_noH.pdb > WT_H.pdb
3) 使用pdb4amber对加氢后的pdb文件进行规划化处理:
pdb4amber -i WT_H.pdb -o WT_new.pdb
2.小分子文件准备问题:
非标准残基或者小分子文件,若想被amber读入,则需要对小分子文件进行定义及分配力场参数。
简单来说,需要以下两类文件:
AGI.frcmod
AGI.lib
1.先对小分子文件加氢:
reduce AGI.pdb > AGI_h.pdb
2.加氢完毕转换为mol2格式:
antechamber -i AGI_new.pdb -fi pdb -o AGI.mol2 -fo mol2 -c bcc -s
3.用parmchk检查参数的可用性,产生frcmod力场参数文件:
parmchk -i AGI.mol2 -f mol2 -o AGI.frcmod
4.加载AGI.frcmod和mol2文件到tleap中,产生lib库文件:
$ tleap -f oldff/leaprc.ff99SB
> source leaprc.gaff
> AGI = loadmol2 AGI.mol2
> check AGI
> loadamberparams AGI.frcmod
> saveoff AGI AGI.lib
可以参考另外一篇博客https://www.cnblogs.com/wq242424/p/9157072.html
3. GPU加速及多GPU运行问题:
拥有多GPU card时,使用 export CUDA_VISIBLE_DEVICES 命令指定使用哪张显卡,
1.使用命令前先用 unset CUDA_VISIBLE_DEVICES 命令清空变量;
2.再使用 export CUDA_VISIBLE_DEVICES 命令设置使用哪张或者哪几张显卡;
export CUDA_VISIBLE_DEVICES= 使用0号显卡(pmemd.cuda)
export CUDA_VISIBLE_DEVICES=, 使用0,1两张显卡(mpirun -np 2 pmemd.cuda.MPI)
3.指定显卡后,我们使用pmemd.cuda命令或者mpirun -np 2 pmemd.cuda.MPI命令(指定两张显卡)运行amber。
使用AMBER中遇到的一些问题的更多相关文章
- Amber中的一些option设置及名词
详细请见AMBER官方文档第18章第6节(18.6) Amber16.pdf The settings can be summarized as follows: imin=1 Choose a m ...
- 乙醇脱氢酶力场文件的处理(含ZN,NAD,乙醇)
很多蛋白质在行驶生物催化反应(如ATP水解,氨基酸的乙酰化,CoA的去乙酰化,甲基化等等)都需要金属离子(Mg,Zn,Ca等等)的参与,换句话说,金属离子对蛋白功能是必须的.模拟金属酶体系,现在也是分 ...
- Python开源框架
info:更多Django信息url:https://www.oschina.net/p/djangodetail: Django 是 Python 编程语言驱动的一个开源模型-视图-控制器(MVC) ...
- java项目中可能会使用到的jar包解释
一.Struts2 用的版本是struts2.3.1.1 一个简单的Struts项目所需的jar包有如下8个 1. struts2-core-2.3.1.1.jar: Struts2的核心类库. 2. ...
- AMBER: CPPTRAJ Tutorial C0
CPPTRAJ作为PTRAJ的继任者,拥有比PTRAJ更强大的功能,本教程会简要的介绍CPPTRAJ的用法及注意事项. 需要的文件: trpzip2.gb.nc trpzip2.ff10.mbondi ...
- python中的hasattr()、getattr()、setattr()
hasattr()的用法和理解--hasattr(obj, target) 判断对象obj中是否含有,目标target属性,然后返回布尔值,如果有返回True,没有返回False. >>& ...
- Amber TUTORIAL 4b: Using Antechamber to Create LEaP Input Files for Simulating Sustiva (efavirenz)-RT complex using the General Amber Force Field (GAFF)
sustiva.pdb PDB: 1FKO Create parameter and coordinate files for Sustiva 1. 加氢: $ reduce sustiva.pdb ...
- Amber TUTORIAL B1: Simulating a DNA polyA-polyT Decamer
Section 1: Introduction The input files required (using their default file names): prmtop - a file c ...
- Amber TUTORIAL B5: Simulating the Green Fluorescent Protein
Section 1: Preparing the PDB file 1EMA是本次教程所用的pdb,可以在PDB数据库下载. pdb4amber -i 1EMA.pdb -o gfp.pdb --dr ...
随机推荐
- [C++]“error C2712: 无法在要求对象展开的函数中使用__try”解决方案
https://blog.csdn.net/shiqw5696/article/details/80664749 前段时间写了一篇关于C++异常捕获及异常处理的文章:c++异常捕获及异常处理try-t ...
- 在Java路上,我看过的一些书、源码和框架(转)
原文地址:http://www.jianshu.com/p/4a41ee88bd82 物有本末,事有终始,知所先后,则近道矣 面试经历 关于Java面试,你应该准备这些知识点关于Java面试,你应该准 ...
- SQLSERVER数据库调优
1.锁表查询 --查看锁住的表 select request_session_id spid,OBJECT_NAME(resource_associated_entity_id) tableName ...
- hdoj:2053
#include <iostream> #include <string> #include <vector> using namespace std; /* 无穷 ...
- Spring+SpringMVC重复加载配置文件问题
sping+springmvc的框架中,IOC容器的加载过程 http://my.oschina.net/xianggao/blog/596476 基本上是先加载ContextLoaderListen ...
- [踩坑日记]spring mvc
目录 找不到javax.servlet.ServletException的类文件 idea 清除tomcat缓存 IOException parsing XML document from Servl ...
- 安装Conda并在Conda下安装jupyter notebook
1:安装 conda install jupyter notebook 2:启动 jupyter notebook
- Internet Explorer 已限制此网页运行脚本或ActiveX控件。 允许阻止的内容(A)
打开“Internet选项”->"高级",勾选"允许活动内容在“我的电脑”的文件中运行".重启IE
- 【Py-Github】根据条件筛选Github repo的例子
条件: language:python commits:>100 contributors:>2 stars:>5 fork:0 实现: from github import Git ...
- 【Zookeeper系列】ZooKeeper伸缩性(转)
原文地址:https://www.cnblogs.com/sunddenly/p/4143306.html 一.ZooKeeper中Observer 1.1 ZooKeeper角色 经过前面的介绍,我 ...