Open pallavsen007 opened 1 year ago
I started with the mol2 files and created SMILES of all the molecules as shown in the tutorial, but again I am facing an issue with another thing,
python ~/Softwares/packages/PyAutoFEP/prepare_dual_topology.py --config_file=step2_rest2.ini --poses_input=lig_data/*.mol2
=============== mdp and run steps=================
Complex Water
min01.mdp min01.mdp
min02.mdp min02.mdp
min03.mdp nve.mdp
nve.mdp nvt.mdp
nvt.mdp npt.mdp
npt.mdp md.mdp
md.mdp -
==================================================
[20:31:59] sanitise [20:31:59] MOL:
=================== STACK INFO ===================
File "/home/pallav/Softwares/packages/PyAutoFEP/prepare_dual_topology.py", line 3989, in <module>
ligands_dict = parse_ligands_data(arguments.input_ligands, parameterize=input_parameterize,
File "/home/pallav/Softwares/packages/PyAutoFEP/os_util.py", line 558, in wrap_trace
return f(*args, **kwargs)
File "/home/pallav/Softwares/packages/PyAutoFEP/prepare_dual_topology.py", line 1452, in parse_ligands_data
os_util.local_print('Failed to read molecule {} as a {} file. Please, check your input.'
File "/home/pallav/Softwares/packages/PyAutoFEP/os_util.py", line 313, in local_print
formatted_string = '\n{:=^50}\n{}{:=^50}\n'.format(' STACK INFO ', ''.join(traceback.format_stack()),
=================== STACK INFO ===================
[ERROR] Failed to read molecule lig_data/UFP3.mol2 as a .mol2 file. Please, check your input.
It would be kind of you if you could shed some light regarding this
Failed to read molecule lig_data/UFP3.mol2 as a .mol2 file. Please, check your input.
Try to use mol file instead of mol2
python ~/Softwares/packages/PyAutoFEP/prepare_dual_topology.py --config_file=step2_rest2.ini --pose_loader='pdb' --poses_input='lig_data/*.mol'
=============== mdp and run steps=================
Complex Water
min01.mdp min01.mdp
min02.mdp min02.mdp
min03.mdp nve.mdp
nve.mdp nvt.mdp
nvt.mdp npt.mdp
npt.mdp md.mdp
md.mdp -
==================================================
=================== STACK INFO ===================
File "/home/pallav/Softwares/packages/PyAutoFEP/prepare_dual_topology.py", line 3989, in <module>
ligands_dict = parse_ligands_data(arguments.input_ligands, parameterize=input_parameterize,
File "/home/pallav/Softwares/packages/PyAutoFEP/os_util.py", line 558, in wrap_trace
return f(*args, **kwargs)
File "/home/pallav/Softwares/packages/PyAutoFEP/prepare_dual_topology.py", line 1452, in parse_ligands_data
os_util.local_print('Failed to read molecule {} as a {} file. Please, check your input.'
File "/home/pallav/Softwares/packages/PyAutoFEP/os_util.py", line 313, in local_print
formatted_string = '\n{:=^50}\n{}{:=^50}\n'.format(' STACK INFO ', ''.join(traceback.format_stack()),
=================== STACK INFO ===================
[ERROR] Failed to read molecule lig_data/UFP3.pdb as a .pdb file. Please, check your input.
okay, this gets resolved using pose_loader=generic. But I could not understand the options as such
Traceback (most recent call last):
File "/home/pallav/Softwares/packages/PyAutoFEP/prepare_dual_topology.py", line 4346, in <module>
merged_data = merge_topologies.merge_topologies(ligands_dict[state_a_name]['molecule'],
File "/home/pallav/Softwares/packages/PyAutoFEP/merge_topologies.py", line 1011, in merge_topologies
topology1.atomtype_dict[each_atom.atom_type], mol_region='const',
KeyError: 'PG2'
Does it not recognize the CGenFF atomtype naming or do I need to change the naming
Thank you very much for the message and your interest in PyAutoFEP. Sorry it took me some days to reply.
pose_loader=pdb
is supposed to be used when loading poses from multiple protein-ligand files. See section 3.2.1 in the manual for more info.Hi, Luan what to use if I am using a single protein ligand file.
This info is unfortunately cannot be read/regarded as a standard mol2 flow by some tools, including PyAutoFEP.
ok, thanks a lot. Would try the same.
Can you help me in understanding in what is the issue? Is it with the mol file i generated using Obabel?