acpype出现Errno 2的解决方法

标签:
分子动力学 |
分类: 分子模拟 |
使用acpype对UCSF
Chimera处理后结构进行计算,有时会出现Errno2,利用acpype -di
***.mol2
可以得到更详细的报错信息,如下:
=================================================================================================
| ACPYPE: AnteChamber PYthon Parser interfacE v. 2017-01-17 22:13:52Z Rev: 10101 (c) 2017 AWSdS |
=================================================================================================
DEBUG: Python Version 2.7.6
DEBUG: Max execution time tolerance is 10h
WARNING: no 'babel' executable, no PDB file as input can be used!
DEBUG: /home/wu3857/Softwares/amber16/bin/antechamber -i UNN.mol2 -fi mol2 -o tmp -fo ac -pf y
DEBUG:
Welcome to antechamber 17.3: molecular input file processor.
acdoctor mode is on: check and diagnosis problems in the input file.
-- Check Format for mol2 File --
-- Check Unusual Elements --
-- Check Open Valences --
-- Check Geometry --
-- Check Weird Bonds --
/home/wu3857/Softwares/amber16/bin/to_be_dispatched/antechamber: Fatal Error!
Weird atomic valence (5) for atom (ID: 17, Name: C12).
ACPYPE FAILED: [Errno 2] No such file or directory: 'tmp'
Total time of execution: less than a second
可以注意到具体问题出现在红字部分,无法对所输入文件的第17号原子的电价进行平衡,回到mol2文件中查看
@MOLECULE
CID_3pe3_1.pdb
58 63 1 0 0
LARGE
AMBER ff99SB
@ATOM
……
@BOND
……
该结构如下图,17号C为红圈中。
http://s12/bmiddle/001ZFeMBzy7h7y88b9Ncb&6902的解决方法" />
不论如何C所能形成的化学键上限为4。在mol2文件对各原子的化学键进行了详细定义:首列为bond序号,其
次是2个原子序号,最后是bond的类型,即1、2、3键及苯环等不同的键类型。
http://s2/bmiddle/001ZFeMBzy7h7y50JdT61&690
回到上面的mol2文件中,会发现17号原子所成键数量为2+1+2=5,明显与最基本的化学性质相悖,且该位置
并没有携带额外的电荷,因此出现Weird atomic valence (5) for atom (ID: 17, Name: C12)这样的报错。
按照具体的成键情况将错误的键修改后再运行,可以成功。
=================================================================================================
| ACPYPE: AnteChamber PYthon Parser interfacE v. 2017-01-17 22:13:52Z Rev: 10101 (c) 2017 AWSdS |
=================================================================================================
DEBUG: Python Version 2.7.6
DEBUG: Max execution time tolerance is 10h
WARNING: no 'babel' executable, no PDB file as input can be used!
DEBUG: /home/wu3857/Softwares/amber16/bin/antechamber -i UNN.mol2 -fi mol2 -o tmp -fo ac -pf y
DEBUG:
Welcome to antechamber 17.3: molecular input file processor.
acdoctor mode is on: check and diagnosis problems in the input file.
-- Check Format for mol2 File --
-- Check Unusual Elements --
-- Check Open Valences --
-- Check Geometry --
-- Check Weird Bonds --
-- Check Number of Units --
acdoctor mode has completed checking the input file.
DEBUG: setResNameCheckCoords done
==> Reading user's charges from mol2 file...
==> Debugging...
DEBUG: /home/wu3857/Softwares/amber16/bin/antechamber -i UNN.mol2 -fi mol2 -o tmp -fo mol2 -c wc -cf tmp.crg -pf n
++++++++++start_quote+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Welcome to antechamber 17.3: molecular input file processor.
acdoctor mode is on: check and diagnosis problems in the input file.
-- Check Format for mol2 File --
-- Check Unusual Elements --
-- Check Open Valences --
-- Check Geometry --
-- Check Weird Bonds --
-- Check Number of Units --
acdoctor mode has completed checking the input file.
++++++++++end_quote+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
DEBUG: readMol2TotalCharge: 0.001
DEBUG: Net charge drift '0.001000'
==> ... charge set to 0
==> Executing Antechamber...
==> Debugging...
DEBUG:
/home/wu3857/Softwares/amber16/bin/antechamber -i UNN.mol2 -fi mol2
-o UNN_user_gaff.mol2 -fo mol2
==> * Antechamber OK *
DEBUG: /home/wu3857/Softwares/amber16/bin/parmchk2 -i UNN_user_gaff.mol2 -f mol2 -o UNN_AC.frcmod
==> * Parmchk OK *
==> Executing Tleap...
DEBUG: /home/wu3857/Softwares/amber16/bin/tleap -f tleap.in
++++++++++start_quote+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Checking 'UNN'....
Checking parameters for unit 'UNN'.
Checking for bond parameters.
Checking for angle parameters.
Unit is OK.
++++++++++end_quote+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
==> * Tleap OK *
DEBUG: prmtop and inpcrd files loaded
DEBUG: basename defined = 'UNN'
DEBUG: getCoords done
DEBUG: getABCOEFs done
DEBUG: charge
to be balanced: total
DEBUG: balanceCharges done
DEBUG: Balanced TotalCharge -0.0000000000
DEBUG: PBC = None
DEBUG: getAtoms done
DEBUG: getBonds done
DEBUG: getAngles done
DEBUG: getDihedrals done
==> Writing NEW PDB file
==> Writing CNS/XPLOR files
DEBUG: No 'obchiral' to process chiral atoms. Consider installing http://openbabel.org
==> Writing GROMACS files
DEBUG: writing GRO file
DEBUG: Box size estimated
DEBUG: atomTypes 9
DEBUG: GMX atomtypes done
DEBUG: atoms 58
DEBUG: GMX atoms done
DEBUG: bonds 63
DEBUG: GMX bonds done
DEBUG: atomPairs 134
DEBUG: GMX pairs done
DEBUG: angles 98
DEBUG: GMX angles done
DEBUG: setProperDihedralsCoef done
DEBUG: properDihedralsCoefRB 152
DEBUG:
properDihedralsAlphaGamm
DEBUG: properDihedralsGmx45 152
==> Writing GMX dihedrals for GMX 4.5 and higher.
DEBUG: GMX special proper dihedrals done
DEBUG: improperDihedrals 30
DEBUG: GMX improper dihedrals done
==> Writing CHARMM files
DEBUG:
/home/wu3857/Softwares/amber16/bin/antechamber -i
UNN_user_gaff.mol2 -fi mol2 -o UNN_CHARMM -fo charmm -s 2 -at gaff
==> Writing pickle file UNN.pkl
Total time of execution: 1s