使用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 ...
随机推荐
- mybatis查询结果和接收的不一样
记一次大坑:mybatis查询结果和接收的不一样,折腾我好几个小时. 先上代码:代码是要查询排名,sql执行的结果 SELECT b.operator_id, b.class_count, b.cla ...
- ios vue2.0使用html5中的audio标签不能播放音乐
我写了一个M端播放音乐的组件,使用html5的audio标签 然后我使用watch监测currentSong 在浏览器中看到audio渲染的如下: 单独访问渲染出来的audio中url可以播放音乐,为 ...
- [转]Go语言中的make和new
前言 本文主要给大家介绍了Go语言中函数new与make的使用和区别,关于Go语言中new和make是内建的两个函数,主要用来创建分配类型内存.在我们定义生成变量的时候,可能会觉得有点迷惑,其实他们的 ...
- How to secure the ASP.NET_SessionId cookie? 设置ASP.NET_SessionId Secure=true
How to secure the ASP.NET_SessionId cookie? To add the ; secure suffix to the Set-Cookie http header ...
- jsp中相对路劲
.代表当前目录 ..代表上一层目录 例如:如下文件,aliCashier.html要引入images下的图片,应该写成../../static/images/logo.png,此处会找到本地静态路径. ...
- MySQL命令学习
上面两篇博客讲了MySQL的安装.登录,密码重置,为接下来的MySQL命令学习做好了准备,现在开启MySQL命令学习之旅吧. 首先打开CMD,输入命令:mysql -u root -p 登录MySQ ...
- 【Zookeeper系列】Zookeeper简单介绍(转)
原文链接:https://www.cnblogs.com/sunddenly/p/4033574.html 一.分布式协调技术 在给大家介绍ZooKeeper之前先来给大家介绍一种技术——分布式协调技 ...
- [原]openstack-kilo--issue(二十三)虚拟机状态错误power_status为shutdonw或者vm_status为error
问题点:虚拟机由于存储不足出现了错误标识 主要显示为状态错误: 1) vm_status 显示为 error 2) power_status 显示为 shutdown 解决方案: 更改表 nova. ...
- PHP函数之dirname()
1. 定义和用法 dirname()函数返回路径中的目录部分.即返回去掉文件名后的目录名. 2. 参数 dirname(path): 参数 path是一个包含有指向一个文件的全路径的字符串. 3. 举 ...
- ajax里的status和readystate
先看ajax封装函数 function ajaxFunc(method,url,data,callback) { var xhr; if (XMLHttpRequest) { xhr = new XM ...