|
老师您好,想问一下在使用pdb4amber重新标号时出现以下报错:
==================================================
Summary of pdb4amber for: 1mlw_H.pdb
===================================================
Traceback (most recent call last):
File "/opt/anaconda3/envs/AmberTools23/bin/pdb4amber", line 33, in <module>
sys.exit(load_entry_point('pdb4amber==22.0', 'console_scripts', 'pdb4amber')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/envs/AmberTools23/lib/python3.12/site-packages/pdb4amber/pdb4amber.py", line 819, in main
run(
File "/opt/anaconda3/envs/AmberTools23/lib/python3.12/site-packages/pdb4amber/pdb4amber.py", line 516, in run
parm = parmed.read_PDB(pdbin)
^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/envs/AmberTools23/lib/python3.12/site-packages/parmed/formats/pdb.py", line 447, in parse
inst.struct.assign_bonds()
File "/opt/anaconda3/envs/AmberTools23/lib/python3.12/site-packages/parmed/structure.py", line 886, in assign_bonds
templ = _res_in_templlib(res, all_residues)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/envs/AmberTools23/lib/python3.12/site-packages/parmed/structure.py", line 4302, in _res_in_templlib
if residue.DNAResidue.has(res.name):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/envs/AmberTools23/lib/python3.12/site-packages/parmed/residue.py", line 51, in has
cls.get(thing)
File "/opt/anaconda3/envs/AmberTools23/lib/python3.12/site-packages/parmed/residue.py", line 216, in get
if key[-1] in '35':
~~~^^^^
IndexError: string index out of range
想问一下老师这个报错是怎么回事呢,需要怎样解决?
不甚感激!! |
|